aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorAmir Goldstein <[email protected]>2024-11-15 15:30:21 +0000
committerJan Kara <[email protected]>2024-12-10 11:03:17 +0000
commit9740d17162deca7138fad7dcf3ef52324832c32b (patch)
tree00b752792ae6101ccd4079a4b7bb000d97493886 /security/selinux/hooks.c
parentfsnotify: introduce pre-content permission events (diff)
downloadkernel-9740d17162deca7138fad7dcf3ef52324832c32b.tar.gz
kernel-9740d17162deca7138fad7dcf3ef52324832c32b.zip
fsnotify: pass optional file access range in pre-content event
We would like to add file range information to pre-content events. Pass a struct file_range with offset and length to event handler along with pre-content permission event. The offset and length are aligned to page size, but we may need to align them to minimum folio size for filesystems with large block size. Signed-off-by: Amir Goldstein <[email protected]> Signed-off-by: Jan Kara <[email protected]> Link: https://patch.msgid.link/88eddee301231d814aede27fb4d5b41ae37c9702.1731684329.git.josef@toxicpanda.com
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions