array.c (3d5271f9883cba7b54762bc4fe027d4172f06db7) array.c (347a8dc3b815f0c0fa62a1df075184ffe4cbdcf1)
1/*
2 * linux/fs/proc/array.c
3 *
4 * Copyright (C) 1992 by Linus Torvalds
5 * based on ideas by Darren Senn
6 *
7 * Fixes:
8 * Michael. K. Johnson: stat,statm extensions.

--- 294 unchanged lines hidden (view full) ---

303
304 if (mm) {
305 buffer = task_mem(mm, buffer);
306 mmput(mm);
307 }
308 buffer = task_sig(task, buffer);
309 buffer = task_cap(task, buffer);
310 buffer = cpuset_task_status_allowed(task, buffer);
1/*
2 * linux/fs/proc/array.c
3 *
4 * Copyright (C) 1992 by Linus Torvalds
5 * based on ideas by Darren Senn
6 *
7 * Fixes:
8 * Michael. K. Johnson: stat,statm extensions.

--- 294 unchanged lines hidden (view full) ---

303
304 if (mm) {
305 buffer = task_mem(mm, buffer);
306 mmput(mm);
307 }
308 buffer = task_sig(task, buffer);
309 buffer = task_cap(task, buffer);
310 buffer = cpuset_task_status_allowed(task, buffer);
311#if defined(CONFIG_ARCH_S390)
311#if defined(CONFIG_S390)
312 buffer = task_show_regs(task, buffer);
313#endif
314 return buffer - orig;
315}
316
317static int do_task_stat(struct task_struct *task, char * buffer, int whole)
318{
319 unsigned long vsize, eip, esp, wchan = ~0UL;

--- 171 unchanged lines hidden ---
312 buffer = task_show_regs(task, buffer);
313#endif
314 return buffer - orig;
315}
316
317static int do_task_stat(struct task_struct *task, char * buffer, int whole)
318{
319 unsigned long vsize, eip, esp, wchan = ~0UL;

--- 171 unchanged lines hidden ---