summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2012-02-07 16:54:50 -0800
committerEric W. Biederman <ebiederm@xmission.com>2012-09-18 01:01:33 -0700
commitf8f3d4de2d04e1a5b4293b67faee8ebabc64e9fa (patch)
treea099887284cba6d43994713cbc4ec356357fef65 /init
parent4bd6e32acec66c55c6c1af4672f3216b2ac88e35 (diff)
downloadop-kernel-dev-f8f3d4de2d04e1a5b4293b67faee8ebabc64e9fa.zip
op-kernel-dev-f8f3d4de2d04e1a5b4293b67faee8ebabc64e9fa.tar.gz
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 'init')
-rw-r--r--init/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/init/Kconfig b/init/Kconfig
index f0f636c..6de46ef 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -931,7 +931,6 @@ config UIDGID_CONVERTED
depends on FS_POSIX_ACL = n
depends on QUOTA = n
depends on QUOTACTL = n
- depends on BSD_PROCESS_ACCT = n
# Networking
depends on NET_9P = n
OpenPOWER on IntegriCloud