Searched refs:current_check_access_path (Results 1 – 1 of 1) sorted by relevance
928 static int current_check_access_path(const struct path *const path, in current_check_access_path() function1420 return current_check_access_path(dir, LANDLOCK_ACCESS_FS_MAKE_DIR); in hook_path_mkdir()1427 return current_check_access_path(dir, get_mode_access(mode)); in hook_path_mknod()1434 return current_check_access_path(dir, LANDLOCK_ACCESS_FS_MAKE_SYM); in hook_path_symlink()1440 return current_check_access_path(dir, LANDLOCK_ACCESS_FS_REMOVE_FILE); in hook_path_unlink()1446 return current_check_access_path(dir, LANDLOCK_ACCESS_FS_REMOVE_DIR); in hook_path_rmdir()1451 return current_check_access_path(path, LANDLOCK_ACCESS_FS_TRUNCATE); in hook_path_truncate()