summaryrefslogtreecommitdiff
path: root/ipc/shm.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2018-03-22 21:22:26 -0500
committerEric W. Biederman <ebiederm@xmission.com>2018-03-22 21:22:26 -0500
commitd8c6e8543294428426578d74dc7aaf121e762d58 (patch)
tree5a7fb08578f66f55f030e7fd1de237e5f756a847 /ipc/shm.c
parent7191adff2a5566efb139c79ea03eda3d0520d44a (diff)
downloadlwn-d8c6e8543294428426578d74dc7aaf121e762d58.tar.gz
lwn-d8c6e8543294428426578d74dc7aaf121e762d58.zip
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>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions