diff options
author | 1998-08-17 16:43:47 +0000 | |
---|---|---|
committer | 1998-08-17 16:43:47 +0000 | |
commit | cfeac1d1731114b0352f5318ee49f5938581479f (patch) | |
tree | dc76d860800c155252adaabfc6fcd8de163637ff | |
parent | As prommised, mail.local is no longer setuid. (diff) | |
download | wireguard-openbsd-cfeac1d1731114b0352f5318ee49f5938581479f.tar.xz wireguard-openbsd-cfeac1d1731114b0352f5318ee49f5938581479f.zip |
don't include FIFOs in check for set[ug]id files and devices; andrew@nfr.net
-rw-r--r-- | etc/security | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/security b/etc/security index adea3cd8d07..1ed14ddee3e 100644 --- a/etc/security +++ b/etc/security @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: security,v 1.29 1998/07/11 05:01:11 marc Exp $ +# $OpenBSD: security,v 1.30 1998/08/17 16:43:47 millert Exp $ # from: @(#)security 8.1 (Berkeley) 6/9/93 # @@ -459,8 +459,8 @@ pending="\nChecking setuid/setgid files and devices:\n" (find / \( ! -fstype local -o -fstype fdesc -o -fstype kernfs \ -o -fstype procfs \) -a -prune -o \ -type f -a \( -perm -u+s -o -perm -g+s \) -print0 -o \ - ! -type d -a ! -type f -a ! -type l -a ! -type s -print0 | \ -xargs -0 ls -ldgT | sort +9 > $LIST) 2> $OUTPUT + ! -type d -a ! -type f -a ! -type l -a ! -type s -a ! -type p \ + -print0 | xargs -0 ls -ldgT | sort +9 > $LIST) 2> $OUTPUT # Display any errors that occurred during system file walk. if [ -s $OUTPUT ] ; then |