security: add a secctx_to_secid() hook
commit63cb34492351078479b2d4bae6a881806a396286
authorDavid Howells <dhowells@redhat.com>
Tue, 15 Jan 2008 23:47:35 +0000 (15 23:47 +0000)
committerJames Morris <jmorris@namei.org>
Fri, 25 Jan 2008 00:29:53 +0000 (25 11:29 +1100)
treed33ab15eda40c5195c4a723d9e49591a9b4950f9
parentc43e259cc756ece387faae849af0058b56d78466
security: add a secctx_to_secid() hook

Add a secctx_to_secid() LSM hook to go along with the existing
secid_to_secctx() LSM hook.  This patch also includes the SELinux
implementation for this hook.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
include/linux/security.h
security/dummy.c
security/security.c
security/selinux/hooks.c