Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/timens/
Dtimens.h12 #ifndef CLONE_NEWTIME
13 # define CLONE_NEWTIME 0x00000080 macro
56 if (unshare(CLONE_NEWTIME)) { in unshare_timens()
Dgettime_perf.c93 if (setns(nsfd, CLONE_NEWTIME)) in main()
Dclock_nanosleep.c136 if (setns(nsfd, CLONE_NEWTIME)) in main()
Dprocfs.c31 if (setns(fd, CLONE_NEWTIME)) in switch_ns()
Dtimens.c50 if (setns(fd, CLONE_NEWTIME)) { in switch_ns()
/linux-6.12.1/tools/testing/selftests/pidfd/
Dpidfd.h25 #ifndef CLONE_NEWTIME
26 #define CLONE_NEWTIME 0x00000080 macro
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-6.12.1/kernel/
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()
Dfork.c3041 if (kargs->flags & (CLONE_DETACHED | (CSIGNAL & (~CLONE_NEWTIME)))) in clone3_args_valid()
3192 CLONE_NEWTIME)) in check_unshare_flags()
/linux-6.12.1/kernel/time/
Dnamespace.c136 if (!(flags & CLONE_NEWTIME)) in copy_time_ns()
462 .type = CLONE_NEWTIME,
472 .type = CLONE_NEWTIME,
/linux-6.12.1/tools/perf/trace/beauty/include/uapi/linux/
Dsched.h44 #define CLONE_NEWTIME 0x00000080 /* New time namespace */ macro
/linux-6.12.1/include/uapi/linux/
Dsched.h44 #define CLONE_NEWTIME 0x00000080 /* New time namespace */ macro
/linux-6.12.1/include/linux/
Dtime_namespace.h135 if (flags & CLONE_NEWTIME) in copy_time_ns()
/linux-6.12.1/tools/testing/selftests/clone3/
Dclone3.c298 .flags = CLONE_NEWTIME,
/linux-6.12.1/tools/testing/selftests/vDSO/
Dvdso_test_getrandom.c255 ksft_assert(unshare(CLONE_NEWTIME) == 0); in kselftest()