diff options
Diffstat (limited to 'security/capability.c')
-rw-r--r-- | security/capability.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/security/capability.c b/security/capability.c index 247c04edd468..8cc2b8f3b166 100644 --- a/security/capability.c +++ b/security/capability.c | |||
@@ -826,13 +826,6 @@ static int cap_key_getsecurity(struct key *key, char **_buffer) | |||
826 | return 0; | 826 | return 0; |
827 | } | 827 | } |
828 | 828 | ||
829 | static int cap_key_session_to_parent(const struct cred *cred, | ||
830 | const struct cred *parent_cred, | ||
831 | struct key *key) | ||
832 | { | ||
833 | return 0; | ||
834 | } | ||
835 | |||
836 | #endif /* CONFIG_KEYS */ | 829 | #endif /* CONFIG_KEYS */ |
837 | 830 | ||
838 | #ifdef CONFIG_AUDIT | 831 | #ifdef CONFIG_AUDIT |
@@ -1053,7 +1046,6 @@ void security_fixup_ops(struct security_operations *ops) | |||
1053 | set_to_cap_if_null(ops, key_free); | 1046 | set_to_cap_if_null(ops, key_free); |
1054 | set_to_cap_if_null(ops, key_permission); | 1047 | set_to_cap_if_null(ops, key_permission); |
1055 | set_to_cap_if_null(ops, key_getsecurity); | 1048 | set_to_cap_if_null(ops, key_getsecurity); |
1056 | set_to_cap_if_null(ops, key_session_to_parent); | ||
1057 | #endif /* CONFIG_KEYS */ | 1049 | #endif /* CONFIG_KEYS */ |
1058 | #ifdef CONFIG_AUDIT | 1050 | #ifdef CONFIG_AUDIT |
1059 | set_to_cap_if_null(ops, audit_rule_init); | 1051 | set_to_cap_if_null(ops, audit_rule_init); |