[PATCH 5.4 031/367] security: keys: perform capable check only on privileged operations