Browse Source

Remove kernfs, okay deraadt@.

OPENBSD_3_9
pedro 18 years ago
parent
commit
d2ed503aa1
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      src/etc/daily
  2. +2
    -2
      src/etc/security

+ 2
- 2
src/etc/daily View File

@ -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 \


+ 2
- 2
src/etc/security View File

@ -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 \


Loading…
Cancel
Save