summaryrefslogtreecommitdiff
path: root/kernel/user.c
diff options
context:
space:
mode:
authorArun R Bharadwaj <arun@linux.vnet.ibm.com>2008-12-01 18:19:05 +0300
committerIngo Molnar <mingo@elte.hu>2008-12-01 22:39:50 +0300
commit6c415b9234a8c71f290e5d4fddc467f103f32719 (patch)
treed7ba28aab68b5b38952ccc6256b7ecb701b23ed5 /kernel/user.c
parent70574a996fc7a70c5586eb56bd92a544eccf18b6 (diff)
downloadlinux-6c415b9234a8c71f290e5d4fddc467f103f32719.tar.xz
sched: add uid information to sched_debug for CONFIG_USER_SCHED
Impact: extend information in /proc/sched_debug This patch adds uid information in sched_debug for CONFIG_USER_SCHED Signed-off-by: Arun R Bharadwaj <arun@linux.vnet.ibm.com> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/user.c')
-rw-r--r--kernel/user.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/user.c b/kernel/user.c
index 39d6159fae43..cec2224bc9f5 100644
--- a/kernel/user.c
+++ b/kernel/user.c
@@ -101,6 +101,8 @@ static int sched_create_user(struct user_struct *up)
if (IS_ERR(up->tg))
rc = -ENOMEM;
+ set_tg_uid(up);
+
return rc;
}