diff options
Diffstat (limited to 'kernel/exit.c')
| -rw-r--r-- | kernel/exit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 910a0716e17a..6d85655353e9 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
| @@ -884,9 +884,9 @@ static void check_stack_usage(void) | |||
| 884 | 884 | ||
| 885 | spin_lock(&low_water_lock); | 885 | spin_lock(&low_water_lock); |
| 886 | if (free < lowest_to_date) { | 886 | if (free < lowest_to_date) { |
| 887 | printk(KERN_WARNING "%s used greatest stack depth: %lu bytes " | 887 | printk(KERN_WARNING "%s (%d) used greatest stack depth: " |
| 888 | "left\n", | 888 | "%lu bytes left\n", |
| 889 | current->comm, free); | 889 | current->comm, task_pid_nr(current), free); |
| 890 | lowest_to_date = free; | 890 | lowest_to_date = free; |
| 891 | } | 891 | } |
| 892 | spin_unlock(&low_water_lock); | 892 | spin_unlock(&low_water_lock); |
| @@ -1214,7 +1214,7 @@ static int wait_task_zombie(struct wait_opts *wo, struct task_struct *p) | |||
| 1214 | unsigned long state; | 1214 | unsigned long state; |
| 1215 | int retval, status, traced; | 1215 | int retval, status, traced; |
| 1216 | pid_t pid = task_pid_vnr(p); | 1216 | pid_t pid = task_pid_vnr(p); |
| 1217 | uid_t uid = from_kuid_munged(current_user_ns(), __task_cred(p)->uid); | 1217 | uid_t uid = from_kuid_munged(current_user_ns(), task_uid(p)); |
| 1218 | struct siginfo __user *infop; | 1218 | struct siginfo __user *infop; |
| 1219 | 1219 | ||
| 1220 | if (!likely(wo->wo_flags & WEXITED)) | 1220 | if (!likely(wo->wo_flags & WEXITED)) |
