Remove unused PRIV_IPC_EXEC. Renumbers System V IPC privilege.

This commit is contained in:
Robert Watson 2007-02-20 00:12:52 +00:00
parent 2390d78f74
commit 95420afea4
2 changed files with 2 additions and 4 deletions

View File

@ -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:

View File

@ -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.