Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/exec.h
Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Lines | |||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
#include <sys/cdefs.h> | #include <sys/cdefs.h> | ||||
/* | /* | ||||
* Address of ps_strings structure (in user space). | * Address of ps_strings structure (in user space). | ||||
* Prefer the kern.ps_strings or kern.proc.ps_strings sysctls to this constant. | * Prefer the kern.ps_strings or kern.proc.ps_strings sysctls to this constant. | ||||
*/ | */ | ||||
#define PS_STRINGS (USRSTACK - sizeof(struct ps_strings)) | #define PS_STRINGS (USRSTACK - sizeof(struct ps_strings)) | ||||
#define PROC_PS_STRINGS(p) \ | |||||
((p)->p_vmspace->vm_stacktop - (p)->p_sysent->sv_psstringssz) | |||||
int exec_map_first_page(struct image_params *); | int exec_map_first_page(struct image_params *); | ||||
void exec_unmap_first_page(struct image_params *); | void exec_unmap_first_page(struct image_params *); | ||||
int exec_register(const struct execsw *); | int exec_register(const struct execsw *); | ||||
int exec_unregister(const struct execsw *); | int exec_unregister(const struct execsw *); | ||||
enum uio_seg; | enum uio_seg; | ||||
▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines |