diff options
| author | Amir Goldstein <[email protected]> | 2023-12-12 09:44:40 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2023-12-12 15:20:02 +0000 |
| commit | d9e5d31084b024734e64307521414ef0ae1d5333 (patch) | |
| tree | 5cad647473aa9eba5963c8d8caa7cf7dac635200 /drivers/usb/cdns3/cdns3-ti.c | |
| parent | fsnotify: assert that file_start_write() is not held in permission hooks (diff) | |
| download | kernel-d9e5d31084b024734e64307521414ef0ae1d5333.tar.gz kernel-d9e5d31084b024734e64307521414ef0ae1d5333.zip | |
fsnotify: optionally pass access range in file permission hooks
In preparation for pre-content permission events with file access range,
move fsnotify_file_perm() hook out of security_file_permission() and into
the callers.
Callers that have the access range information call the new hook
fsnotify_file_area_perm() with the access range.
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 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions
