Home
last modified time | relevance | path

Searched refs:OPEN_TREE_CLOEXEC (Results 1 – 8 of 8) sorted by relevance

/linux-6.15/tools/testing/selftests/mount_setattr/
H A Dmount_setattr_test.c168 #ifndef OPEN_TREE_CLOEXEC
169 #define OPEN_TREE_CLOEXEC O_CLOEXEC macro
1276 OPEN_TREE_CLOEXEC); in TEST_F()
1306 OPEN_TREE_CLOEXEC); in TEST_F()
1336 OPEN_TREE_CLOEXEC | in TEST_F()
1366 OPEN_TREE_CLOEXEC | in TEST_F()
1398 OPEN_TREE_CLOEXEC | in TEST_F()
1454 OPEN_TREE_CLOEXEC | in TEST_F()
1766 AT_RECURSIVE | OPEN_TREE_CLOEXEC | in TEST_F()
1910 AT_RECURSIVE | OPEN_TREE_CLOEXEC | in TEST_F()
[all …]
/linux-6.15/tools/testing/selftests/pidfd/
H A Dpidfd_bind_mount.c79 #ifndef OPEN_TREE_CLOEXEC
80 #define OPEN_TREE_CLOEXEC O_CLOEXEC macro
133 fd_tree = sys_open_tree(self->pidfd, "", OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC | AT_EMPTY_PATH); in TEST_F()
169 fd_tree = sys_open_tree(self->pidfd, "", OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC | AT_EMPTY_PATH); in TEST_F()
/linux-6.15/tools/testing/selftests/filesystems/overlayfs/
H A Dwrappers.h51 #ifndef OPEN_TREE_CLOEXEC
52 #define OPEN_TREE_CLOEXEC O_CLOEXEC macro
H A Dset_layers_via_fds.c627 fd_tmp = open_tree(fd_tmpfs, "u", OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC); in TEST_F()
636 layer_fds[2] = open_tree(fd_tmpfs, "l1", OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC); in TEST_F()
639 layer_fds[3] = open_tree(fd_tmpfs, "l2", OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC); in TEST_F()
642 layer_fds[4] = open_tree(fd_tmpfs, "l3", OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC); in TEST_F()
645 layer_fds[5] = open_tree(fd_tmpfs, "l4", OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC); in TEST_F()
648 layer_fds[6] = open_tree(fd_tmpfs, "d1", OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC); in TEST_F()
651 layer_fds[7] = open_tree(fd_tmpfs, "d2", OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC); in TEST_F()
654 layer_fds[8] = open_tree(fd_tmpfs, "d3", OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC); in TEST_F()
/linux-6.15/tools/perf/trace/beauty/include/uapi/linux/
H A Dmount.h65 #define OPEN_TREE_CLOEXEC O_CLOEXEC /* Close the file on execve() */ macro
/linux-6.15/include/uapi/linux/
H A Dmount.h65 #define OPEN_TREE_CLOEXEC O_CLOEXEC /* Close the file on execve() */ macro
/linux-6.15/fs/
H A Dnamespace.c3161 BUILD_BUG_ON(OPEN_TREE_CLOEXEC != O_CLOEXEC); in vfs_open_tree()
3165 OPEN_TREE_CLOEXEC)) in vfs_open_tree()
/linux-6.15/tools/testing/selftests/landlock/
H A Dfs_test.c2541 AT_EMPTY_PATH | OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC); in TEST_F_FORK()