1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-11 09:50:12 +00:00

Mark scripts as not usable inside a jail by adding keyword 'nojail'.

Some suggestions from:	rwatson, Ruben de Groot <mail25@bzerk.org>
This commit is contained in:
Pawel Jakub Dawidek 2004-03-08 12:25:05 +00:00
parent 01b373bed7
commit bd57d5b0f5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=126744
84 changed files with 84 additions and 84 deletions

View File

@ -6,7 +6,7 @@
# PROVIDE: abi
# REQUIRE: LOGIN
# BEFORE: securelevel
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -7,7 +7,7 @@
# PROVIDE: accounting
# REQUIRE: mountcritremote
# BEFORE: DAEMON
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -8,7 +8,7 @@
# PROVIDE: addswap
# REQUIRE: mountcritlocal
# BEFORE: sysctl
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -6,7 +6,7 @@
# PROVIDE: adjkerntz
# REQUIRE: diskless mountcritlocal random
# BEFORE: netif
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -7,7 +7,7 @@
# PROVIDE: amd
# REQUIRE: rpcbind ypbind nfsclient
# BEFORE: DAEMON
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -6,7 +6,7 @@
# PROVIDE: apm
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -7,7 +7,7 @@
# PROVIDE: apmd
# REQUIRE: DAEMON apm
# BEFORE: LOGIN
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -6,7 +6,7 @@
# PROVIDE: archdep
# REQUIRE: LOGIN
# BEFORE: abi
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -30,7 +30,7 @@
# PROVIDE: atm1
# REQUIRE: root
# BEFORE: netif
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -30,7 +30,7 @@
# PROVIDE: atm2
# REQUIRE: atm1 netif
# BEFORE: routing
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
#
# Additional ATM interface configuration

View File

@ -32,7 +32,7 @@
# PROVIDE: atm3
# REQUIRE: atm2
# BEFORE: DAEMON
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -5,7 +5,7 @@
# PROVIDE: bgfsck
# REQUIRE: cron devfs
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -7,7 +7,7 @@
# PROVIDE: bootparams
# REQUIRE: rpcbind DAEMON
# BEFORE: LOGIN
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -5,7 +5,7 @@
#
# PROVIDE: disks
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -6,7 +6,7 @@
# PROVIDE: devd
# REQUIRE: NETWORKING
# BEFORE: mountcritremote
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -6,7 +6,7 @@
# PROVIDE: devfs
# REQUIRE: LOGIN
# BEFORE: securelevel
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -7,7 +7,7 @@
# PROVIDE: dhclient
# REQUIRE: netif ipfw ipfilter mountcritlocal
# BEFORE: NETWORKING
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
#
# Note that there no syslog logging of dhclient messages at boot because
# dhclient needs to start before services that syslog depends upon do.

View File

@ -30,7 +30,7 @@
# PROVIDE: diskless
# REQUIRE: initdiskless rcconf mountcritlocal
# BEFORE: addswap random
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
dlv=`/sbin/sysctl -n vfs.nfs.diskless_valid 2> /dev/null`
[ ${dlv:=0} -eq 0 ] && exit 0

View File

@ -7,7 +7,7 @@
# PROVIDE: dmesg
# REQUIRE: mountcritremote
# BEFORE: DAEMON
# KEYWORD: FreeBSD Daemon
# KEYWORD: FreeBSD Daemon nojail
. /etc/rc.subr

View File

@ -6,7 +6,7 @@
# PROVIDE: dumpon
# REQUIRE: initrandom
# BEFORE: disks savecore
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -5,7 +5,7 @@
# PROVIDE: disks
# REQUIRE: initrandom
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -6,7 +6,7 @@
# PROVIDE: fsck
# REQUIRE: localswap
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -7,7 +7,7 @@
#
# PROVIDE: disks
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -5,7 +5,7 @@
# PROVIDE: disks
# REQUIRE: initrandom
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -6,7 +6,7 @@
# PROVIDE: ike
# REQUIRE: root beforenetlkm mountcritlocal
# BEFORE: DAEMON
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -27,7 +27,7 @@
# $FreeBSD$
#
# PROVIDE: initdiskless
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
# On entry to this script the entire system consists of a read-only root

View File

