diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2015-02-12 11:12:47 +0100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2015-03-04 15:11:02 +0100 |
| commit | f72de267d90a83e6767d79363098b74f9123a35e (patch) | |
| tree | de5e36776343c4c6a5eec113b575fe5de7bdc2dd /man7/user_namespaces.7 | |
| parent | 364ce93556e97f2b924765e67c52071a652e00a9 (diff) | |
| download | man-pages-f72de267d90a83e6767d79363098b74f9123a35e.tar.gz | |
user_namespaces.7: srcfix: FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7/user_namespaces.7')
| -rw-r--r-- | man7/user_namespaces.7 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/man7/user_namespaces.7 b/man7/user_namespaces.7 index d637eac199..bcb9d7252f 100644 --- a/man7/user_namespaces.7 +++ b/man7/user_namespaces.7 @@ -1031,6 +1031,13 @@ main(int argc, char *argv[]) argv[0], (long) child_pid); /* Update the UID and GID maps in the child */ +.\" FIXME: Alban Crequy notes: +.\" The program userns_child_exec.c in user_namespaces.7 should be updated +.\" to write in /proc/.../setgroups, near the line: +.\" /* Update the UID and GID maps in the child */ +.\" +.\" Otherwise, the example given in the manpage does not work: +.\" $ ./userns_child_exec -p -m -U -M '0 1000 1' -G '0 1000 1' bash if (uid_map != NULL || map_zero) { snprintf(map_path, PATH_MAX, "/proc/%ld/uid_map", |
