Messages in this thread | | | From | Salvatore Mesoraca <> | Date | Tue, 13 Jun 2017 09:55:30 +0200 | Subject | Re: [PATCH 05/11] Creation of "check_vmflags" LSM hook |
| |
2017-06-12 23:31 GMT+02:00 Casey Schaufler <casey@schaufler-ca.com>: > 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.
| |