@ -6,7 +6,7 @@
# PROVIDE: initrandom
# REQUIRE: initdiskless
# BEFORE: disks
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -6,7 +6,7 @@
# PROVIDE: ip6addrctl
# REQUIRE: mountcritlocal netif
# BEFORE: network_ipv6
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr
. /etc/network.subr

View File

@ -6,7 +6,7 @@
# PROVIDE: ip6fw
# REQUIRE: routing
# BEFORE: network_ipv6
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -7,7 +7,7 @@
# PROVIDE: ipfilter
# REQUIRE: root mountcritlocal ipmon
# BEFORE: netif
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -7,7 +7,7 @@
# PROVIDE: ipfs
# REQUIRE: ipnat
# BEFORE: netif
# KEYWORD: FreeBSD shutdown
# KEYWORD: FreeBSD nojail shutdown
. /etc/rc.subr

View File

@ -6,7 +6,7 @@
# PROVIDE: ipfw
# REQUIRE: ppp-user
# BEFORE: NETWORKING
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr
. /etc/network.subr

View File

@ -7,7 +7,7 @@
# PROVIDE: ipmon
# REQUIRE: mountcritlocal hostname sysctl cleanvar
# BEFORE: SERVERS
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -7,7 +7,7 @@
# PROVIDE: ipnat
# REQUIRE: ipfilter
# BEFORE: DAEMON netif
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -7,7 +7,7 @@
# PROVIDE: ipsec
# REQUIRE: root mountcritlocal
# BEFORE: DAEMON
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
# it does not really require beforenetlkm.

View File

@ -6,7 +6,7 @@
# PROVIDE: ipxrouted
# REQUIRE: SERVERS
# BEFORE: DAEMON
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -8,7 +8,7 @@
# PROVIDE: isdnd
# REQUIRE: netif mountcritlocal
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -6,7 +6,7 @@
# PROVIDE: jail
# REQUIRE: LOGIN
# BEFORE: securelevel
# KEYWORD: FreeBSD shutdown
# KEYWORD: FreeBSD nojail shutdown
. /etc/rc.subr

View File

@ -6,7 +6,7 @@
# PROVIDE: kldxref
# REQUIRE: root mountcritlocal
# BEFORE: netif
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -7,7 +7,7 @@
# PROVIDE: nfslocking
# REQUIRE: nfsserver nfsclient nfsd
# BEFORE: DAEMON
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -6,7 +6,7 @@
# PROVIDE: lomac
# REQUIRE: mountcritremote
# BEFORE: syslogd
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -6,7 +6,7 @@
# PROVIDE: mountcritlocal
# REQUIRE: root
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -6,7 +6,7 @@
# PROVIDE: mountcritremote
# REQUIRE: NETWORKING root mountcritlocal
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -6,7 +6,7 @@
# PROVIDE: mountd
# REQUIRE: NETWORKING nfsserver rpcbind quota
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -6,7 +6,7 @@
# PROVIDE: moused
# REQUIRE: DAEMON
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -5,7 +5,7 @@
# PROVIDE: mroute6d
# REQUIRE: network_ipv6
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -6,7 +6,7 @@
# PROVIDE: mrouted
# REQUIRE: netif routing
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -27,7 +27,7 @@
# PROVIDE: netif
# REQUIRE: atm1 ipfilter mountcritlocal pccard serial sppp sysctl
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr
. /etc/network.subr

View File

@ -6,7 +6,7 @@
# PROVIDE: netoptions
# REQUIRE: localpkg
# BEFORE: securelevel
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -30,7 +30,7 @@
# PROVIDE: network_ipv6
# REQUIRE: routing
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr
. /etc/network.subr

View File

@ -5,7 +5,7 @@
# PROVIDE: nfsclient
# REQUIRE: NETWORKING mountcritremote rpcbind
# KEYWORD: FreeBSD shutdown
# KEYWORD: FreeBSD nojail shutdown
. /etc/rc.subr

View File

