summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_eventhandler.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2000-02-10 05:32:03 +0000
committerrwatson <rwatson@FreeBSD.org>2000-02-10 05:32:03 +0000
commitf2722ad13879d5b79d762d3fb26ac2555f2896cc (patch)
tree838ecf952a16d90ed0ac06b11ec7a2c129103028 /sys/kern/subr_eventhandler.c
parentb4155d9e95a7f57e00a04dadc0a41fa2152d05f4 (diff)
downloadFreeBSD-src-f2722ad13879d5b79d762d3fb26ac2555f2896cc.zip
FreeBSD-src-f2722ad13879d5b79d762d3fb26ac2555f2896cc.tar.gz
Introduce a new sysctl, kern.jailcansethostname, which determines whether
or not a process in a jail, with privilege, may set the jail's hostname. Defaults to 1, which permits this. May be set to 0 by a process with appropriate privilege outside of jail. Preventing hostname renaming from within a jail is currently required to make jails manageable, as they a currently identifiable only by hostname using /proc, which may be modified without this sysctl being set to 0. This will be documented in upcoming man commits. Authorized by: jkh, the ever-patient
Diffstat (limited to 'sys/kern/subr_eventhandler.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud