procfs: Print task uids and gids in the userns that opened the proc file
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 11 Aug 2012 19:38:26 +0000 (12:38 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 20 Nov 2012 12:18:15 +0000 (04:18 -0800)
commite9f238c3041e2582a710e75910c8cbf2a98e51b2
tree240f7aedaac495dbc17364c6318eedf2ae8ed5c2
parentb2e0d98705e60e45bbb3c0032c48824ad7ae0704
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>
fs/proc/array.c