diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2012-08-11 21:38:26 +0200 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2012-11-20 13:18:15 +0100 |
commit | e9f238c3041e2582a710e75910c8cbf2a98e51b2 (patch) | |
tree | 240f7aedaac495dbc17364c6318eedf2ae8ed5c2 /kernel/user_namespace.c | |
parent | userns: Implement unshare of the user namespace (diff) | |
download | linux-e9f238c3041e2582a710e75910c8cbf2a98e51b2.tar.xz linux-e9f238c3041e2582a710e75910c8cbf2a98e51b2.zip |
procfs: Print task uids and gids in the userns that opened the proc file
Instead of using current_userns() use the userns of the opener
of the file so that if the file is passed between processes
the contents of the file do not change.
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'kernel/user_namespace.c')
0 files changed, 0 insertions, 0 deletions