aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorRoberto Sassu <[email protected]>2023-11-16 09:01:23 +0000
committerCasey Schaufler <[email protected]>2024-01-24 22:06:26 +0000
commit51b15e7990cb5ac42c3aba82f46e1d95e0dd2310 (patch)
tree1609cf810074284535bc3ffb227363629cd6a274 /scripts/bpf_doc.py
parentsmack: Handle SMACK64TRANSMUTE in smack_inode_setsecurity() (diff)
downloadkernel-51b15e7990cb5ac42c3aba82f46e1d95e0dd2310.tar.gz
kernel-51b15e7990cb5ac42c3aba82f46e1d95e0dd2310.zip
smack: Always determine inode labels in smack_inode_init_security()
The inode_init_security hook is already a good place to initialize the in-memory inode. And that is also what SELinux does. In preparation for this, move the existing smack_inode_init_security() code outside the 'if (xattr)' condition, and set the xattr, if provided. This change does not have any impact on the current code, since every time security_inode_init_security() is called, the initxattr() callback is passed and, thus, xattr is non-NULL. Signed-off-by: Roberto Sassu <[email protected]> Signed-off-by: Casey Schaufler <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions