Home
last modified time | relevance | path

Searched refs:allowed_access (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/samples/landlock/
Dsandboxer.c84 const __u64 allowed_access) in populate_ruleset() argument
124 path_beneath.allowed_access = allowed_access; in populate_ruleset()
126 path_beneath.allowed_access &= ACCESS_FILE; in populate_ruleset()
/linux-6.1.9/security/landlock/
Dsyscalls.c88 path_beneath_size = sizeof(path_beneath_attr.allowed_access); in build_check_abi()
343 if (!path_beneath_attr.allowed_access) { in SYSCALL_DEFINE4()
351 if ((path_beneath_attr.allowed_access | ruleset->fs_access_masks[0]) != in SYSCALL_DEFINE4()
364 path_beneath_attr.allowed_access); in SYSCALL_DEFINE4()
/linux-6.1.9/drivers/char/tpm/
Dtpm_tis_spi_cr50.c81 unsigned long allowed_access = phy->last_access + phy->access_delay; in cr50_ensure_access_delay() local
91 if (time_in_range_open(time_now, phy->last_access, allowed_access)) { in cr50_ensure_access_delay()
92 unsigned long remaining, timeout = allowed_access - time_now; in cr50_ensure_access_delay()
/linux-6.1.9/include/uapi/linux/
Dlandlock.h69 __u64 allowed_access; member
/linux-6.1.9/tools/testing/selftests/landlock/
Dbase_test.c150 .allowed_access = LANDLOCK_ACCESS_FS_EXECUTE, in TEST()
197 .allowed_access = LANDLOCK_ACCESS_FS_EXECUTE, in TEST()
263 .allowed_access = LANDLOCK_ACCESS_FS_READ_DIR, in TEST()
Dfs_test.c311 .allowed_access = LANDLOCK_ACCESS_FS_READ_FILE | in TEST_F_FORK()
368 path_beneath.allowed_access |= LANDLOCK_ACCESS_FS_EXECUTE; in TEST_F_FORK()
372 path_beneath.allowed_access &= ~LANDLOCK_ACCESS_FS_EXECUTE; in TEST_F_FORK()
375 path_beneath.allowed_access |= LANDLOCK_ACCESS_FS_REFER; in TEST_F_FORK()
379 path_beneath.allowed_access &= ~LANDLOCK_ACCESS_FS_REFER; in TEST_F_FORK()
382 path_beneath.allowed_access |= (1ULL << 60); in TEST_F_FORK()
386 path_beneath.allowed_access &= ~(1ULL << 60); in TEST_F_FORK()
389 path_beneath.allowed_access = 0; in TEST_F_FORK()
393 path_beneath.allowed_access &= ~(1ULL << 60); in TEST_F_FORK()
453 path_beneath_dir.allowed_access = access; in TEST_F_FORK()
[all …]
/linux-6.1.9/Documentation/userspace-api/
Dlandlock.rst107 .allowed_access =