diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2012-02-07 16:54:50 -0800 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2012-09-18 01:01:33 -0700 |
commit | f8f3d4de2d04e1a5b4293b67faee8ebabc64e9fa (patch) | |
tree | a099887284cba6d43994713cbc4ec356357fef65 /include/xen/xencomm.h | |
parent | 4bd6e32acec66c55c6c1af4672f3216b2ac88e35 (diff) | |
download | linux-f8f3d4de2d04e1a5b4293b67faee8ebabc64e9fa.tar.gz linux-f8f3d4de2d04e1a5b4293b67faee8ebabc64e9fa.tar.bz2 linux-f8f3d4de2d04e1a5b4293b67faee8ebabc64e9fa.zip |
userns: Convert bsd process accounting to use kuid and kgid where appropriate
BSD process accounting conveniently passes the file the accounting
records will be written into to do_acct_process. The file credentials
captured the user namespace of the opener of the file. Use the file
credentials to format the uid and the gid of the current process into
the user namespace of the user that started the bsd process
accounting.
Cc: Pavel Emelyanov <xemul@openvz.org>
Reviewed-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'include/xen/xencomm.h')
0 files changed, 0 insertions, 0 deletions