Searched refs:psinfo (Results 1 – 2 of 2) sorted by relevance
/fs/ |
D | binfmt_elf.c | 1383 static int fill_psinfo(struct elf_prpsinfo *psinfo, struct task_struct *p, in fill_psinfo() argument 1390 memset(psinfo, 0, sizeof(struct elf_prpsinfo)); in fill_psinfo() 1395 if (copy_from_user(&psinfo->pr_psargs, in fill_psinfo() 1399 if (psinfo->pr_psargs[i] == 0) in fill_psinfo() 1400 psinfo->pr_psargs[i] = ' '; in fill_psinfo() 1401 psinfo->pr_psargs[len] = 0; in fill_psinfo() 1403 psinfo->pr_pid = task_pid_vnr(p); in fill_psinfo() 1404 psinfo->pr_ppid = task_pid_vnr(p->real_parent); in fill_psinfo() 1405 psinfo->pr_pgrp = task_pgrp_vnr(p); in fill_psinfo() 1406 psinfo->pr_sid = task_session_vnr(p); in fill_psinfo() [all …]
|
D | binfmt_elf_fdpic.c | 1406 static int fill_psinfo(struct elf_prpsinfo *psinfo, struct task_struct *p, in fill_psinfo() argument 1413 memset(psinfo, 0, sizeof(struct elf_prpsinfo)); in fill_psinfo() 1418 if (copy_from_user(&psinfo->pr_psargs, in fill_psinfo() 1422 if (psinfo->pr_psargs[i] == 0) in fill_psinfo() 1423 psinfo->pr_psargs[i] = ' '; in fill_psinfo() 1424 psinfo->pr_psargs[len] = 0; in fill_psinfo() 1426 psinfo->pr_pid = task_pid_vnr(p); in fill_psinfo() 1427 psinfo->pr_ppid = task_pid_vnr(p->parent); in fill_psinfo() 1428 psinfo->pr_pgrp = task_pgrp_vnr(p); in fill_psinfo() 1429 psinfo->pr_sid = task_session_vnr(p); in fill_psinfo() [all …]
|