tag | line | file | source code |
psinfo | 942 | fs/binfmt_elf.c | struct elf_prpsinfo psinfo; /* NT_PRPSINFO */ |
psinfo | 1030 | fs/binfmt_elf.c | memset(&psinfo, 0, sizeof(psinfo)); |
psinfo | 1040 | fs/binfmt_elf.c | psinfo.pr_pid = prstatus.pr_pid = current->pid; |
psinfo | 1041 | fs/binfmt_elf.c | psinfo.pr_ppid = prstatus.pr_ppid = current->p_pptr->pid; |
psinfo | 1042 | fs/binfmt_elf.c | psinfo.pr_pgrp = prstatus.pr_pgrp = current->pgrp; |
psinfo | 1043 | fs/binfmt_elf.c | psinfo.pr_sid = prstatus.pr_sid = current->session; |
psinfo | 1067 | fs/binfmt_elf.c | notes[1].datasz = sizeof(psinfo); |
psinfo | 1068 | fs/binfmt_elf.c | notes[1].data = &psinfo; |
psinfo | 1069 | fs/binfmt_elf.c | psinfo.pr_state = current->state; |
psinfo | 1070 | fs/binfmt_elf.c | psinfo.pr_sname = (current->state < 0 || current->state > 5) ? '.' : "RSDZTD"[current->state]; |
psinfo | 1071 | fs/binfmt_elf.c | psinfo.pr_zomb = psinfo.pr_sname == 'Z'; |
psinfo | 1072 | fs/binfmt_elf.c | psinfo.pr_nice = current->priority-15; |
psinfo | 1073 | fs/binfmt_elf.c | psinfo.pr_flag = current->flags; |
psinfo | 1074 | fs/binfmt_elf.c | psinfo.pr_uid = current->uid; |
psinfo | 1075 | fs/binfmt_elf.c | psinfo.pr_gid = current->gid; |
psinfo | 1083 | fs/binfmt_elf.c | memcpy_fromfs(&psinfo.pr_psargs, |
psinfo | 1086 | fs/binfmt_elf.c | if (psinfo.pr_psargs[i] == 0) |
psinfo | 1087 | fs/binfmt_elf.c | psinfo.pr_psargs[i] = ' '; |
psinfo | 1088 | fs/binfmt_elf.c | psinfo.pr_psargs[len] = 0; |
psinfo | 1092 | fs/binfmt_elf.c | strncpy(psinfo.pr_fname, current->comm, sizeof(psinfo.pr_fname)); |