Home
last modified time | relevance | path

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

/linux/tools/perf/tests/workloads/
A Dlandlock.c27 __u64 allowed_access; member
38 __u64 allowed_access; member
48 .allowed_access = LANDLOCK_ACCESS_FS_READ_FILE, in landlock()
54 .allowed_access = LANDLOCK_ACCESS_NET_CONNECT_TCP, in landlock()
/linux/tools/testing/selftests/landlock/
A Dnet_test.c604 .allowed_access = LANDLOCK_ACCESS_NET_BIND_TCP, in TEST_F()
643 .allowed_access = LANDLOCK_ACCESS_NET_BIND_TCP, in TEST_F()
1037 .allowed_access = LANDLOCK_ACCESS_NET_BIND_TCP, in TEST_F()
1230 net_port.allowed_access = access; in TEST_F()
1275 net_port.allowed_access = access; in TEST_F()
1302 net_port.allowed_access = access; in TEST_F()
1327 .allowed_access = 0, in TEST_F()
1331 .allowed_access = LANDLOCK_ACCESS_NET_BIND_TCP, in TEST_F()
1362 .allowed_access = LANDLOCK_ACCESS_NET_BIND_TCP, in TEST_F()
1370 .allowed_access = LANDLOCK_ACCESS_NET_BIND_TCP, in TEST_F()
[all …]
A Dbase_test.c151 .allowed_access = LANDLOCK_ACCESS_FS_EXECUTE, in TEST()
198 .allowed_access = LANDLOCK_ACCESS_FS_EXECUTE, in TEST()
264 .allowed_access = LANDLOCK_ACCESS_FS_READ_DIR, in TEST()
A Dfs_test.c459 .allowed_access = LANDLOCK_ACCESS_FS_READ_FILE | in TEST_F_FORK()
523 path_beneath.allowed_access |= LANDLOCK_ACCESS_FS_REFER; in TEST_F_FORK()
530 path_beneath.allowed_access |= (1ULL << 60); in TEST_F_FORK()
534 path_beneath.allowed_access &= ~(1ULL << 60); in TEST_F_FORK()
537 path_beneath.allowed_access = 0; in TEST_F_FORK()
541 path_beneath.allowed_access &= ~(1ULL << 60); in TEST_F_FORK()
603 path_beneath_dir.allowed_access = access; in TEST_F_FORK()
608 path_beneath_file.allowed_access = access; in TEST_F_FORK()
656 path_beneath.allowed_access = access; in TEST_F_FORK()
685 path_beneath.allowed_access = access; in TEST_F_FORK()
[all …]
/linux/security/landlock/
A Dsyscalls.c104 path_beneath_size = sizeof(path_beneath_attr.allowed_access); in build_check_abi()
109 net_port_size = sizeof(net_port_attr.allowed_access); in build_check_abi()
328 if (!path_beneath_attr.allowed_access) in add_rule_path_beneath()
333 if ((path_beneath_attr.allowed_access | mask) != mask) in add_rule_path_beneath()
343 path_beneath_attr.allowed_access); in add_rule_path_beneath()
364 if (!net_port_attr.allowed_access) in add_rule_net_port()
369 if ((net_port_attr.allowed_access | mask) != mask) in add_rule_net_port()
378 net_port_attr.allowed_access); in add_rule_net_port()
A Dfs.c1487 landlock_file(file)->allowed_access = LANDLOCK_MASK_ACCESS_FS; in hook_file_alloc_security()
1532 allowed_access = full_access_request; in hook_file_open()
1542 allowed_access = 0; in hook_file_open()
1546 allowed_access |= BIT_ULL(access_bit); in hook_file_open()
1556 landlock_file(file)->allowed_access = allowed_access; in hook_file_open()
1558 if ((open_access_request & allowed_access) == open_access_request) in hook_file_open()
1576 if (landlock_file(file)->allowed_access & LANDLOCK_ACCESS_FS_TRUNCATE) in hook_file_truncate()
1584 access_mask_t allowed_access = landlock_file(file)->allowed_access; in hook_file_ioctl() local
1592 if (allowed_access & LANDLOCK_ACCESS_FS_IOCTL_DEV) in hook_file_ioctl()
1607 access_mask_t allowed_access = landlock_file(file)->allowed_access; in hook_file_ioctl_compat() local
[all …]
A Dfs.h54 access_mask_t allowed_access; member
/linux/samples/landlock/
A Dsandboxer.c112 const __u64 allowed_access) in populate_ruleset_fs() argument
154 path_beneath.allowed_access = allowed_access; in populate_ruleset_fs()
156 path_beneath.allowed_access &= ACCESS_FILE; in populate_ruleset_fs()
176 const __u64 allowed_access) in populate_ruleset_net() argument
181 .allowed_access = allowed_access, in populate_ruleset_net()
/linux/include/uapi/linux/
A Dlandlock.h93 __u64 allowed_access; member
116 __u64 allowed_access; member
/linux/drivers/char/tpm/
A 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/Documentation/userspace-api/
A Dlandlock.rst155 .allowed_access =
179 ``allowed_access`` rights are already available in ABI 1.
187 .allowed_access = LANDLOCK_ACCESS_NET_CONNECT_TCP,

Completed in 36 milliseconds