Home
last modified time | relevance | path

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

/linux/samples/landlock/
H A Dsandboxer.c106 LANDLOCK_ACCESS_FS_TRUNCATE | \
286 LANDLOCK_ACCESS_FS_TRUNCATE | \
401 ruleset_attr.handled_access_fs &= ~LANDLOCK_ACCESS_FS_TRUNCATE; in main()
/linux/include/uapi/linux/
H A Dlandlock.h260 #define LANDLOCK_ACCESS_FS_TRUNCATE (1ULL << 14) macro
/linux/security/landlock/
H A Dfs.c310 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()
/linux/tools/testing/selftests/landlock/
H A Dfs_test.c558 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 …]
/linux/Documentation/userspace-api/
H A Dlandlock.rst79 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 sometimes
371 When opening a file, the availability of the ``LANDLOCK_ACCESS_FS_TRUNCATE`` and
563 truncation thanks to the new ``LANDLOCK_ACCESS_FS_TRUNCATE`` access right.
/linux/Documentation/security/
H A Dlandlock.rst71 Taking the ``LANDLOCK_ACCESS_FS_TRUNCATE`` right as an example, it may be