| /freebsd-12.1/lib/csu/arm/ |
| H A D | crt1.c | 56 struct ps_strings; 59 void (*)(void), struct ps_strings *); 68 struct ps_strings *__ps_strings; 70 void __start(int, char **, char **, struct ps_strings *, 95 __start(int argc, char **argv, char **env, struct ps_strings *ps_strings, in __start() argument 101 if (ps_strings != (struct ps_strings *)0) in __start() 102 __ps_strings = ps_strings; in __start()
|
| /freebsd-12.1/lib/csu/powerpc64/ |
| H A D | crt1.c | 54 struct ps_strings; 57 void (*)(void), struct ps_strings *); 66 struct ps_strings *__ps_strings; 77 struct ps_strings *ps_strings) in _start() argument 82 if (ps_strings != (struct ps_strings *)0) in _start() 83 __ps_strings = ps_strings; in _start()
|
| /freebsd-12.1/lib/csu/powerpc/ |
| H A D | crt1.c | 54 struct ps_strings; 63 struct ps_strings *__ps_strings; 66 void (*)(void), struct ps_strings *); 77 struct ps_strings *ps_strings) in _start() argument 83 if (ps_strings != (struct ps_strings *)0) in _start() 84 __ps_strings = ps_strings; in _start()
|
| /freebsd-12.1/lib/libc/gen/ |
| H A D | setproctitle.c | 61 static struct ps_strings *ps_strings; in setproctitle_internal() local 115 if (ps_strings == NULL) { in setproctitle_internal() 120 ps_strings = (struct ps_strings *)ul_ps_strings; in setproctitle_internal() 127 if (ps_strings->ps_argvstr == NULL) in setproctitle_internal() 133 oargc = ps_strings->ps_nargvstr; in setproctitle_internal() 134 oargv = ps_strings->ps_argvstr; in setproctitle_internal() 155 ps_strings->ps_nargvstr = nargc; in setproctitle_internal() 156 ps_strings->ps_argvstr = nargvp; in setproctitle_internal()
|
| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | i386fbsd-nat.c | 94 u_long ps_strings; in _initialize_i386fbsd_nat() local 99 len = sizeof (ps_strings); in _initialize_i386fbsd_nat() 100 if (sysctl (mib, 2, &ps_strings, &len, NULL, 0) == 0) in _initialize_i386fbsd_nat() 102 i386fbsd_sigtramp_start_addr = ps_strings - 128; in _initialize_i386fbsd_nat() 103 i386fbsd_sigtramp_end_addr = ps_strings; in _initialize_i386fbsd_nat()
|
| /freebsd-12.1/lib/csu/mips/ |
| H A D | crt1.c | 47 struct ps_strings; 56 void __start(char **, void (*)(void), struct Struct_Obj_Entry *, struct ps_strings *); 63 struct ps_strings *ps_strings __unused) in __start()
|
| /freebsd-12.1/lib/csu/sparc64/ |
| H A D | crt1.c | 45 struct ps_strings; 57 struct ps_strings *); 75 struct ps_strings *ps_strings __unused) in _start()
|
| /freebsd-12.1/sys/sys/ |
| H A D | exec.h | 56 struct ps_strings { struct 79 #define PS_STRINGS (USRSTACK - sizeof(struct ps_strings))
|
| H A D | imgact.h | 77 unsigned long ps_strings; /* PS_STRINGS for BSD/OS binaries */ member
|
| /freebsd-12.1/sys/arm64/linux/ |
| H A D | linux_sysvec.c | 157 struct ps_strings *arginfo; in linux_elf_fixup() 163 arginfo = (struct ps_strings *)p->p_sysent->sv_psstrings; in linux_elf_fixup() 226 struct ps_strings *arginfo; in linux_copyout_strings() 239 arginfo = (struct ps_strings *)p->p_sysent->sv_psstrings; in linux_copyout_strings()
|
| /freebsd-12.1/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-12.1/sys/kern/ |
| H A D | imgact_aout.c | 74 #define AOUT32_PS_STRINGS (AOUT32_USRSTACK - sizeof(struct ps_strings)) 203 imgp->ps_strings = aout_sysvec.sv_psstrings; in exec_aout_imgact()
|
| H A D | imgact_elf.c | 2481 elf_ps_strings_t ps_strings; in __elfN() local 2486 size = sizeof(structsize) + sizeof(ps_strings); in __elfN() 2489 structsize = sizeof(ps_strings); in __elfN() 2491 ps_strings = PTROUT(p->p_sysent->sv_psstrings); in __elfN() 2493 ps_strings = p->p_sysent->sv_psstrings; in __elfN() 2496 sbuf_bcat(sb, &ps_strings, sizeof(ps_strings)); in __elfN()
|
| H A D | kern_exec.c | 125 SYSCTL_PROC(_kern, KERN_PS_STRINGS, ps_strings, CTLTYPE_ULONG|CTLFLAG_RD| 1486 struct ps_strings *arginfo; in exec_copyout_strings() 1503 arginfo = (struct ps_strings *)p->p_sysent->sv_psstrings; in exec_copyout_strings()
|
| H A D | kern_proc.c | 1748 struct ps_strings pss; in get_proc_vector() 2799 vm_offset_t ps_strings; in sysctl_kern_proc_ps_strings() local 2824 ps_strings = p->p_sysent->sv_psstrings; in sysctl_kern_proc_ps_strings() 2826 error = SYSCTL_OUT(req, &ps_strings, sizeof(ps_strings)); in sysctl_kern_proc_ps_strings() 3062 static SYSCTL_NODE(_kern_proc, KERN_PROC_PS_STRINGS, ps_strings, CTLFLAG_RD |
|
| /freebsd-12.1/sys/amd64/linux/ |
| H A D | linux_sysvec.c | 246 struct ps_strings *arginfo; in linux_fixup_elf() 251 arginfo = (struct ps_strings *)p->p_sysent->sv_psstrings; in linux_fixup_elf() 314 struct ps_strings *arginfo; in linux_copyout_strings() 326 arginfo = (struct ps_strings *)p->p_sysent->sv_psstrings; in linux_copyout_strings()
|
| /freebsd-12.1/sys/i386/linux/ |
| H A D | linux_sysvec.c | 93 #define LINUX_PS_STRINGS (LINUX_USRSTACK - sizeof(struct ps_strings)) 212 struct ps_strings *arginfo; in linux_fixup_elf() 220 arginfo = (struct ps_strings *)p->p_sysent->sv_psstrings; in linux_fixup_elf() 287 struct ps_strings *arginfo; in linux_copyout_strings() 298 arginfo = (struct ps_strings *)p->p_sysent->sv_psstrings; in linux_copyout_strings()
|
| /freebsd-12.1/sys/mips/mips/ |
| H A D | pm_machdep.c | 468 td->td_frame->a3 = (register_t)imgp->ps_strings; in exec_setregs()
|
| /freebsd-12.1/lib/libprocstat/ |
| H A D | core.c | 346 struct ps_strings pss; in get_args()
|
| /freebsd-12.1/sys/powerpc/powerpc/ |
| H A D | exec_machdep.c | 535 tf->fixreg[8] = (register_t)imgp->ps_strings; /* NetBSD extension */ in exec_setregs() 563 tf->fixreg[8] = (register_t)imgp->ps_strings; /* NetBSD extension */ in ppc32_setregs()
|
| /freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_linux.cc | 96 extern struct ps_strings *__ps_strings; 597 ps_strings *pss; in GetArgsAndEnv()
|
| /freebsd-12.1/sys/amd64/linux32/ |
| H A D | linux32_sysvec.c | 756 regs->tf_rbx = imgp->ps_strings; in linux_exec_setregs()
|
| /freebsd-12.1/sys/amd64/ia32/ |
| H A D | ia32_signal.c | 967 regs->tf_rbx = imgp->ps_strings; in ia32_setregs()
|
| /freebsd-12.1/sys/i386/i386/ |
| H A D | machdep.c | 1188 regs->tf_ebx = imgp->ps_strings; in exec_setregs()
|