2017-06-12 23:31 GMT+02:00 Casey Schaufler <casey@xxxxxxxxxxxxxxxx>: > 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, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>