aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2024-11-15 15:30:29 +0000
committerJan Kara <[email protected]>2024-12-11 16:28:41 +0000
commit8392bc2ff8c8bf7c4c5e6dfa71ccd893a3c046f6 (patch)
tree4d0ad92f307895589ef8e428dc0c4f9a587679d3 /security/selinux/hooks.c
parentmm: don't allow huge faults for files with pre content watches (diff)
downloadkernel-8392bc2ff8c8bf7c4c5e6dfa71ccd893a3c046f6.tar.gz
kernel-8392bc2ff8c8bf7c4c5e6dfa71ccd893a3c046f6.zip
fsnotify: generate pre-content permission event on page fault
FS_PRE_ACCESS will be generated on page fault depending on the faulting method. This pre-content event is meant to be used by hierarchical storage managers that want to fill in the file content on first read access. Export a simple helper that file systems that have their own ->fault() will use, and have a more complicated helper to be do fancy things in filemap_fault. Signed-off-by: Josef Bacik <[email protected]> Signed-off-by: Jan Kara <[email protected]> Link: https://patch.msgid.link/aa56c50ce81b1fd18d7f5d71dd2dfced5eba9687.1731684329.git.josef@toxicpanda.com
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions