diff options
author | James Morris <james.l.morris@oracle.com> | 2014-04-13 21:42:49 -0400 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2014-04-13 21:42:49 -0400 |
commit | b13cebe70775e67323e1c2eff20e1cd174e430a4 (patch) | |
tree | 80e5775c2ce5c90bdef8a2ce487fb70a179217af /include/linux/security.h | |
parent | ecd740c6f2f092b90b95fa35f757973589eaaca2 (diff) | |
parent | fffea214abf66a8672cfd6697fae65e743e22f11 (diff) |
Merge tag 'keys-20140314' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs into next
Diffstat (limited to 'include/linux/security.h')
-rw-r--r-- | include/linux/security.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/security.h b/include/linux/security.h index 2fc42d191f79..6726006bc766 100644 --- a/include/linux/security.h +++ b/include/linux/security.h | |||
@@ -1708,7 +1708,7 @@ struct security_operations { | |||
1708 | void (*key_free) (struct key *key); | 1708 | void (*key_free) (struct key *key); |
1709 | int (*key_permission) (key_ref_t key_ref, | 1709 | int (*key_permission) (key_ref_t key_ref, |
1710 | const struct cred *cred, | 1710 | const struct cred *cred, |
1711 | key_perm_t perm); | 1711 | unsigned perm); |
1712 | int (*key_getsecurity)(struct key *key, char **_buffer); | 1712 | int (*key_getsecurity)(struct key *key, char **_buffer); |
1713 | #endif /* CONFIG_KEYS */ | 1713 | #endif /* CONFIG_KEYS */ |
1714 | 1714 | ||
@@ -3030,7 +3030,7 @@ static inline int security_path_chroot(struct path *path) | |||
3030 | int security_key_alloc(struct key *key, const struct cred *cred, unsigned long flags); | 3030 | int security_key_alloc(struct key *key, const struct cred *cred, unsigned long flags); |
3031 | void security_key_free(struct key *key); | 3031 | void security_key_free(struct key *key); |
3032 | int security_key_permission(key_ref_t key_ref, | 3032 | int security_key_permission(key_ref_t key_ref, |
3033 | const struct cred *cred, key_perm_t perm); | 3033 | const struct cred *cred, unsigned perm); |
3034 | int security_key_getsecurity(struct key *key, char **_buffer); | 3034 | int security_key_getsecurity(struct key *key, char **_buffer); |
3035 | 3035 | ||
3036 | #else | 3036 | #else |
@@ -3048,7 +3048,7 @@ static inline void security_key_free(struct key *key) | |||
3048 | 3048 | ||
3049 | static inline int security_key_permission(key_ref_t key_ref, | 3049 | static inline int security_key_permission(key_ref_t key_ref, |
3050 | const struct cred *cred, | 3050 | const struct cred *cred, |
3051 | key_perm_t perm) | 3051 | unsigned perm) |
3052 | { | 3052 | { |
3053 | return 0; | 3053 | return 0; |
3054 | } | 3054 | } |