/freebsd/lib/libc/gen/ |
H A D | setproctitle.c | 69 static struct ps_strings *ps_strings; in setproctitle_internal() local 121 if (ps_strings == NULL) in setproctitle_internal() 122 (void)_elf_aux_info(AT_PS_STRINGS, &ps_strings, in setproctitle_internal() 123 sizeof(ps_strings)); in setproctitle_internal() 125 if (ps_strings == NULL) { in setproctitle_internal() 130 ps_strings = (struct ps_strings *)ul_ps_strings; in setproctitle_internal() 133 if (ps_strings == NULL) in setproctitle_internal() 140 if (ps_strings->ps_argvstr == NULL) in setproctitle_internal() 146 oargc = ps_strings->ps_nargvstr; in setproctitle_internal() 147 oargv = ps_strings->ps_argvstr; in setproctitle_internal() [all …]
|
/freebsd/lib/csu/arm/ |
H A D | crt1_c.c | 51 struct ps_strings; 54 void (*)(void), struct ps_strings *) __dead2; 56 struct ps_strings *__ps_strings; 58 void __start(int, char **, char **, struct ps_strings *, 62 __start(int argc, char **argv, char **env, struct ps_strings *ps_strings, in __start() argument 65 if (ps_strings != (struct ps_strings *)0) in __start() 66 __ps_strings = ps_strings; in __start()
|
/freebsd/lib/csu/powerpc64/ |
H A D | crt1_c.c | 52 struct ps_strings; 55 void (*)(void), struct ps_strings *) __dead2; 57 struct ps_strings *__ps_strings; 67 struct ps_strings *ps_strings) in _start() argument 69 if (ps_strings != (struct ps_strings *)0) in _start() 70 __ps_strings = ps_strings; in _start()
|
/freebsd/lib/csu/powerpc/ |
H A D | crt1_c.c | 51 struct ps_strings; 53 struct ps_strings *__ps_strings; 56 void (*)(void), struct ps_strings *) __dead2; 67 struct ps_strings *ps_strings) in _start() argument 69 if (ps_strings != (struct ps_strings *)0) in _start() 70 __ps_strings = ps_strings; in _start()
|
/freebsd/sys/sys/ |
H A D | exec.h | 53 struct ps_strings { struct 86 #define PS_STRINGS (USRSTACK - sizeof(struct ps_strings))
|
H A D | imgact.h | 71 void *ps_strings; /* pointer to ps_string (user space) */ member
|
/freebsd/sys/riscv/include/ |
H A D | vmparam.h | 209 #define PS_STRINGS_SV39 (USRSTACK_SV39 - sizeof(struct ps_strings)) 210 #define PS_STRINGS_SV48 (USRSTACK_SV48 - sizeof(struct ps_strings))
|
/freebsd/sys/amd64/include/ |
H A D | vmparam.h | 233 #define PS_STRINGS_LA57 (USRSTACK_LA57 - sizeof(struct ps_strings)) 234 #define PS_STRINGS_LA48 (USRSTACK_LA48 - sizeof(struct ps_strings))
|
/freebsd/sys/kern/ |
H A D | imgact_aout.c | 71 #define AOUT32_PS_STRINGS (AOUT32_USRSTACK - sizeof(struct ps_strings)) 87 .sv_psstringssz = sizeof(struct ps_strings), 219 imgp->ps_strings = (void *)aout_sysvec.sv_psstrings; in exec_aout_imgact()
|
H A D | kern_exec.c | 125 SYSCTL_PROC(_kern, KERN_PS_STRINGS, ps_strings, CTLTYPE_ULONG|CTLFLAG_RD| 161 vm_offset_t ps_strings; in sysctl_kern_ps_strings() local 171 ps_strings = PROC_PS_STRINGS(p); in sysctl_kern_ps_strings() 172 return (SYSCTL_OUT(req, &ps_strings, sizeof(ps_strings))); in sysctl_kern_ps_strings() 1668 struct ps_strings *arginfo; in exec_copyout_strings() 1679 arginfo = imgp->ps_strings = (void *)destp; in exec_copyout_strings()
|
H A D | imgact_elf.c | 1500 AUXARGS_ENTRY_PTR(pos, AT_PS_STRINGS, imgp->ps_strings); in __elfN() 2670 elf_ps_strings_t ps_strings; in __elfN() local 2675 size = sizeof(structsize) + sizeof(ps_strings); in __elfN() 2678 structsize = sizeof(ps_strings); in __elfN() 2680 ps_strings = PTROUT(PROC_PS_STRINGS(p)); in __elfN() 2682 ps_strings = PROC_PS_STRINGS(p); in __elfN() 2685 sbuf_bcat(sb, &ps_strings, sizeof(ps_strings)); in __elfN()
|
/freebsd/contrib/netbsd-tests/kernel/ |
H A D | h_ps_strings2.c | 45 extern struct ps_strings *__ps_strings;
|
H A D | h_ps_strings1.c | 39 extern struct ps_strings *__ps_strings;
|
/freebsd/sys/amd64/amd64/ |
H A D | elf_machdep.c | 74 .sv_psstringssz = sizeof(struct ps_strings), 117 .sv_psstringssz = sizeof(struct ps_strings),
|
/freebsd/sys/powerpc/powerpc/ |
H A D | elf64_machdep.c | 81 .sv_psstringssz = sizeof(struct ps_strings), 123 .sv_psstringssz = sizeof(struct ps_strings),
|
H A D | elf32_machdep.c | 119 .sv_psstringssz = sizeof(struct ps_strings),
|
/freebsd/sys/compat/linux/ |
H A D | linux_elf.c | 333 struct ps_strings *arginfo; in __linuxN() 341 arginfo = imgp->ps_strings = (void *)destp; in __linuxN()
|
/freebsd/sys/i386/linux/ |
H A D | linux_sysvec.c | 85 #define LINUX_PS_STRINGS (LINUX_USRSTACK - sizeof(struct ps_strings)) 593 .sv_psstringssz = sizeof(struct ps_strings), 634 .sv_psstringssz = sizeof(struct ps_strings),
|
/freebsd/sys/i386/i386/ |
H A D | elf_machdep.c | 70 .sv_psstringssz = sizeof(struct ps_strings),
|
/freebsd/sys/arm/arm/ |
H A D | elf_machdep.c | 80 .sv_psstringssz = sizeof(struct ps_strings),
|
/freebsd/sys/arm64/linux/ |
H A D | linux_sysvec.c | 82 sizeof(struct ps_strings)) 442 .sv_psstringssz = sizeof(struct ps_strings),
|
/freebsd/sys/arm64/arm64/ |
H A D | elf_machdep.c | 85 .sv_psstringssz = sizeof(struct ps_strings),
|
/freebsd/sys/amd64/linux/ |
H A D | linux_sysvec.c | 89 sizeof(struct ps_strings)) 695 .sv_psstringssz = sizeof(struct ps_strings),
|
/freebsd/sys/riscv/riscv/ |
H A D | elf_machdep.c | 78 .sv_psstringssz = sizeof(struct ps_strings),
|
/freebsd/lib/libprocstat/ |
H A D | core.c | 343 struct ps_strings pss; in get_args()
|