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

sem/security: Pass kern_ipc_perm not sem_array into the sem security hooks



All of the implementations of security hooks that take sem_array only
access sem_perm the struct kern_ipc_perm member.  This means the
dependencies of the sem security hooks can be simplified by passing
the kern_ipc_perm member of sem_array.

Making this change will allow struct sem and struct sem_array
to become private to ipc/sem.c.

Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
parent dd206bec
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