diff options
author | Eric W. Biederman | 2018-03-23 03:08:27 +0100 |
---|---|---|
committer | Eric W. Biederman | 2018-03-23 03:08:27 +0100 |
commit | 7191adff2a5566efb139c79ea03eda3d0520d44a (patch) | |
tree | bfde0d973881cfaa21e9993b290de4ca9c5bbe4b /ipc/mqueue.c | |
parent | sem/security: Pass kern_ipc_perm not sem_array into the sem security hooks (diff) | |
download | kernel-qcow2-linux-7191adff2a5566efb139c79ea03eda3d0520d44a.tar.gz kernel-qcow2-linux-7191adff2a5566efb139c79ea03eda3d0520d44a.tar.xz kernel-qcow2-linux-7191adff2a5566efb139c79ea03eda3d0520d44a.zip |
shm/security: Pass kern_ipc_perm not shmid_kernel into the shm security hooks
All of the implementations of security hooks that take shmid_kernel only
access shm_perm the struct kern_ipc_perm member. This means the
dependencies of the shm security hooks can be simplified by passing
the kern_ipc_perm member of shmid_kernel..
Making this change will allow struct shmid_kernel to become private to ipc/shm.c.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'ipc/mqueue.c')
0 files changed, 0 insertions, 0 deletions