* unshare (CLONE_NEWUTS)
@ 2017-04-01 16:08 John David Anglin
2017-04-01 16:48 ` Helge Deller
0 siblings, 1 reply; 2+ messages in thread
From: John David Anglin @ 2017-04-01 16:08 UTC (permalink / raw)
To: linux-parisc@vger.kernel.org List; +Cc: Helge Deller
[-- Attachment #1: Type: text/plain, Size: 393 bytes --]
We don't seem to support unshare (CLONE_NEWUTS):
dave@mx3210:~/unshare$ ./unshare
warning: unshare (CLONE_NEWUTS) failed: Operation not permitted
dave@mx3210:~/unshare$ su
Password:
mx3210:/home/dave/unshare# ./unshare
warning: unshare (CLONE_NEWUTS) failed: Invalid argument
This appears to cause a couple of glibc tests on trunk to fail.
Dave
--
John David Anglin dave.anglin@bell.net
[-- Attachment #2: unshare.c --]
[-- Type: application/octet-stream, Size: 206 bytes --]
#define _GNU_SOURCE
#include <sched.h>
#include <stdio.h>
#include <unistd.h>
int
main (void)
{
if (unshare (CLONE_NEWUTS) != 0)
printf ("warning: unshare (CLONE_NEWUTS) failed: %m\n");
return 0;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: unshare (CLONE_NEWUTS)
2017-04-01 16:08 unshare (CLONE_NEWUTS) John David Anglin
@ 2017-04-01 16:48 ` Helge Deller
0 siblings, 0 replies; 2+ messages in thread
From: Helge Deller @ 2017-04-01 16:48 UTC (permalink / raw)
To: John David Anglin, linux-parisc@vger.kernel.org List
On 01.04.2017 18:08, John David Anglin wrote:
> We don't seem to support unshare (CLONE_NEWUTS):
We do.
> dave@mx3210:~/unshare$ ./unshare
> warning: unshare (CLONE_NEWUTS) failed: Operation not permitted
> dave@mx3210:~/unshare$ su
> Password:
> mx3210:/home/dave/unshare# ./unshare
> warning: unshare (CLONE_NEWUTS) failed: Invalid argument
>
> This appears to cause a couple of glibc tests on trunk to fail.
Your kernel needs to be compiled with UTS support.
Testcase works on phantom (debian default kernel).
Helge
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-04-01 16:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-01 16:08 unshare (CLONE_NEWUTS) John David Anglin
2017-04-01 16:48 ` Helge Deller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.