Searched refs:ps_strings (Results 1 - 23 of 23) sorted by relevance

/freebsd-10.1-release/lib/csu/powerpc/
H A Dcrt1.c58 struct ps_strings;
67 struct ps_strings *__ps_strings;
70 void (*)(void), struct ps_strings *);
75 * The last argument, ps_strings, is a BSD extension.
81 struct ps_strings *ps_strings)
87 if (ps_strings != (struct ps_strings *)0)
88 __ps_strings = ps_strings;
79 _start(int argc, char **argv, char **env, const struct Struct_Obj_Entry *obj __unused, void (*cleanup)(void), struct ps_strings *ps_strings) argument
/freebsd-10.1-release/lib/csu/powerpc64/
H A Dcrt1.c58 struct ps_strings;
61 void (*)(void), struct ps_strings *);
70 struct ps_strings *__ps_strings;
75 * The last argument, ps_strings, is a BSD extension.
81 struct ps_strings *ps_strings)
86 if (ps_strings != (struct ps_strings *)0)
87 __ps_strings = ps_strings;
79 _start(int argc, char **argv, char **env, const struct Struct_Obj_Entry *obj __unused, void (*cleanup)(void), struct ps_strings *ps_strings) argument
/freebsd-10.1-release/lib/csu/arm/
H A Dcrt1.c58 struct ps_strings;
61 void (*)(void), struct ps_strings *);
70 struct ps_strings *__ps_strings;
72 void __start(int, char **, char **, struct ps_strings *,
82 " mov r3, r0 /* ps_strings */ \n"
97 __start(int argc, char **argv, char **env, struct ps_strings *ps_strings, argument
103 if (ps_strings != (struct ps_strings *)0)
104 __ps_strings = ps_strings;
[all...]
/freebsd-10.1-release/contrib/gdb/gdb/
H A Di386fbsd-nat.c86 /* FreeBSD provides a kern.ps_strings sysctl that we can use to
95 u_long ps_strings;
100 len = sizeof (ps_strings);
101 if (sysctl (mib, 2, &ps_strings, &len, NULL, 0) == 0)
103 i386fbsd_sigtramp_start_addr = ps_strings - 128;
104 i386fbsd_sigtramp_end_addr = ps_strings;
94 u_long ps_strings; local
/freebsd-10.1-release/lib/csu/mips/
H A Dcrt1.c49 struct ps_strings;
58 void __start(char **, void (*)(void), struct Struct_Obj_Entry *, struct ps_strings *);
65 struct ps_strings *ps_strings __unused)
/freebsd-10.1-release/lib/csu/sparc64/
H A Dcrt1.c49 struct ps_strings;
61 struct ps_strings *);
65 * %o0 holds ps_strings pointer.
79 struct ps_strings *ps_strings __unused)
/freebsd-10.1-release/lib/libc/gen/
H A Dsetproctitle.c40 * Older FreeBSD 2.0, 2.1 and 2.2 had different ps_strings structures and
44 * 3: ps_strings at the very top of the stack.
64 static struct ps_strings *ps_strings; local
131 if (ps_strings == NULL) {
133 if (sysctlbyname("kern.ps_strings", &ul_ps_strings, &len, NULL,
136 ps_strings = (struct ps_strings *)ul_ps_strings;
140 if (ps_strings->ps_argvstr) {
144 oargc = ps_strings
[all...]
/freebsd-10.1-release/sys/sys/
H A Dexec.h50 * pointers in ps_strings. The kern.proc.args sysctl first tries p_args.
51 * If p_args is NULL, it then falls back to reading ps_strings and following
54 struct ps_strings { struct
62 * Address of ps_strings structure (in user space).
63 * Prefer the kern.ps_strings or kern.proc.ps_strings sysctls to this constant.
65 #define PS_STRINGS (USRSTACK - sizeof(struct ps_strings))
H A Dimgact.h71 unsigned long ps_strings; /* PS_STRINGS for BSD/OS binaries */ member in struct:image_params
/freebsd-10.1-release/contrib/llvm/tools/lldb/source/Host/freebsd/
H A DHost.cpp386 struct ps_strings ps_strings; local
393 pid.piod_addr = &ps_strings;
395 pid.piod_len = sizeof(ps_strings);
397 perror("failed to fetch ps_strings");
402 auxv_addr = ps_strings.ps_envstr + ps_strings.ps_nenvstr + 1;
415 perror("sysctl failed on ps_strings");
/freebsd-10.1-release/sys/i386/linux/
H A Dlinux_sysvec.c94 #define LINUX_PS_STRINGS (LINUX_USRSTACK - sizeof(struct ps_strings))
245 struct ps_strings *arginfo;
254 arginfo = (struct ps_strings *)p->p_sysent->sv_psstrings;
306 struct ps_strings *arginfo;
314 arginfo = (struct ps_strings *)p->p_sysent->sv_psstrings;
366 * Fill in "ps_strings" struct for ps, w, etc.
/freebsd-10.1-release/sys/kern/
H A Dimgact_aout.c203 imgp->ps_strings = aout_sysvec.sv_psstrings;
H A Dkern_exec.c112 SYSCTL_PROC(_kern, KERN_PS_STRINGS, ps_strings, CTLTYPE_ULONG|CTLFLAG_RD,
398 imgp->ps_strings = 0;
1251 struct ps_strings *arginfo;
1268 arginfo = (struct ps_strings *)p->p_sysent->sv_psstrings;
1357 * Fill in "ps_strings" struct for ps, w, etc.
H A Dimgact_elf.c1923 elf_ps_strings_t ps_strings; local
1928 size = sizeof(structsize) + sizeof(ps_strings);
1931 structsize = sizeof(ps_strings);
1933 ps_strings = PTROUT(p->p_sysent->sv_psstrings);
1935 ps_strings = p->p_sysent->sv_psstrings;
1938 sbuf_bcat(sb, &ps_strings, sizeof(ps_strings));
H A Dkern_proc.c1605 struct ps_strings pss;
1692 #define GET_PS_STRINGS_CHUNK_SZ 256 /* Chunk size (bytes) for ps_strings operations. */
2578 * This sysctl allows a process to retrieve ps_strings structure location of
2587 vm_offset_t ps_strings; local
2612 ps_strings = p->p_sysent->sv_psstrings;
2614 error = SYSCTL_OUT(req, &ps_strings, sizeof(ps_strings));
2843 static SYSCTL_NODE(_kern_proc, KERN_PROC_PS_STRINGS, ps_strings, CTLFLAG_RD |
2845 "Process ps_strings location");
/freebsd-10.1-release/lib/libprocstat/
H A Dcore.c354 struct ps_strings pss;
/freebsd-10.1-release/sys/powerpc/powerpc/
H A Dexec_machdep.c518 * _start(argc, argv, envp, obj, cleanup, ps_strings);
523 * - ps_strings is a NetBSD extention, and will be
547 tf->fixreg[8] = (register_t)imgp->ps_strings; /* NetBSD extension */
592 tf->fixreg[8] = (register_t)imgp->ps_strings; /* NetBSD extension */
/freebsd-10.1-release/sys/mips/mips/
H A Dpm_machdep.c505 * a3 ps_strings
510 td->td_frame->a3 = (register_t)imgp->ps_strings;
/freebsd-10.1-release/sys/ia64/ia64/
H A Dmachdep.c1362 *kst-- = imgp->ps_strings;
1377 suword((caddr_t)tf->tf_special.bspstore - 16, imgp->ps_strings);
/freebsd-10.1-release/sys/amd64/ia32/
H A Dia32_signal.c972 regs->tf_rbx = imgp->ps_strings;
/freebsd-10.1-release/sys/amd64/linux32/
H A Dlinux32_sysvec.c847 regs->tf_rbx = imgp->ps_strings;
925 * Fill in "ps_strings" struct for ps, w, etc.
/freebsd-10.1-release/sys/pc98/pc98/
H A Dmachdep.c1362 regs->tf_ebx = imgp->ps_strings;
/freebsd-10.1-release/sys/i386/i386/
H A Dmachdep.c1561 regs->tf_ebx = imgp->ps_strings;

Completed in 247 milliseconds