Searched refs:handled_access_fs (Results 1 – 9 of 9) sorted by relevance
/linux/tools/testing/selftests/landlock/ |
H A D | base_test.c | 77 .handled_access_fs = LANDLOCK_ACCESS_FS_READ_FILE, in TEST() 108 .handled_access_fs = LANDLOCK_ACCESS_FS_READ_FILE, in TEST() 148 .handled_access_fs = LANDLOCK_ACCESS_FS_EXECUTE, in TEST() 195 .handled_access_fs = LANDLOCK_ACCESS_FS_EXECUTE, in TEST() 239 .handled_access_fs = LANDLOCK_ACCESS_FS_READ_FILE, in TEST() 261 .handled_access_fs = LANDLOCK_ACCESS_FS_READ_DIR, in TEST() 333 .handled_access_fs = LANDLOCK_ACCESS_FS_READ_DIR, in TEST()
|
H A D | fs_test.c | 464 .handled_access_fs = LANDLOCK_ACCESS_FS_READ_FILE | in TEST_F_FORK() 586 .handled_access_fs = ACCESS_ALL, in TEST_F_FORK() 630 .handled_access_fs = access_mask, in TEST_F_FORK() 644 .handled_access_fs = ACCESS_ALL, in TEST_F_FORK() 669 .handled_access_fs = LANDLOCK_ACCESS_FS_EXECUTE, in TEST_F_FORK() 688 if (access == ruleset_attr.handled_access_fs) { in TEST_F_FORK() 741 const __u64 handled_access_fs, in create_ruleset() argument 746 .handled_access_fs = handled_access_fs, in create_ruleset() 1504 ruleset_attr.handled_access_fs = LANDLOCK_ACCESS_FS_READ_FILE; in TEST_F_FORK() 1513 ruleset_attr.handled_access_fs = LANDLOCK_ACCESS_FS_READ_DIR; in TEST_F_FORK() [all …]
|
H A D | ptrace_test.c | 32 .handled_access_fs = LANDLOCK_ACCESS_FS_MAKE_BLOCK, in create_domain()
|
H A D | scoped_abstract_unix_test.c | 33 .handled_access_fs = LANDLOCK_ACCESS_FS_READ_DIR, in create_fs_domain()
|
H A D | net_test.c | 1503 .handled_access_fs = LANDLOCK_ACCESS_FS_READ_DIR, in TEST_F()
|
/linux/samples/landlock/ |
H A D | sandboxer.c | 341 .handled_access_fs = access_fs_rw, in main() 397 ruleset_attr.handled_access_fs &= ~LANDLOCK_ACCESS_FS_REFER; in main() 401 ruleset_attr.handled_access_fs &= ~LANDLOCK_ACCESS_FS_TRUNCATE; in main() 411 ruleset_attr.handled_access_fs &= ~LANDLOCK_ACCESS_FS_IOCTL_DEV; in main() 433 access_fs_ro &= ruleset_attr.handled_access_fs; in main() 434 access_fs_rw &= ruleset_attr.handled_access_fs; in main()
|
/linux/security/landlock/ |
H A D | syscalls.c | 98 ruleset_size = sizeof(ruleset_attr.handled_access_fs); in build_check_abi() 203 handled_access_fs), in SYSCALL_DEFINE3() 209 if ((ruleset_attr.handled_access_fs | LANDLOCK_MASK_ACCESS_FS) != in SYSCALL_DEFINE3() 223 ruleset = landlock_create_ruleset(ruleset_attr.handled_access_fs, in SYSCALL_DEFINE3()
|
/linux/include/uapi/linux/ |
H A D | landlock.h | 41 __u64 handled_access_fs; member
|
/linux/Documentation/userspace-api/ |
H A D | landlock.rst | 64 .handled_access_fs = 110 ruleset_attr.handled_access_fs &= ~LANDLOCK_ACCESS_FS_REFER; 114 ruleset_attr.handled_access_fs &= ~LANDLOCK_ACCESS_FS_TRUNCATE; 124 ruleset_attr.handled_access_fs &= ~LANDLOCK_ACCESS_FS_IOCTL_DEV; 395 associated bitflags, particularly the ruleset's ``handled_access_fs``. Making
|