Changeset View
Changeset View
Standalone View
Standalone View
sys/jail.h
Show First 20 Lines • Show All 225 Lines • ▼ Show 20 Lines | |||||
#define PR_ALLOW_SYSVIPC 0x00000002 | #define PR_ALLOW_SYSVIPC 0x00000002 | ||||
#define PR_ALLOW_RAW_SOCKETS 0x00000004 | #define PR_ALLOW_RAW_SOCKETS 0x00000004 | ||||
#define PR_ALLOW_CHFLAGS 0x00000008 | #define PR_ALLOW_CHFLAGS 0x00000008 | ||||
#define PR_ALLOW_MOUNT 0x00000010 | #define PR_ALLOW_MOUNT 0x00000010 | ||||
#define PR_ALLOW_QUOTAS 0x00000020 | #define PR_ALLOW_QUOTAS 0x00000020 | ||||
#define PR_ALLOW_SOCKET_AF 0x00000040 | #define PR_ALLOW_SOCKET_AF 0x00000040 | ||||
#define PR_ALLOW_MLOCK 0x00000080 | #define PR_ALLOW_MLOCK 0x00000080 | ||||
#define PR_ALLOW_READ_MSGBUF 0x00000100 | #define PR_ALLOW_READ_MSGBUF 0x00000100 | ||||
#define PR_ALLOW_ICMP_ACCESS 0x00000200 | |||||
jamie: Is this an old version of jail.h? 0x00000200 is taken by PR_ALLOW_UNPRIV_DEBUG, but 0x00000400… | |||||
#define PR_ALLOW_RESERVED_PORTS 0x00008000 | #define PR_ALLOW_RESERVED_PORTS 0x00008000 | ||||
#define PR_ALLOW_KMEM_ACCESS 0x00010000 /* reserved, not used yet */ | #define PR_ALLOW_KMEM_ACCESS 0x00010000 /* reserved, not used yet */ | ||||
#define PR_ALLOW_ALL_STATIC 0x000181ff | #define PR_ALLOW_ALL_STATIC 0x000181ff | ||||
/* | /* | ||||
* OSD methods | * OSD methods | ||||
*/ | */ | ||||
#define PR_METHOD_CREATE 0 | #define PR_METHOD_CREATE 0 | ||||
▲ Show 20 Lines • Show All 187 Lines • Show Last 20 Lines |
Is this an old version of jail.h? 0x00000200 is taken by PR_ALLOW_UNPRIV_DEBUG, but 0x00000400 is free. Also, be sure to update PR_ALLOW_ALL_STATIC.