|
|
Subscribe / Log in / New account

userns_setns_test.c

userns_setns_test.c

Posted Oct 12, 2014 18:18 UTC (Sun) by pto (guest, #5753)
Parent article: userns_setns_test.c

I think the line:

if (setns(fd, CLONE_NEWNS) == -1)

should be:

if (setns(fd, CLONE_NEWUSER) == -1)


to post comments

userns_setns_test.c

Posted Mar 8, 2015 19:11 UTC (Sun) by mkerrisk (subscriber, #1978) [Link]

Indeed! Somehow, I uploaded a mis-edited version of the program. That line should be
    if (setns(fd, CLONE_NEWUSER) == -1)
I'll ping the folk at LWN.net to get a fix in the version shown


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds