Skip to content
Commit 7191adff authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

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: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
parent aefad959
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment