From 646731011dd43fa3f135f7f170ac12be30c2bd3f Mon Sep 17 00:00:00 2001 From: millert <> Date: Mon, 17 Aug 1998 16:43:47 +0000 Subject: [PATCH] don't include FIFOs in check for set[ug]id files and devices; andrew@nfr.net --- src/etc/security | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/etc/security b/src/etc/security index adea3cd8..1ed14dde 100644 --- a/src/etc/security +++ b/src/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