From d2ed503aa1240961c23b1ca9adfc5162e36fe5d2 Mon Sep 17 00:00:00 2001 From: pedro <> Date: Thu, 24 Nov 2005 12:08:15 +0000 Subject: [PATCH] Remove kernfs, okay deraadt@. --- src/etc/daily | 4 ++-- src/etc/security | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/etc/daily b/src/etc/daily index 07a6d5a5..cb650fca 100644 --- a/src/etc/daily +++ b/src/etc/daily @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: daily,v 1.51 2005/09/29 00:31:08 deraadt Exp $ +# $OpenBSD: daily,v 1.52 2005/11/24 12:08:15 pedro Exp $ # From: @(#)daily 8.2 (Berkeley) 1/25/94 # PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin @@ -57,7 +57,7 @@ if [ -d /var/rwho -a ! -L /var/rwho ] ; then fi #find / \( ! -fstype local -o -fstype rdonly -o -fstype fdesc \ -# -o -fstype kernfs -o -fstype procfs \) -a -prune -o \ +# -o -fstype procfs \) -a -prune -o \ # -name 'lost+found' -a -prune -o \ # -name '*.core' -a -print -o \ # \( -name '[#,]*' -o -name '.#*' -o -name a.out \ diff --git a/src/etc/security b/src/etc/security index a69227cc..8d4471b0 100644 --- a/src/etc/security +++ b/src/etc/security @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: security,v 1.72 2005/11/11 18:15:07 deraadt Exp $ +# $OpenBSD: security,v 1.73 2005/11/24 12:08:15 pedro Exp $ # from: @(#)security 8.1 (Berkeley) 6/9/93 # @@ -457,7 +457,7 @@ fi # Display any changes in setuid/setgid files and devices. pending="\nChecking setuid/setgid files and devices:\n" -(find / \( ! -fstype local -o -fstype fdesc -o -fstype kernfs \ +(find / \( ! -fstype local -o -fstype fdesc \ -o -fstype procfs -o -fstype afs -o -fstype xfs \) -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 -a ! -type p \