diff options
author | Eric Paris <eparis@redhat.com> | 2010-04-07 21:15:19 +0200 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-04-12 04:19:18 +0200 |
commit | 3011a344cdcda34cdbcb40c3fb3d1a6e89954abb (patch) | |
tree | 43db9abc5f96cd8ec31a4a24f0d52dae76680a1c /security/capability.c | |
parent | security: remove dead hook task_setgroups (diff) | |
download | linux-3011a344cdcda34cdbcb40c3fb3d1a6e89954abb.tar.xz linux-3011a344cdcda34cdbcb40c3fb3d1a6e89954abb.zip |
security: remove dead hook key_session_to_parent
Unused hook. Remove.
Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
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) return 0; } -static int cap_key_session_to_parent(const struct cred *cred, - const struct cred *parent_cred, - struct key *key) -{ - return 0; -} - #endif /* CONFIG_KEYS */ #ifdef CONFIG_AUDIT @@ -1053,7 +1046,6 @@ void security_fixup_ops(struct security_operations *ops) set_to_cap_if_null(ops, key_free); set_to_cap_if_null(ops, key_permission); set_to_cap_if_null(ops, key_getsecurity); - set_to_cap_if_null(ops, key_session_to_parent); #endif /* CONFIG_KEYS */ #ifdef CONFIG_AUDIT set_to_cap_if_null(ops, audit_rule_init); |