Searched refs:CLONE_NEWUTS (Results 1 – 21 of 21) sorted by relevance
52 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()
250 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()
390 unshare(CLONE_NEWUTS); in TEST()458 .ns_type = CLONE_NEWNET | CLONE_NEWUTS, /* Network and UTS */ in TEST()
188 unshare(CLONE_NEWUTS); in TEST()413 if (unshare(CLONE_NEWUTS) < 0) { in TEST()
411 ret = unshare(CLONE_NEWUTS); in TEST_F()
1342 if (unshare(CLONE_NEWUTS) < 0) { in TEST()2012 if (unshare(CLONE_NEWUTS) < 0) { in TEST()
635 ret = unshare(CLONE_NEWUTS); in TEST()
173 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()
48 case CLONE_NEWUTS: in ns_debug()
87 if (!(flags & CLONE_NEWUTS)) in copy_utsname()
301 case CLONE_NEWUTS: in ns_tree_from_type()
3050 CLONE_NEWUTS|CLONE_NEWIPC|CLONE_NEWNET| in check_unshare_flags()
54 if (flags & CLONE_NEWUTS) in copy_utsname()
22 #ifndef CLONE_NEWUTS23 # define CLONE_NEWUTS 0x04000000 macro
29 #define CLONE_NEWUTS 0x04000000 /* New utsname namespace */ macro
42 if (unshare(CLONE_NEWUTS | CLONE_NEWUSER)) in main()
45 …[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()
509 case CLONE_NEWUTS: in is_current_namespace()621 case CLONE_NEWUTS: in nsfs_fh_to_dentry()
1276 ret = unshare(CLONE_NEWUTS); in run_syscall() 1297 ret = setns(original_ns, CLONE_NEWUTS); in run_syscall()