mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
selinux: implement the kernfs_init_security hook
The hook applies the same logic as selinux_determine_inode_label(), with the exception of the super_block handling, which will be enforced on the actual inodes later by other hooks. Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com> [PM: minor merge fixes] Signed-off-by: Paul Moore <paul@paul-moore.com>
This commit is contained in:
parent
b230d5aba2
commit
ec882da5cd
1 changed files with 66 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue