summaryrefslogtreecommitdiffstats
path: root/security/security.c
diff options
context:
space:
mode:
authorAhmed S. Darwish2008-03-01 20:58:32 +0100
committerJames Morris2008-04-19 01:52:36 +0200
commit6b89a74be0fbbc6cc639d5cf7dcf8e6ee0f120a7 (patch)
treec56574f86d518feb898e934e428dbae999236b5a /security/security.c
parentNetlink: Use generic LSM hook (diff)
downloadkernel-qcow2-linux-6b89a74be0fbbc6cc639d5cf7dcf8e6ee0f120a7.tar.gz
kernel-qcow2-linux-6b89a74be0fbbc6cc639d5cf7dcf8e6ee0f120a7.tar.xz
kernel-qcow2-linux-6b89a74be0fbbc6cc639d5cf7dcf8e6ee0f120a7.zip
SELinux: remove redundant exports
Remove the following exported SELinux interfaces: selinux_get_inode_sid(inode, sid) selinux_get_ipc_sid(ipcp, sid) selinux_get_task_sid(tsk, sid) selinux_sid_to_string(sid, ctx, len) They can be substitued with the following generic equivalents respectively: new LSM hook, inode_getsecid(inode, secid) new LSM hook, ipc_getsecid*(ipcp, secid) LSM hook, task_getsecid(tsk, secid) LSM hook, sid_to_secctx(sid, ctx, len) Signed-off-by: Casey Schaufler <casey@schaufler-ca.com> Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com> Acked-by: James Morris <jmorris@namei.org> Reviewed-by: Paul Moore <paul.moore@hp.com>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions