diff options
author | araujo <araujo@FreeBSD.org> | 2016-02-24 02:34:11 +0000 |
---|---|---|
committer | araujo <araujo@FreeBSD.org> | 2016-02-24 02:34:11 +0000 |
commit | b357db3ca617d62e83fa0db20ccacbcd001761a6 (patch) | |
tree | 18f1f7870fb6232c7f6d464a41ed80aa2ab80889 /sys/compat | |
parent | 63b2f3db69ed14038164268fb5c942d5f7a3d8b4 (diff) | |
download | FreeBSD-src-b357db3ca617d62e83fa0db20ccacbcd001761a6.zip FreeBSD-src-b357db3ca617d62e83fa0db20ccacbcd001761a6.tar.gz |
MFH: 285685
Add support to the jail framework to be able to mount linsysfs(5) and linprocfs(5).
PR: 207179
Requested by: thomas@gibfest.dk
Reviewed by: jamie, bapt
Approved by: re (gjb)
Sponsored by: gandi.net
Differential Revision: https://reviews.freebsd.org/D5390
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/linprocfs/linprocfs.c | 2 | ||||
-rw-r--r-- | sys/compat/linsysfs/linsysfs.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linprocfs/linprocfs.c b/sys/compat/linprocfs/linprocfs.c index 6e591e9..9142c93 100644 --- a/sys/compat/linprocfs/linprocfs.c +++ b/sys/compat/linprocfs/linprocfs.c @@ -1514,7 +1514,7 @@ linprocfs_uninit(PFS_INIT_ARGS) return (0); } -PSEUDOFS(linprocfs, 1, 0); +PSEUDOFS(linprocfs, 1, PR_ALLOW_MOUNT_LINPROCFS); #if defined(__amd64__) MODULE_DEPEND(linprocfs, linux_common, 1, 1, 1); #else diff --git a/sys/compat/linsysfs/linsysfs.c b/sys/compat/linsysfs/linsysfs.c index 8b5f9b5..4f57526 100644 --- a/sys/compat/linsysfs/linsysfs.c +++ b/sys/compat/linsysfs/linsysfs.c @@ -274,7 +274,7 @@ linsysfs_uninit(PFS_INIT_ARGS) return (0); } -PSEUDOFS(linsysfs, 1, 0); +PSEUDOFS(linsysfs, 1, PR_ALLOW_MOUNT_LINSYSFS); #if defined(__amd64__) MODULE_DEPEND(linsysfs, linux_common, 1, 1, 1); #else |