SMACK: how are smack blobs getting into cred->security and inode->i_security?

Denis Obrezkov denisobrezkov at gmail.com
Fri Dec 31 13:08:04 UTC 2021


Hello,

I am trying to understand how smack works (looking at
smack_inode_permission hook). I can see that that smack security
information is taken from  cred->security and inode->i_security but how
did they get in there? Also, when does it happen? (for a task and for a
file)

-- 
Regards, Denis Obrezkov



More information about the Linux-security-module-archive mailing list