Home
last modified time | relevance | path

Searched refs:psinfo (Results 1 – 2 of 2) sorted by relevance

/fs/
Dbinfmt_elf.c1383 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 …]
Dbinfmt_elf_fdpic.c1406 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 …]