]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - security/selinux/hooks.c
KEYS: Move the flags representing required permission to linux/key.h
[karo-tx-linux.git] / security / selinux / hooks.c
index 4b34847208cc9690284e9e7c7b6f9a960cfbead3..eb5c307fcc9a907a7924d487339aecf74591bafa 100644 (file)
@@ -5704,7 +5704,7 @@ static void selinux_key_free(struct key *k)
 
 static int selinux_key_permission(key_ref_t key_ref,
                                  const struct cred *cred,
-                                 key_perm_t perm)
+                                 unsigned perm)
 {
        struct key *key;
        struct key_security_struct *ksec;