diff options
| author | Olof Johansson <olof@lixom.net> | 2014-07-19 17:59:07 -0400 |
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2014-07-19 17:59:07 -0400 |
| commit | 4e9816d012dbc28dc89559261c6ffbf8ffc440dd (patch) | |
| tree | dee9f8b31f3d6d2fb141541da88e1cc1329b017e /include/linux/security.h | |
| parent | da98f44f27d81d7fe9a41f69af4fe08c18d13b56 (diff) | |
| parent | 1795cd9b3a91d4b5473c97f491d63892442212ab (diff) | |
Merge tag 'v3.16-rc5' into next/fixes-non-critical
Linux 3.16-rc5
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 6478ce3252c7..9c6b9722ff48 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 | ||
| @@ -3034,7 +3034,7 @@ static inline int security_path_chroot(struct path *path) | |||
| 3034 | int security_key_alloc(struct key *key, const struct cred *cred, unsigned long flags); | 3034 | int security_key_alloc(struct key *key, const struct cred *cred, unsigned long flags); |
| 3035 | void security_key_free(struct key *key); | 3035 | void security_key_free(struct key *key); |
| 3036 | int security_key_permission(key_ref_t key_ref, | 3036 | int security_key_permission(key_ref_t key_ref, |
| 3037 | const struct cred *cred, key_perm_t perm); | 3037 | const struct cred *cred, unsigned perm); |
| 3038 | int security_key_getsecurity(struct key *key, char **_buffer); | 3038 | int security_key_getsecurity(struct key *key, char **_buffer); |
| 3039 | 3039 | ||
| 3040 | #else | 3040 | #else |
| @@ -3052,7 +3052,7 @@ static inline void security_key_free(struct key *key) | |||
| 3052 | 3052 | ||
| 3053 | static inline int security_key_permission(key_ref_t key_ref, | 3053 | static inline int security_key_permission(key_ref_t key_ref, |
| 3054 | const struct cred *cred, | 3054 | const struct cred *cred, |
| 3055 | key_perm_t perm) | 3055 | unsigned perm) |
| 3056 | { | 3056 | { |
| 3057 | return 0; | 3057 | return 0; |
| 3058 | } | 3058 | } |
