]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - security/smack/smack_lsm.c
KEYS: Move the flags representing required permission to linux/key.h
[karo-tx-linux.git] / security / smack / smack_lsm.c
index 14f52be78c75e279f2bad288c66513a016a1ec3c..c47dd8ca019c21ca8b4731fed9dc408e8b358765 100644 (file)
@@ -3506,7 +3506,7 @@ static void smack_key_free(struct key *key)
  * an error code otherwise
  */
 static int smack_key_permission(key_ref_t key_ref,
-                               const struct cred *cred, key_perm_t perm)
+                               const struct cred *cred, unsigned perm)
 {
        struct key *keyp;
        struct smk_audit_info ad;