diff options
author | mckusick <mckusick@FreeBSD.org> | 2011-07-24 17:43:09 +0000 |
---|---|---|
committer | mckusick <mckusick@FreeBSD.org> | 2011-07-24 17:43:09 +0000 |
commit | 64e0ba1afe60a4c7d7a1960154875516b560d46c (patch) | |
tree | 34165b8fac799217592f1def1e7cfddc8f80f2e7 /sys/kern/kern_jail.c | |
parent | 8a4b781ce664ac2b8b5a9c0bc13114cf02c6499b (diff) | |
download | FreeBSD-src-64e0ba1afe60a4c7d7a1960154875516b560d46c.zip FreeBSD-src-64e0ba1afe60a4c7d7a1960154875516b560d46c.tar.gz |
This update changes the mnt_flag field in the mount structure from
32 bits to 64 bits and eliminates the unused mnt_xflag field. The
existing mnt_flag field is completely out of bits, so this update
gives us room to expand. Note that the f_flags field in the statfs
structure is already 64 bits, so the expanded mnt_flag field can
be exported without having to make any changes in the statfs structure.
Approved by: re (bz)
Diffstat (limited to 'sys/kern/kern_jail.c')
-rw-r--r-- | sys/kern/kern_jail.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_jail.c b/sys/kern/kern_jail.c index 358d673..584334a 100644 --- a/sys/kern/kern_jail.c +++ b/sys/kern/kern_jail.c @@ -540,8 +540,8 @@ kern_jail_set(struct thread *td, struct uio *optuio, int flags) #ifdef INET6 int ip6s, redo_ip6; #endif - unsigned pr_flags, ch_flags; - unsigned pr_allow, ch_allow, tallow; + uint64_t pr_allow, ch_allow, pr_flags, ch_flags; + unsigned tallow; char numbuf[12]; error = priv_check(td, PRIV_JAIL_SET); |