commit | d8c6e8543294428426578d74dc7aaf121e762d58 | [log] [tgz] |
---|---|---|
author | Eric W. Biederman <ebiederm@xmission.com> | Thu Mar 22 21:22:26 2018 -0500 |
committer | Eric W. Biederman <ebiederm@xmission.com> | Thu Mar 22 21:22:26 2018 -0500 |
tree | 5a7fb08578f66f55f030e7fd1de237e5f756a847 | |
parent | 7191adff2a5566efb139c79ea03eda3d0520d44a [diff] |
msg/security: Pass kern_ipc_perm not msg_queue into the msg_queue security hooks All of the implementations of security hooks that take msg_queue only access q_perm the struct kern_ipc_perm member. This means the dependencies of the msg_queue security hooks can be simplified by passing the kern_ipc_perm member of msg_queue. Making this change will allow struct msg_queue to become private to ipc/msg.c. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>