diff --git a/sys/kern/kern_jail.c b/sys/kern/kern_jail.c index 98deb3feb530..6e80510ca122 100644 --- a/sys/kern/kern_jail.c +++ b/sys/kern/kern_jail.c @@ -596,7 +596,6 @@ prison_priv_check(struct ucred *cred, int priv) */ case PRIV_IPC_READ: case PRIV_IPC_WRITE: - case PRIV_IPC_EXEC: case PRIV_IPC_ADMIN: case PRIV_IPC_MSGSIZE: case PRIV_MQ_ADMIN: diff --git a/sys/sys/priv.h b/sys/sys/priv.h index 62327ca6dcbf..4ccc7aafc725 100644 --- a/sys/sys/priv.h +++ b/sys/sys/priv.h @@ -166,9 +166,8 @@ */ #define PRIV_IPC_READ 170 /* Can override IPC read perm. */ #define PRIV_IPC_WRITE 171 /* Can override IPC write perm. */ -#define PRIV_IPC_EXEC 172 /* Can override IPC exec perm. */ -#define PRIV_IPC_ADMIN 173 /* Can override IPC owner-only perm. */ -#define PRIV_IPC_MSGSIZE 174 /* Exempt IPC message queue limit. */ +#define PRIV_IPC_ADMIN 172 /* Can override IPC owner-only perm. */ +#define PRIV_IPC_MSGSIZE 173 /* Exempt IPC message queue limit. */ /* * POSIX message queue privileges.