diff options
author | Arun R Bharadwaj <arun@linux.vnet.ibm.com> | 2008-12-01 20:49:05 +0530 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-01 20:39:50 +0100 |
commit | 6c415b9234a8c71f290e5d4fddc467f103f32719 (patch) | |
tree | d7ba28aab68b5b38952ccc6256b7ecb701b23ed5 /kernel/user.c | |
parent | 70574a996fc7a70c5586eb56bd92a544eccf18b6 (diff) | |
download | linux-6c415b9234a8c71f290e5d4fddc467f103f32719.tar.bz2 |
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.c | 2 |
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; } |