2017-06-12 23:31 GMT+02:00 Casey Schaufler [off-list ref]:
Have the hook return a value and return that rather
than -EPERM. That way a security module can choose an
error that it determines is appropriate. It is possible
that a module might want to deny the access for a reason
other than lack of privilege.
[...]
Same here
[...]
And here.
Yes, I think you are right. I'll fix it in the next version.
Thank you very much for taking the time to review my patch.
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html