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.c971 static int current_check_access_path(const struct path *const path, in current_check_access_path() function
1557 return current_check_access_path(dir, LANDLOCK_ACCESS_FS_MAKE_DIR); in hook_path_mkdir()
1564 return current_check_access_path(dir, get_mode_access(mode)); in hook_path_mknod()
1571 return current_check_access_path(dir, LANDLOCK_ACCESS_FS_MAKE_SYM); in hook_path_symlink()
1577 return current_check_access_path(dir, LANDLOCK_ACCESS_FS_REMOVE_FILE); in hook_path_unlink()
1583 return current_check_access_path(dir, LANDLOCK_ACCESS_FS_REMOVE_DIR); in hook_path_rmdir()
1588 return current_check_access_path(path, LANDLOCK_ACCESS_FS_TRUNCATE); in hook_path_truncate()