Home
last modified time | relevance | path

Searched refs:CLONE_NEWUTS (Results 1 – 21 of 21) sorted by relevance

/linux/tools/testing/selftests/namespaces/
H A Dregression_pidfd_setns_test.c52 if (unshare(CLONE_NEWUTS | CLONE_NEWIPC | CLONE_NEWNET | CLONE_NEWUSER) < 0) { in TEST()
74 ret = setns(pidfd, CLONE_NEWUTS | CLONE_NEWIPC); in TEST()
95 child_pid = create_child(&pidfd, CLONE_NEWUSER | CLONE_NEWUTS | CLONE_NEWIPC | CLONE_NEWNET); in TEST()
108 ret = setns(pidfd, CLONE_NEWUTS | CLONE_NEWIPC); in TEST()
H A Dstress_test.c250 if (unshare(CLONE_NEWUTS) < 0) in TEST()
568 .ns_type = CLONE_NEWUSER | CLONE_NEWNET | CLONE_NEWUTS, in TEST()
602 if (unshare(CLONE_NEWUTS) < 0) in TEST()
H A Dlistns_test.c390 unshare(CLONE_NEWUTS); in TEST()
458 .ns_type = CLONE_NEWNET | CLONE_NEWUTS, /* Network and UTS */ in TEST()
H A Dlistns_permissions_test.c188 unshare(CLONE_NEWUTS); in TEST()
413 if (unshare(CLONE_NEWUTS) < 0) { in TEST()
H A Dnsid_test.c411 ret = unshare(CLONE_NEWUTS); in TEST_F()
H A Dns_active_ref_test.c1342 if (unshare(CLONE_NEWUTS) < 0) { in TEST()
2012 if (unshare(CLONE_NEWUTS) < 0) { in TEST()
H A Dfile_handle_test.c635 ret = unshare(CLONE_NEWUTS); in TEST()
/linux/kernel/
H A Dnsproxy.c173 if (likely(!(flags & (CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC | in copy_namespaces()
217 if (!(unshare_flags & (CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC | in unshare_nsproxy_namespaces()
295 if (!flags || (flags & ~(CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC | in check_setns_flags()
309 if (flags & CLONE_NEWUTS) in check_setns_flags()
463 if (flags & CLONE_NEWUTS) { in validate_nsset()
H A Dnscommon.c48 case CLONE_NEWUTS: in ns_debug()
H A Dutsname.c87 if (!(flags & CLONE_NEWUTS)) in copy_utsname()
H A Dnstree.c301 case CLONE_NEWUTS: in ns_tree_from_type()
H A Dfork.c3050 CLONE_NEWUTS|CLONE_NEWIPC|CLONE_NEWNET| in check_unshare_flags()
/linux/include/linux/
H A Duts_namespace.h54 if (flags & CLONE_NEWUTS) in copy_utsname()
/linux/tools/include/uapi/linux/
H A Dsched.h
/linux/tools/testing/selftests/mount/
H A Dunprivileged-remount-test.c22 #ifndef CLONE_NEWUTS
23 # define CLONE_NEWUTS 0x04000000 macro
/linux/include/uapi/linux/
H A Dsched.h29 #define CLONE_NEWUTS 0x04000000 /* New utsname namespace */ macro
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dsched.h29 #define CLONE_NEWUTS 0x04000000 /* New utsname namespace */ macro
/linux/tools/testing/selftests/filesystems/nsfs/
H A Downer.c42 if (unshare(CLONE_NEWUTS | CLONE_NEWUSER)) in main()
/linux/tools/testing/selftests/pidfd/
H A Dpidfd_setns_test.c45 …[PIDFD_NS_UTS] = { "uts", CLONE_NEWUTS, PIDFD_GET_UTS_NAMESPACE, …
184 if (self->nsfds[PIDFD_NS_UTS] >= 0 && unshare(CLONE_NEWUTS) < 0) { in FIXTURE_SETUP()
238 if (self->nsfds[PIDFD_NS_UTS] >= 0 && unshare(CLONE_NEWUTS) < 0) { in FIXTURE_SETUP()
/linux/fs/
H A Dnsfs.c509 case CLONE_NEWUTS: in is_current_namespace()
621 case CLONE_NEWUTS: in nsfs_fh_to_dentry()
/linux/tools/testing/selftests/nolibc/
H A Dnolibc-test.c1276 ret = unshare(CLONE_NEWUTS); in run_syscall()
1297 ret = setns(original_ns, CLONE_NEWUTS); in run_syscall()