diff options
author | Ahmed S. Darwish <darwish.07@gmail.com> | 2008-03-01 19:58:32 (GMT) |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2008-04-18 23:52:36 (GMT) |
commit | 6b89a74be0fbbc6cc639d5cf7dcf8e6ee0f120a7 (patch) | |
tree | c56574f86d518feb898e934e428dbae999236b5a /drivers/misc | |
parent | 0ce784ca729dce8c9076a6339a15530ca13212f2 (diff) | |
download | linux-6b89a74be0fbbc6cc639d5cf7dcf8e6ee0f120a7.tar.xz |
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 'drivers/misc')
0 files changed, 0 insertions, 0 deletions