Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/tools/testing/selftests/pidfd/
Dpidfd.h25 #ifndef CLONE_NEWTIME
26 #define CLONE_NEWTIME 0x00000080 macro
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()
/linux-6.1.9/kernel/
Dnsproxy.c159 CLONE_NEWCGROUP | CLONE_NEWTIME)))) { in copy_namespaces()
219 CLONE_NEWTIME))) in unshare_nsproxy_namespaces()
260 CLONE_NEWNET | CLONE_NEWTIME | CLONE_NEWUSER | in check_setns_flags()
289 if (flags & CLONE_NEWTIME) in check_setns_flags()
467 if (flags & CLONE_NEWTIME) { in validate_nsset()
518 if (flags & CLONE_NEWTIME) in commit_nsset()
Dfork.c3071 CLONE_NEWTIME)) in check_unshare_flags()
/linux-6.1.9/kernel/time/
Dnamespace.c136 if (!(flags & CLONE_NEWTIME)) in copy_time_ns()
444 .type = CLONE_NEWTIME,
454 .type = CLONE_NEWTIME,
/linux-6.1.9/tools/include/uapi/linux/
Dsched.h44 #define CLONE_NEWTIME 0x00000080 /* New time namespace */ macro
/linux-6.1.9/include/uapi/linux/
Dsched.h44 #define CLONE_NEWTIME 0x00000080 /* New time namespace */ macro
/linux-6.1.9/include/linux/
Dtime_namespace.h132 if (flags & CLONE_NEWTIME) in copy_time_ns()