Home
last modified time | relevance | path

Searched refs:CLONE_NEWTIME (Results 1 – 14 of 14) sorted by relevance

/linux/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()
H A Dprocfs.c31 if (setns(fd, CLONE_NEWTIME)) in switch_ns()
H A Dclock_nanosleep.c136 if (setns(nsfd, CLONE_NEWTIME)) in main()
H A Dtimens.c50 if (setns(fd, CLONE_NEWTIME)) { in switch_ns()
/linux/kernel/
H A Dnsproxy.c159 CLONE_NEWCGROUP | CLONE_NEWTIME)))) { in copy_namespaces()
221 CLONE_NEWTIME))) in unshare_nsproxy_namespaces()
279 CLONE_NEWNET | CLONE_NEWTIME | CLONE_NEWUSER | in check_setns_flags()
308 if (flags & CLONE_NEWTIME) in check_setns_flags()
486 if (flags & CLONE_NEWTIME) { in validate_nsset()
537 if (flags & CLONE_NEWTIME) in commit_nsset()
H A Dfork.c3035 if (kargs->flags & (CLONE_DETACHED | (CSIGNAL & (~CLONE_NEWTIME)))) in clone3_args_valid()
3186 CLONE_NEWTIME)) in check_unshare_flags()
/linux/tools/testing/selftests/pidfd/
H A Dpidfd.h25 #ifndef CLONE_NEWTIME
26 #define CLONE_NEWTIME 0x00000080 macro
H A Dpidfd_setns_test.c95 …[PIDFD_NS_TIME] = { "time", CLONE_NEWTIME, PIDFD_GET_TIME_NAMESPACE, …
141 if (unshare(CLONE_NEWTIME)) in switch_timens()
148 ret = setns(fd, CLONE_NEWTIME); in switch_timens()
/linux/kernel/time/
H A Dnamespace.c136 if (!(flags & CLONE_NEWTIME)) in copy_time_ns()
462 .type = CLONE_NEWTIME,
472 .type = CLONE_NEWTIME,
/linux/tools/include/uapi/linux/
H A Dsched.h
/linux/include/uapi/linux/
H A Dsched.h44 #define CLONE_NEWTIME 0x00000080 /* New time namespace */ macro
/linux/include/linux/
H A Dtime_namespace.h135 if (flags & CLONE_NEWTIME) in copy_time_ns()
/linux/tools/testing/selftests/clone3/
H A Dclone3.c298 .flags = CLONE_NEWTIME,