Home
last modified time | relevance | path

Searched refs:CLONE_NEWTIME (Results 1 – 22 of 22) 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.c95 if (setns(nsfd, CLONE_NEWTIME)) in main()
H A Dprocfs.c31 if (setns(fd, CLONE_NEWTIME)) in switch_ns()
60 return pr_err("The same child_ns after CLONE_NEWTIME"); in init_namespaces()
H A Dclock_nanosleep.c138 if (setns(nsfd, CLONE_NEWTIME)) in main()
H A Dtimens.c50 if (setns(fd, CLONE_NEWTIME)) { in switch_ns()
83 return pr_perror("The same child_ns after CLONE_NEWTIME"); in init_namespaces()
/linux/kernel/
H A Dnsproxy.c175 CLONE_NEWCGROUP | CLONE_NEWTIME)))) { in copy_namespaces()
219 CLONE_NEWTIME))) in unshare_nsproxy_namespaces()
296 CLONE_NEWNET | CLONE_NEWTIME | CLONE_NEWUSER | in check_setns_flags()
325 if (flags & CLONE_NEWTIME) in check_setns_flags()
503 if (flags & CLONE_NEWTIME) { in validate_nsset()
554 if (flags & CLONE_NEWTIME) in commit_nsset()
H A Dnscommon.c38 case CLONE_NEWTIME: in ns_debug()
H A Dnstree.c303 case CLONE_NEWTIME: in ns_tree_from_type()
H A Dfork.c2904 if (kargs->flags & (CLONE_DETACHED | (CSIGNAL & (~CLONE_NEWTIME)))) in clone3_args_valid()
3050 CLONE_NEWTIME)) in check_unshare_flags()
/linux/tools/testing/selftests/pidfd/
H A Dpidfd.h39 #ifndef CLONE_NEWTIME
40 #define CLONE_NEWTIME 0x00000080 macro
H A Dpidfd_setns_test.c49 …[PIDFD_NS_TIME] = { "time", CLONE_NEWTIME, PIDFD_GET_TIME_NAMESPACE, …
79 if (unshare(CLONE_NEWTIME)) in switch_timens()
86 ret = setns(fd, CLONE_NEWTIME); in switch_timens()
/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/tools/perf/trace/beauty/include/uapi/linux/
H A Dsched.h44 #define CLONE_NEWTIME 0x00000080 /* New time namespace */ macro
/linux/include/linux/
H A Dtime_namespace.h145 if (flags & CLONE_NEWTIME) in copy_time_ns()
/linux/include/linux/ns/
H A Dns_common_types.h192 struct time_namespace *: CLONE_NEWTIME, \
/linux/tools/testing/selftests/clone3/
H A Dclone3.c298 .flags = CLONE_NEWTIME,
/linux/fs/
H A Dnsfs.c475 case CLONE_NEWTIME: in is_current_namespace()
583 case CLONE_NEWTIME: in nsfs_fh_to_dentry()
/linux/kernel/time/
H A Dnamespace.c135 if (!(flags & CLONE_NEWTIME)) in copy_time_ns()
/linux/tools/testing/selftests/vDSO/
H A Dvdso_test_getrandom.c256 ksft_assert(unshare(CLONE_NEWTIME) == 0); in kselftest()
/linux/tools/testing/selftests/namespaces/
H A Dnsid_test.c629 ret = unshare(CLONE_NEWTIME); in TEST_F()
H A Dfile_handle_test.c1303 ret = unshare(CLONE_NEWTIME); in TEST()