Searched refs:LANDLOCK_ACCESS_FS_TRUNCATE (Results 1 – 7 of 7) sorted by relevance
/linux-6.3-rc2/samples/landlock/ |
A D | sandboxer.c | 80 LANDLOCK_ACCESS_FS_TRUNCATE) 165 LANDLOCK_ACCESS_FS_TRUNCATE) 257 ruleset_attr.handled_access_fs &= ~LANDLOCK_ACCESS_FS_TRUNCATE; in main()
|
/linux-6.3-rc2/security/landlock/ |
A D | limits.h | 21 #define LANDLOCK_LAST_ACCESS_FS LANDLOCK_ACCESS_FS_TRUNCATE
|
A D | fs.c | 150 LANDLOCK_ACCESS_FS_TRUNCATE) 1160 return current_check_access_path(path, LANDLOCK_ACCESS_FS_TRUNCATE); in hook_path_truncate() 1210 const access_mask_t optional_access = LANDLOCK_ACCESS_FS_TRUNCATE; in hook_file_open() 1278 if (landlock_file(file)->allowed_access & LANDLOCK_ACCESS_FS_TRUNCATE) in hook_file_truncate()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | landlock.h | 173 #define LANDLOCK_ACCESS_FS_TRUNCATE (1ULL << 14) macro
|
/linux-6.3-rc2/Documentation/userspace-api/ |
A D | landlock.rst | 64 LANDLOCK_ACCESS_FS_TRUNCATE, 73 remove the ``LANDLOCK_ACCESS_FS_REFER`` or ``LANDLOCK_ACCESS_FS_TRUNCATE`` 93 /* Removes LANDLOCK_ACCESS_FS_TRUNCATE for ABI < 3 */ 94 ruleset_attr.handled_access_fs &= ~LANDLOCK_ACCESS_FS_TRUNCATE; 272 ``LANDLOCK_ACCESS_FS_TRUNCATE`` both change the contents of a file and sometimes 286 When opening a file, the availability of the ``LANDLOCK_ACCESS_FS_TRUNCATE`` 452 truncation thanks to the new ``LANDLOCK_ACCESS_FS_TRUNCATE`` access right.
|
/linux-6.3-rc2/tools/testing/selftests/landlock/ |
A D | fs_test.c | 449 LANDLOCK_ACCESS_FS_TRUNCATE) 3305 LANDLOCK_ACCESS_FS_TRUNCATE, in TEST_F_FORK() 3315 LANDLOCK_ACCESS_FS_TRUNCATE, in TEST_F_FORK() 3319 .access = LANDLOCK_ACCESS_FS_TRUNCATE, in TEST_F_FORK() 3324 .access = LANDLOCK_ACCESS_FS_TRUNCATE, in TEST_F_FORK() 3334 LANDLOCK_ACCESS_FS_TRUNCATE; in TEST_F_FORK() 3429 .access = LANDLOCK_ACCESS_FS_TRUNCATE, in TEST_F_FORK() 3519 .handled = LANDLOCK_ACCESS_FS_TRUNCATE, in FIXTURE_VARIANT_ADD() 3520 .permitted = LANDLOCK_ACCESS_FS_TRUNCATE, in FIXTURE_VARIANT_ADD() 3539 LANDLOCK_ACCESS_FS_TRUNCATE, in FIXTURE_VARIANT_ADD() [all …]
|
/linux-6.3-rc2/Documentation/security/ |
A D | landlock.rst | 71 Taking the ``LANDLOCK_ACCESS_FS_TRUNCATE`` right as an example, it may be
|
Completed in 16 milliseconds