@ -6,7 +6,7 @@
# PROVIDE: nfsd
# REQUIRE: mountd
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -7,7 +7,7 @@
# PROVIDE: nfslocking
# REQUIRE: nfsserver nfsclient nfsd
# BEFORE: DAEMON
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -5,7 +5,7 @@
# PROVIDE: nfsserver
# REQUIRE: NETWORKING mountcritremote
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -7,7 +7,7 @@
# PROVIDE: ntpd
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -6,7 +6,7 @@
# PROVIDE: ntpdate
# REQUIRE: NETWORKING syslogd
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -29,7 +29,7 @@
# PROVIDE: pccard
# REQUIRE: mountcritlocal
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -29,7 +29,7 @@
# PROVIDE: pcvt
# REQUIRE: LOGIN
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -9,7 +9,7 @@
#
# PROVIDE: power_profile
# KEYWORD: FreeBSD nostart
# KEYWORD: FreeBSD nojail nostart
. /etc/rc.subr

View File

@ -5,7 +5,7 @@
# PROVIDE: ppp-user
# REQUIRE: netif isdnd
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -5,7 +5,7 @@
# PROVIDE: ppp-user
# REQUIRE: netif isdnd
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -6,7 +6,7 @@
# PROVIDE: pppoed
# REQUIRE: NETWORKING
# BEFORE: DAEMON
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -9,7 +9,7 @@
# PROVIDE: quota
# REQUIRE: mountcritremote
# BEFORE: DAEMON
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -6,7 +6,7 @@
# PROVIDE: random
# REQUIRE: diskless mountcritlocal initrandom
# BEFORE: netif
# KEYWORD: FreeBSD shutdown
# KEYWORD: FreeBSD nojail shutdown
. /etc/rc.subr

View File

@ -7,7 +7,7 @@
# PROVIDE: rarpd
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -30,7 +30,7 @@
# PROVIDE: diskless
# REQUIRE: initdiskless rcconf mountcritlocal
# BEFORE: addswap random
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
dlv=`/sbin/sysctl -n vfs.nfs.diskless_valid 2> /dev/null`
[ ${dlv:=0} -eq 0 ] && exit 0

View File

@ -6,7 +6,7 @@
# PROVIDE: root
# REQUIRE: fsck
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -6,7 +6,7 @@
# PROVIDE: route6d
# REQUIRE: network_ipv6
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -6,7 +6,7 @@
# PROVIDE: routed
# REQUIRE: netif routing
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -7,7 +7,7 @@
# PROVIDE: routing
# REQUIRE: netif ppp-user
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -7,7 +7,7 @@
# PROVIDE: rtadvd
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -7,7 +7,7 @@
# PROVIDE: savecore
# REQUIRE: syslogd
# BEFORE: SERVERS
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -29,7 +29,7 @@
# PROVIDE: serial
# REQUIRE: root
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
# Change some defaults for serial devices.
# Standard defaults are:

View File

@ -6,7 +6,7 @@
# PROVIDE: sppp
# REQUIRE: root
# BEFORE: netif
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -7,7 +7,7 @@
# PROVIDE: nfslocking
# REQUIRE: nfsserver nfsclient nfsd
# BEFORE: DAEMON
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -6,7 +6,7 @@
# PROVIDE: localswap
# REQUIRE: disks
# KEYWORD: FreeBSD shutdown
# KEYWORD: FreeBSD nojail shutdown
. /etc/rc.subr

View File

@ -29,7 +29,7 @@
# PROVIDE: syscons
# REQUIRE: LOGIN usbd
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -7,7 +7,7 @@
# PROVIDE: timed
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -30,7 +30,7 @@
# PROVIDE: diskless
# REQUIRE: initdiskless rcconf mountcritlocal
# BEFORE: addswap random
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
dlv=`/sbin/sysctl -n vfs.nfs.diskless_valid 2> /dev/null`
[ ${dlv:=0} -eq 0 ] && exit 0

View File

@ -6,7 +6,7 @@
# PROVIDE: usbd
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -30,7 +30,7 @@
# PROVIDE: diskless
# REQUIRE: initdiskless rcconf mountcritlocal
# BEFORE: addswap random
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
dlv=`/sbin/sysctl -n vfs.nfs.diskless_valid 2> /dev/null`
[ ${dlv:=0} -eq 0 ] && exit 0

View File

@ -4,7 +4,7 @@
#
# PROVIDE: disks
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -29,7 +29,7 @@
# PROVIDE: watchdogd
# REQUIRE: DAEMON
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
. /etc/rc.subr

View File

@ -27,7 +27,7 @@
# $FreeBSD$
#
# PROVIDE: initdiskless
# KEYWORD: FreeBSD
# KEYWORD: FreeBSD nojail
# On entry to this script the entire system consists of a read-only root