Home
last modified time | relevance | path

Searched refs:current_check_access_path (Results 1 – 1 of 1) sorted by relevance

/linux/security/landlock/
H A Dfs.c926 static int current_check_access_path(const struct path *const path, in current_check_access_path() function
1418 return current_check_access_path(dir, LANDLOCK_ACCESS_FS_MAKE_DIR); in hook_path_mkdir()
1425 return current_check_access_path(dir, get_mode_access(mode)); in hook_path_mknod()
1432 return current_check_access_path(dir, LANDLOCK_ACCESS_FS_MAKE_SYM); in hook_path_symlink()
1438 return current_check_access_path(dir, LANDLOCK_ACCESS_FS_REMOVE_FILE); in hook_path_unlink()
1444 return current_check_access_path(dir, LANDLOCK_ACCESS_FS_REMOVE_DIR); in hook_path_rmdir()
1449 return current_check_access_path(path, LANDLOCK_ACCESS_FS_TRUNCATE); in hook_path_truncate()