Browse Source

Remove fdescfs

OPENBSD_3_9
pedro 19 years ago
parent
commit
032da4d8b3
3 changed files with 6 additions and 6 deletions
  1. +2
    -2
      src/etc/MAKEDEV.common
  2. +2
    -2
      src/etc/daily
  3. +2
    -2
      src/etc/security

+ 2
- 2
src/etc/MAKEDEV.common View File

@ -1,4 +1,4 @@
vers(a, {-$OpenBSD: MAKEDEV.common,v 1.21 2005/10/06 06:43:19 otto Exp $-})dnl
vers(a, {-$OpenBSD: MAKEDEV.common,v 1.22 2005/12/06 20:18:56 pedro Exp $-})dnl
divert(1)dnl
dnl
dnl Common device definitions.
@ -466,7 +466,7 @@ _mkdev(music, music*, {-M music$U c major_music_c $U
__devitem(radio, radio*, FM tuner devices)dnl
_mkdev(radio, radio*, {-M radio$U c major_radio_c $U
MKlist[${#MKlist[*]}]=";[ -e radio ] || ln -s radio$U radio"-})dnl
__devitem(fdesc, fd, fd/* nodes for fdescfs,mount_fdesc 8)dnl
__devitem(fdesc, fd, fd/* nodes for the file descriptor pseudo-device)dnl
_mkdev(fdesc, fd, {-RMlist[${#RMlist[*]}]=";mkdir -p fd;rm -f" n=0
while [ $n -lt 64 ];do M fd/$n c major_fdesc_c $n;n=Add($n, 1);done
MKlist[${#MKlist[*]}]=";chmod 555 fd"-})dnl


+ 2
- 2
src/etc/daily View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: daily,v 1.52 2005/11/24 12:08:15 pedro Exp $
# $OpenBSD: daily,v 1.53 2005/12/06 20:18:56 pedro Exp $
# From: @(#)daily 8.2 (Berkeley) 1/25/94
#
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
@ -56,7 +56,7 @@ if [ -d /var/rwho -a ! -L /var/rwho ] ; then
find . ! -name . -mtime +7 -execdir rm -f -- {} \; ; }
fi
#find / \( ! -fstype local -o -fstype rdonly -o -fstype fdesc \
#find / \( ! -fstype local -o -fstype rdonly \
# -o -fstype procfs \) -a -prune -o \
# -name 'lost+found' -a -prune -o \
# -name '*.core' -a -print -o \


+ 2
- 2
src/etc/security View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: security,v 1.73 2005/11/24 12:08:15 pedro Exp $
# $OpenBSD: security,v 1.74 2005/12/06 20:18:56 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 \
(find / \( ! -fstype local \
-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