aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/tools/namespace-sandbox.c
Commit message (Collapse)AuthorAge
* namespace-sandbox: extracted option parsing in a methodGravatar Damien Martin-Guillerez2015-05-18
| | | | | | | Also use getopt for option parsing. -- MOS_MIGRATED_REVID=93881222
* namespace-sandbox: write "deny" to /proc/self/setgroupsGravatar Damien Martin-Guillerez2015-05-18
| | | | | | | | | | | This remove the operation not permitted when trying to write the gid mapping. The error message was the result of a change in Linux 3.19 to address a security issue. Further explanation can be found in the source example of http://man7.org/linux/man-pages/man7/user_namespaces.7.html. -- MOS_MIGRATED_REVID=93870786
* namespace-sandbox: fix usage stringGravatar Damien Martin-Guillerez2015-05-18
| | | | | | | | The root of the sandbox is specified using the -S flag whereas the first line of the program was specifying -R. -- MOS_MIGRATED_REVID=93869647
* namespace-sandbox: extract a file writing functionGravatar Damien Martin-Guillerez2015-05-18
| | | | | | | This factors the various call to open/snprintf/write/close. -- MOS_MIGRATED_REVID=93865956
* Update from Google.Gravatar Han-Wen Nienhuys2015-02-25
-- MOE_MIGRATED_REVID=85702957