Searched refs:LANDLOCK_ACCESS_FS_TRUNCATE (Results 1 – 6 of 6) sorted by relevance
106 LANDLOCK_ACCESS_FS_TRUNCATE | \286 LANDLOCK_ACCESS_FS_TRUNCATE | \401 ruleset_attr.handled_access_fs &= ~LANDLOCK_ACCESS_FS_TRUNCATE; in main()
260 #define LANDLOCK_ACCESS_FS_TRUNCATE (1ULL << 14) macro
310 LANDLOCK_ACCESS_FS_TRUNCATE | \1445 return current_check_access_path(path, LANDLOCK_ACCESS_FS_TRUNCATE); in hook_path_truncate()1521 optional_access = LANDLOCK_ACCESS_FS_TRUNCATE; in hook_file_open()1576 if (landlock_file(file)->allowed_access & LANDLOCK_ACCESS_FS_TRUNCATE) in hook_file_truncate()
558 LANDLOCK_ACCESS_FS_TRUNCATE | \3565 LANDLOCK_ACCESS_FS_TRUNCATE, in TEST_F_FORK()3575 LANDLOCK_ACCESS_FS_TRUNCATE, in TEST_F_FORK()3579 .access = LANDLOCK_ACCESS_FS_TRUNCATE, in TEST_F_FORK()3584 .access = LANDLOCK_ACCESS_FS_TRUNCATE, in TEST_F_FORK()3594 LANDLOCK_ACCESS_FS_TRUNCATE; in TEST_F_FORK()3685 const __u64 handled2 = LANDLOCK_ACCESS_FS_TRUNCATE; in TEST_F_FORK()3689 .access = LANDLOCK_ACCESS_FS_TRUNCATE, in TEST_F_FORK()3693 const __u64 handled3 = LANDLOCK_ACCESS_FS_TRUNCATE | in TEST_F_FORK()3779 .handled = LANDLOCK_ACCESS_FS_TRUNCATE, in FIXTURE_VARIANT_ADD()[all …]
79 LANDLOCK_ACCESS_FS_TRUNCATE |113 /* Removes LANDLOCK_ACCESS_FS_TRUNCATE for ABI < 3 */114 ruleset_attr.handled_access_fs &= ~LANDLOCK_ACCESS_FS_TRUNCATE;352 ``LANDLOCK_ACCESS_FS_TRUNCATE`` both change the contents of a file and sometimes371 When opening a file, the availability of the ``LANDLOCK_ACCESS_FS_TRUNCATE`` and563 truncation thanks to the new ``LANDLOCK_ACCESS_FS_TRUNCATE`` access right.
71 Taking the ``LANDLOCK_ACCESS_FS_TRUNCATE`` right as an example, it may be