Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153921571
D11451.id30597.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D11451.id30597.diff
View Options
Index: head/sys/sys/jail.h
===================================================================
--- head/sys/sys/jail.h
+++ head/sys/sys/jail.h
@@ -215,23 +215,24 @@
/* by this jail or an ancestor */
/* Flags for pr_allow */
-#define PR_ALLOW_SET_HOSTNAME 0x0001
-#define PR_ALLOW_SYSVIPC 0x0002
-#define PR_ALLOW_RAW_SOCKETS 0x0004
-#define PR_ALLOW_CHFLAGS 0x0008
-#define PR_ALLOW_MOUNT 0x0010
-#define PR_ALLOW_QUOTAS 0x0020
-#define PR_ALLOW_SOCKET_AF 0x0040
-#define PR_ALLOW_MOUNT_DEVFS 0x0080
-#define PR_ALLOW_MOUNT_NULLFS 0x0100
-#define PR_ALLOW_MOUNT_ZFS 0x0200
-#define PR_ALLOW_MOUNT_PROCFS 0x0400
-#define PR_ALLOW_MOUNT_TMPFS 0x0800
-#define PR_ALLOW_MOUNT_FDESCFS 0x1000
-#define PR_ALLOW_MOUNT_LINPROCFS 0x2000
-#define PR_ALLOW_MOUNT_LINSYSFS 0x4000
-#define PR_ALLOW_RESERVED_PORTS 0x8000
-#define PR_ALLOW_ALL 0xffff
+#define PR_ALLOW_SET_HOSTNAME 0x00000001
+#define PR_ALLOW_SYSVIPC 0x00000002
+#define PR_ALLOW_RAW_SOCKETS 0x00000004
+#define PR_ALLOW_CHFLAGS 0x00000008
+#define PR_ALLOW_MOUNT 0x00000010
+#define PR_ALLOW_QUOTAS 0x00000020
+#define PR_ALLOW_SOCKET_AF 0x00000040
+#define PR_ALLOW_MOUNT_DEVFS 0x00000080
+#define PR_ALLOW_MOUNT_NULLFS 0x00000100
+#define PR_ALLOW_MOUNT_ZFS 0x00000200
+#define PR_ALLOW_MOUNT_PROCFS 0x00000400
+#define PR_ALLOW_MOUNT_TMPFS 0x00000800
+#define PR_ALLOW_MOUNT_FDESCFS 0x00001000
+#define PR_ALLOW_MOUNT_LINPROCFS 0x00002000
+#define PR_ALLOW_MOUNT_LINSYSFS 0x00004000
+#define PR_ALLOW_RESERVED_PORTS 0x00008000
+#define PR_ALLOW_KMEM_ACCESS 0x00010000 /* reserved, not used yet */
+#define PR_ALLOW_ALL 0x0001ffff
/*
* OSD methods
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 25, 7:55 PM (10 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32139877
Default Alt Text
D11451.id30597.diff (1 KB)
Attached To
Mode
D11451: Extend pr_allow flags to 64bit
Attached
Detach File
Event Timeline
Log In to Comment