summaryrefslogtreecommitdiff
path: root/security/security.c
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2010-04-07 15:15:19 -0400
committerJames Morris <jmorris@namei.org>2010-04-12 12:19:18 +1000
commit3011a344cdcda34cdbcb40c3fb3d1a6e89954abb (patch)
tree43db9abc5f96cd8ec31a4a24f0d52dae76680a1c /security/security.c
parent6307f8fee295b364716d28686df6e69c2fee751a (diff)
downloadlinux-3.10-3011a344cdcda34cdbcb40c3fb3d1a6e89954abb.tar.gz
linux-3.10-3011a344cdcda34cdbcb40c3fb3d1a6e89954abb.tar.bz2
linux-3.10-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/security.c')
-rw-r--r--security/security.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/security/security.c b/security/security.c
index 5cf9ca6890f..490f77753b2 100644
--- a/security/security.c
+++ b/security/security.c
@@ -1262,13 +1262,6 @@ int security_key_getsecurity(struct key *key, char **_buffer)
return security_ops->key_getsecurity(key, _buffer);
}
-int security_key_session_to_parent(const struct cred *cred,
- const struct cred *parent_cred,
- struct key *key)
-{
- return security_ops->key_session_to_parent(cred, parent_cred, key);
-}
-
#endif /* CONFIG_KEYS */
#ifdef CONFIG_AUDIT