Skip to content
Commit fd778461 authored by Eric Paris's avatar Eric Paris
Browse files

security: remove the security_netlink_recv hook as it is equivalent to capable()



Once upon a time netlink was not sync and we had to get the effective
capabilities from the skb that was being received.  Today we instead get
the capabilities from the current task.  This has rendered the entire
purpose of the hook moot as it is now functionally equivalent to the
capable() call.

Signed-off-by: default avatarEric Paris <eparis@redhat.com>
parent 69f594a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment