diff options
| author | Amir Goldstein <[email protected]> | 2023-12-12 09:44:38 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2023-12-12 15:20:02 +0000 |
| commit | 36e28c42187c95eb148873ffb059bfdcb8cdb75b (patch) | |
| tree | 8d18f9bb5fa803c5d9e319f8c6e9abf09afd0c2a /net/unix/sysctl_net_unix.c | |
| parent | fs: use splice_copy_file_range() inline helper (diff) | |
| download | kernel-36e28c42187c95eb148873ffb059bfdcb8cdb75b.tar.gz kernel-36e28c42187c95eb148873ffb059bfdcb8cdb75b.zip | |
fsnotify: split fsnotify_perm() into two hooks
We would like to make changes to the fsnotify access permission hook -
add file range arguments and add the pre modify event.
In preparation for these changes, split the fsnotify_perm() hook into
fsnotify_open_perm() and fsnotify_file_perm().
This is needed for fanotify "pre content" events.
Reviewed-by: Josef Bacik <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Amir Goldstein <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
