Home
last modified time | relevance | path

Searched refs:CLONE_NEWTIME (Results 1 - 25 of 41) sorted by relevance

12

/kernel/linux/linux-5.10/tools/testing/selftests/timens/
H A Dtimens.h12 #ifndef CLONE_NEWTIME
13 # define CLONE_NEWTIME 0x00000080 macro
56 if (unshare(CLONE_NEWTIME)) { in unshare_timens()
H A Dprocfs.c33 if (setns(fd, CLONE_NEWTIME)) in switch_ns()
62 return pr_err("The same child_ns after CLONE_NEWTIME"); in init_namespaces()
H A Dgettime_perf.c85 if (setns(nsfd, CLONE_NEWTIME)) in main()
/kernel/linux/linux-6.6/tools/testing/selftests/timens/
H A Dtimens.h12 #ifndef CLONE_NEWTIME
13 # define CLONE_NEWTIME 0x00000080 macro
56 if (unshare(CLONE_NEWTIME)) { in unshare_timens()
H A Dgettime_perf.c93 if (setns(nsfd, CLONE_NEWTIME)) in main()
/kernel/liteos_a/testsuites/unittest/container/smoke/
H A DIt_time_container_002.cpp113 ret = unshare(CLONE_NEWTIME); in TimeContainerUnshare()
116 ret = unshare(CLONE_NEWTIME); in TimeContainerUnshare()
128 auto pid = clone(childFunc, stackTop, CLONE_NEWTIME | SIGCHLD, &arg); in TimeContainerUnshare()
135 ret = unshare(CLONE_NEWTIME); in TimeContainerUnshare()
H A DIt_time_container_003.cpp55 ret = setns(fd, CLONE_NEWTIME); in childFunc()
83 ret = unshare(CLONE_NEWTIME); in TimeContainerUnshare()
89 auto pid = clone(childFunc, stackTop, CLONE_NEWTIME | SIGCHLD, &arg); in TimeContainerUnshare()
H A DIt_time_container_006.cpp44 int ret = unshare(CLONE_NEWTIME); in childFunc()
49 ret = unshare(CLONE_NEWTIME); in childFunc()
86 auto pid1 = clone(childFunc, stackTop, CLONE_NEWTIME, NULL); in ItTimeContainer006()
H A DIt_time_container_004.cpp94 ret = unshare(CLONE_NEWTIME); in TimeContainerUnshare()
103 auto pid = clone(childFunc, stackTop, CLONE_NEWTIME | SIGCHLD, &tp); in TimeContainerUnshare()
H A DIt_time_container_005.cpp94 ret = unshare(CLONE_NEWTIME); in TimeContainerUnshare()
103 auto pid = clone(childFunc, stackTop, CLONE_NEWTIME | SIGCHLD, &tp); in TimeContainerUnshare()
H A DIt_time_container_001.cpp59 auto pid = clone(childFunc, stackTop, CLONE_NEWTIME | SIGCHLD, &arg); in ItTimeContainer001()
H A DIt_time_container_010.cpp58 auto pid = clone(childFunc, stackTop, CLONE_NEWTIME | SIGCHLD, &arg); in ItTimeContainer010()
H A DIt_time_container_008.cpp68 int ret = unshare(CLONE_NEWTIME); in TimeContainerUnshare()
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/
H A Dpidfd.h25 #ifndef CLONE_NEWTIME
26 #define CLONE_NEWTIME 0x00000080 macro
H A Dpidfd_setns_test.c49 [PIDFD_NS_TIME] = { "time", CLONE_NEWTIME, },
90 if (unshare(CLONE_NEWTIME)) in switch_timens()
97 ret = setns(fd, CLONE_NEWTIME); in switch_timens()
/kernel/linux/linux-6.6/tools/testing/selftests/pidfd/
H A Dpidfd.h25 #ifndef CLONE_NEWTIME
26 #define CLONE_NEWTIME 0x00000080 macro
/kernel/linux/linux-5.10/kernel/
H A Dnsproxy.c161 CLONE_NEWCGROUP | CLONE_NEWTIME)))) { in copy_namespaces()
225 CLONE_NEWTIME))) in unshare_nsproxy_namespaces()
271 CLONE_NEWNET | CLONE_NEWTIME | CLONE_NEWUSER | in check_setns_flags()
300 if (flags & CLONE_NEWTIME) in check_setns_flags()
478 if (flags & CLONE_NEWTIME) { in validate_nsset()
529 if (flags & CLONE_NEWTIME) in commit_nsset()
/kernel/linux/linux-6.6/kernel/
H A Dnsproxy.c160 CLONE_NEWCGROUP | CLONE_NEWTIME)))) { in copy_namespaces()
222 CLONE_NEWTIME))) in unshare_nsproxy_namespaces()
285 CLONE_NEWNET | CLONE_NEWTIME | CLONE_NEWUSER | in check_setns_flags()
314 if (flags & CLONE_NEWTIME) in check_setns_flags()
492 if (flags & CLONE_NEWTIME) { in validate_nsset()
543 if (flags & CLONE_NEWTIME) in commit_nsset()
/kernel/liteos_a/kernel/extended/container/
H A Dlos_time_container.c109 if (!(flags & CLONE_NEWTIME)) { in OsUnshareTimeContainer()
150 if (flags & CLONE_NEWTIME) { in OsSetNsTimeContainer()
/kernel/linux/linux-5.10/tools/include/uapi/linux/
H A Dsched.h44 #define CLONE_NEWTIME 0x00000080 /* New time namespace */ macro
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dsched.h44 #define CLONE_NEWTIME 0x00000080 /* New time namespace */ macro
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dsched.h44 #define CLONE_NEWTIME 0x00000080 /* New time namespace */ macro
/kernel/linux/linux-6.6/tools/include/uapi/linux/
H A Dsched.h44 #define CLONE_NEWTIME 0x00000080 /* New time namespace */ macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dsched.h49 #define CLONE_NEWTIME 0x00000080 macro
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dsched.h49 #define CLONE_NEWTIME 0x00000080 macro

Completed in 10 milliseconds

12