Searched refs:unshare (Results 1 – 25 of 88) sorted by relevance
1234
1 unshare system call4 This document describes the new system call, unshare(). The document42 unshare() system call adds a primitive to the Linux thread model that43 allows threads to selectively 'unshare' any resources that were being44 shared at the time of their creation. unshare() was conceptualized by46 of the discussion on POSIX threads on Linux. unshare() augments the48 shared resources without creating a new process. unshare() is a natural55 unshare() would be useful to large application frameworks such as PAM58 when creating a new process using fork or clone, unshare() can benefit61 where unshare() can be used.[all …]
21 unshare
27 EXPECT_EQ(0, unshare(CLONE_NEWUSER)); in TEST()29 EXPECT_EQ(0, unshare(CLONE_NEWPID)); in TEST()
113 ret = unshare(CLONE_NEWTIME); in TimeContainerUnshare()116 ret = unshare(CLONE_NEWTIME); in TimeContainerUnshare()135 ret = unshare(CLONE_NEWTIME); in TimeContainerUnshare()
61 ret = unshare(CLONE_NEWPID); in ChildFunClone1()93 ret = unshare(CLONE_NEWPID); in ChildFunClone1()
44 int ret = unshare(CLONE_NEWTIME); in childFunc()49 ret = unshare(CLONE_NEWTIME); in childFunc()
62 ret = unshare(CLONE_NEWPID); in ChildFunClone1()102 ret = unshare(CLONE_NEWPID); in ChildFunClone1()
83 ret = unshare(CLONE_NEWPID); in ChildFunClone1()111 ret = unshare(CLONE_NEWPID); in ChildFunClone1()
83 ret = unshare(CLONE_NEWPID); in ChildFunClone1()109 ret = unshare(CLONE_NEWPID); in ChildFunClone1()
42 ret = unshare(CLONE_NEWNS); in MntContainerUnshare()
68 int ret = unshare(CLONE_NEWTIME); in TimeContainerUnshare()
38 ret = unshare(CLONE_NEWUTS); in ChildFunc()
42 ret = unshare(CLONE_NEWNS); in ChildFunc()
46 ret = unshare(CLONE_NEWNS); in ChildFunc()
54 if (unshare(CLONE_NEWNET) == -1) { in main()75 if (unshare(CLONE_NEWNET) == -1) { in main()
53 if (unshare(CLONE_NEWIPC) == -1) { in main()74 if (unshare(CLONE_NEWIPC) == -1) { in main()
30 if (unshare(CLONE_NEWPID) == -1) { in main()
162 if (unshare(CLONE_NEWUSER) !=0) { in create_and_enter_userns()211 if (unshare(CLONE_NEWNS) != 0) { in test_unpriv_remount()225 if (unshare(CLONE_NEWNS) != 0) { in test_unpriv_remount()291 ret = unshare(CLONE_NEWNS); in test_priv_mount_unpriv_remount()
99 if (unshare(CLONE_NEWUSER) != 0) in create_and_enter_ns()111 if (unshare(CLONE_NEWNS) != 0) in create_and_enter_ns()
42 if (unshare(CLONE_NEWUTS | CLONE_NEWUSER)) in main()81 if (unshare(CLONE_NEWUSER)) in main()
128 ret = unshare(CLONE_NEWUSER); in uevent_listener()138 ret = unshare(CLONE_NEWNET); in uevent_listener()274 ret = unshare(CLONE_NEWUSER); in do_test()284 ret = unshare(CLONE_NEWNET); in do_test()
42 unshare(number); in TestUnshare()
28 if ! unshare --net $bpftool prog attach pinned \37 if unshare --net $bpftool prog attach pinned \
30 if (unshare(CLONE_NEWNS) == -1) { in main()
29 if (unshare(CLONE_NEWNS) == -1) { in main()