userns: Teach trace to use from_kuid
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 13 Mar 2012 23:02:19 +0000 (16:02 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 18 Sep 2012 08:01:34 +0000 (01:01 -0700)
commitd20b92ab668cc44fc84bba0001839c5a8013a5cd
tree6a9f99ed0aa7563fcc990f9ec36ae2704672a961
parentf8f3d4de2d04e1a5b4293b67faee8ebabc64e9fa
userns: Teach trace to use from_kuid

- When tracing capture the kuid.
- When displaying the data to user space convert the kuid into the
  user namespace of the process that opened the report file.

Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
init/Kconfig
kernel/trace/trace.c
kernel/trace/trace.h