xfstests: add nsexec user namespace helper
authorDwight Engen <dwight.engen@oracle.com>
Thu, 27 Jun 2013 16:03:28 +0000 (16:03 +0000)
committerRich Johnston <rjohnston@sgi.com>
Mon, 19 Aug 2013 14:40:12 +0000 (09:40 -0500)
commit3f424be6396205edd6aec1d46de04349aebe9306
tree008055e813f7281baa5de94edd11244b6b87439a
parent0150222d1ceed701a637e0d271ddd36e4f489f7a
xfstests: add nsexec user namespace helper

Add new program nsexec to facilitate creating/entering a user namespace. The
original source for the program is https://lwn.net/Articles/539940. I added
the -s option to become "root" in the user namespace.

Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Reviewed-by: <rjohnston@sgi.com>
Signed-off-by: <rjohnston@sgi.com>
.gitignore
src/Makefile
src/nsexec.c [new file with mode: 0644]