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

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: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
parent 7191adff
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