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

capabilities: reverse arguments to security_capable



security_capable takes ns, cred, cap.  But the LSM capable() hook takes
cred, ns, cap.  The capability helper functions also take cred, ns, cap.
Rather than flip argument order just to flip it back, leave them alone.
Heck, this should be a little faster since argument will be in the right
place!

Signed-off-by: default avatarEric Paris <eparis@redhat.com>
parent 6a9de491
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