/kernel/linux/linux-5.10/tools/testing/selftests/timens/ |
H A D | timens.h | 12 #ifndef CLONE_NEWTIME 13 # define CLONE_NEWTIME 0x00000080 macro 56 if (unshare(CLONE_NEWTIME)) { in unshare_timens()
|
H A D | procfs.c | 33 if (setns(fd, CLONE_NEWTIME)) in switch_ns() 62 return pr_err("The same child_ns after CLONE_NEWTIME"); in init_namespaces()
|
H A D | gettime_perf.c | 85 if (setns(nsfd, CLONE_NEWTIME)) in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/timens/ |
H A D | timens.h | 12 #ifndef CLONE_NEWTIME 13 # define CLONE_NEWTIME 0x00000080 macro 56 if (unshare(CLONE_NEWTIME)) { in unshare_timens()
|
H A D | gettime_perf.c | 93 if (setns(nsfd, CLONE_NEWTIME)) in main()
|
/kernel/liteos_a/testsuites/unittest/container/smoke/ |
H A D | It_time_container_002.cpp | 113 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 D | It_time_container_003.cpp | 55 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 D | It_time_container_006.cpp | 44 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 D | It_time_container_004.cpp | 94 ret = unshare(CLONE_NEWTIME); in TimeContainerUnshare() 103 auto pid = clone(childFunc, stackTop, CLONE_NEWTIME | SIGCHLD, &tp); in TimeContainerUnshare()
|
H A D | It_time_container_005.cpp | 94 ret = unshare(CLONE_NEWTIME); in TimeContainerUnshare() 103 auto pid = clone(childFunc, stackTop, CLONE_NEWTIME | SIGCHLD, &tp); in TimeContainerUnshare()
|
H A D | It_time_container_001.cpp | 59 auto pid = clone(childFunc, stackTop, CLONE_NEWTIME | SIGCHLD, &arg); in ItTimeContainer001()
|
H A D | It_time_container_010.cpp | 58 auto pid = clone(childFunc, stackTop, CLONE_NEWTIME | SIGCHLD, &arg); in ItTimeContainer010()
|
H A D | It_time_container_008.cpp | 68 int ret = unshare(CLONE_NEWTIME); in TimeContainerUnshare()
|
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/ |
H A D | pidfd.h | 25 #ifndef CLONE_NEWTIME 26 #define CLONE_NEWTIME 0x00000080 macro
|
H A D | pidfd_setns_test.c | 49 [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 D | pidfd.h | 25 #ifndef CLONE_NEWTIME 26 #define CLONE_NEWTIME 0x00000080 macro
|
/kernel/linux/linux-5.10/kernel/ |
H A D | nsproxy.c | 161 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 D | nsproxy.c | 160 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 D | los_time_container.c | 109 if (!(flags & CLONE_NEWTIME)) { in OsUnshareTimeContainer() 150 if (flags & CLONE_NEWTIME) { in OsSetNsTimeContainer()
|
/kernel/linux/linux-5.10/tools/include/uapi/linux/ |
H A D | sched.h | 44 #define CLONE_NEWTIME 0x00000080 /* New time namespace */ macro
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | sched.h | 44 #define CLONE_NEWTIME 0x00000080 /* New time namespace */ macro
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | sched.h | 44 #define CLONE_NEWTIME 0x00000080 /* New time namespace */ macro
|
/kernel/linux/linux-6.6/tools/include/uapi/linux/ |
H A D | sched.h | 44 #define CLONE_NEWTIME 0x00000080 /* New time namespace */ macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | sched.h | 49 #define CLONE_NEWTIME 0x00000080 macro
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | sched.h | 49 #define CLONE_NEWTIME 0x00000080 macro
|