tag | line | file | source code |
psinfo | 914 | fs/binfmt_elf.c | struct elf_prpsinfo psinfo; /* NT_PRPSINFO */ |
psinfo | 1002 | fs/binfmt_elf.c | memset(&psinfo, 0, sizeof(psinfo)); |
psinfo | 1012 | fs/binfmt_elf.c | psinfo.pr_pid = prstatus.pr_pid = current->pid; |
psinfo | 1013 | fs/binfmt_elf.c | psinfo.pr_ppid = prstatus.pr_ppid = current->p_pptr->pid; |
psinfo | 1014 | fs/binfmt_elf.c | psinfo.pr_pgrp = prstatus.pr_pgrp = current->pgrp; |
psinfo | 1015 | fs/binfmt_elf.c | psinfo.pr_sid = prstatus.pr_sid = current->session; |
psinfo | 1039 | fs/binfmt_elf.c | notes[1].datasz = sizeof(psinfo); |
psinfo | 1040 | fs/binfmt_elf.c | notes[1].data = &psinfo; |
psinfo | 1041 | fs/binfmt_elf.c | psinfo.pr_state = current->state; |
psinfo | 1042 | fs/binfmt_elf.c | psinfo.pr_sname = (current->state < 0 || current->state > 5) ? '.' : "RSDZTD"[current->state]; |
psinfo | 1043 | fs/binfmt_elf.c | psinfo.pr_zomb = psinfo.pr_sname == 'Z'; |
psinfo | 1044 | fs/binfmt_elf.c | psinfo.pr_nice = current->priority-15; |
psinfo | 1045 | fs/binfmt_elf.c | psinfo.pr_flag = current->flags; |
psinfo | 1046 | fs/binfmt_elf.c | psinfo.pr_uid = current->uid; |
psinfo | 1047 | fs/binfmt_elf.c | psinfo.pr_gid = current->gid; |
psinfo | 1055 | fs/binfmt_elf.c | memcpy_fromfs(&psinfo.pr_psargs, |
psinfo | 1058 | fs/binfmt_elf.c | if (psinfo.pr_psargs[i] == 0) |
psinfo | 1059 | fs/binfmt_elf.c | psinfo.pr_psargs[i] = ' '; |
psinfo | 1060 | fs/binfmt_elf.c | psinfo.pr_psargs[len] = 0; |
psinfo | 1064 | fs/binfmt_elf.c | strncpy(psinfo.pr_fname, current->comm, sizeof(psinfo.pr_fname)); |