Deleted Added
full compact
40c40
< * $FreeBSD: head/sys/kern/kern_mib.c 57111 2000-02-10 05:32:03Z rwatson $
---
> * $FreeBSD: head/sys/kern/kern_mib.c 57119 2000-02-10 18:51:58Z rwatson $
148,151c148,151
< static int jailcansethostname=1;
< SYSCTL_INT(_kern, KERN_JAILCANSETHOSTNAME, jailcansethostname,
< CTLFLAG_RW, &jailcansethostname, 0,
< "Jail can set its hostname");
---
> static int prison_set_hostname_allowed = 1;
> SYSCTL_INT(_kern_prison, OID_AUTO, set_hostname_allowed, CTLFLAG_RW,
> &prison_set_hostname_allowed, 0,
> "Processes in prison can set their hostnames");
161c161
< if (!jailcansethostname)
---
> if (!prison_set_hostname_allowed)