aboutsummaryrefslogtreecommitdiffstats
path: root/fs/binfmt_elf_fdpic.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
-rw-r--r--fs/binfmt_elf_fdpic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/binfmt_elf_fdpic.c b/fs/binfmt_elf_fdpic.c
index 9f0b7efc3df5..76f06f6bc2f6 100644
--- a/fs/binfmt_elf_fdpic.c
+++ b/fs/binfmt_elf_fdpic.c
@@ -1322,7 +1322,7 @@ static void fill_prstatus(struct elf_prstatus *prstatus,
1322 prstatus->pr_pid = p->pid; 1322 prstatus->pr_pid = p->pid;
1323 prstatus->pr_ppid = p->parent->pid; 1323 prstatus->pr_ppid = p->parent->pid;
1324 prstatus->pr_pgrp = process_group(p); 1324 prstatus->pr_pgrp = process_group(p);
1325 prstatus->pr_sid = p->signal->session; 1325 prstatus->pr_sid = process_session(p);
1326 if (thread_group_leader(p)) { 1326 if (thread_group_leader(p)) {
1327 /* 1327 /*
1328 * This is the record for the group leader. Add in the 1328 * This is the record for the group leader. Add in the
@@ -1371,7 +1371,7 @@ static int fill_psinfo(struct elf_prpsinfo *psinfo, struct task_struct *p,
1371 psinfo->pr_pid = p->pid; 1371 psinfo->pr_pid = p->pid;
1372 psinfo->pr_ppid = p->parent->pid; 1372 psinfo->pr_ppid = p->parent->pid;
1373 psinfo->pr_pgrp = process_group(p); 1373 psinfo->pr_pgrp = process_group(p);
1374 psinfo->pr_sid = p->signal->session; 1374 psinfo->pr_sid = process_session(p);
1375 1375
1376 i = p->state ? ffz(~p->state) + 1 : 0; 1376 i = p->state ? ffz(~p->state) + 1 : 0;
1377 psinfo->pr_state = i; 1377 psinfo->pr_state = i;