On Sat, 1 Mar 2008, Ahmed S. Darwish wrote:
Introduce inode_getsecid(inode, secid) and ipc_getsecid(ipcp, secid)
LSM hooks. These hooks will be used instead of similar exported
SELinux interfaces.
Let {inode,ipc,task}_getsecid hooks set the secid to 0 by default
if CONFIG_SECURITY is not defined or if the hook is set to
NULL (dummy). This is done to notify the caller that no valid
secid exists.
Signed-off-by: Casey Schaufler <casey(a)schaufler-ca.com>
Signed-off-by: Ahmed S. Darwish <darwish.07(a)gmail.com>
Acked-by: James Morris <jmorris(a)namei.org>
--
James Morris
<jmorris(a)namei.org>