Sat, 15 Aug 2009 15:29:33 +0200
Include tmpfs filesystems
security.d/chk_setid | file | annotate | diff | comparison | revisions |
--- a/security.d/chk_setid Sat Aug 15 14:44:37 2009 +0200 +++ b/security.d/chk_setid Sat Aug 15 15:29:33 2009 +0200 @@ -1,9 +1,7 @@ #!/bin/bash # -# $Id$ -# ############################################################################# -# Copyright (C) 2005-2007 +# Copyright (C) 2005-2009 # # Michiel Broek <mbse@mbse.eu> # Beekmansbos 10 @@ -50,7 +48,7 @@ TMP1=$SECUREDIR/tmp1 TMP2=$SECUREDIR/tmp2 TMP3=$SECUREDIR/tmp3 -FSS=`egrep ^\/dev\/ /etc/mtab | awk '{ print $2 }'` +FSS=$( egrep "^\/dev\/| tmpfs" /etc/mtab | awk '{ print $2 }' ) if [ ! -f $CURR ]; then