Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/proc.h
Show First 20 Lines • Show All 784 Lines • ▼ Show 20 Lines | |||||
#define P2_STKGAP_DISABLE 0x00000800 /* Disable stack gap for MAP_STACK */ | #define P2_STKGAP_DISABLE 0x00000800 /* Disable stack gap for MAP_STACK */ | ||||
#define P2_STKGAP_DISABLE_EXEC 0x00001000 /* Stack gap disabled after exec */ | #define P2_STKGAP_DISABLE_EXEC 0x00001000 /* Stack gap disabled after exec */ | ||||
/* Flags protected by proctree_lock, kept in p_treeflags. */ | /* Flags protected by proctree_lock, kept in p_treeflags. */ | ||||
#define P_TREE_ORPHANED 0x00000001 /* Reparented, on orphan list */ | #define P_TREE_ORPHANED 0x00000001 /* Reparented, on orphan list */ | ||||
#define P_TREE_FIRST_ORPHAN 0x00000002 /* First element of orphan | #define P_TREE_FIRST_ORPHAN 0x00000002 /* First element of orphan | ||||
list */ | list */ | ||||
#define P_TREE_REAPER 0x00000004 /* Reaper of subtree */ | #define P_TREE_REAPER 0x00000004 /* Reaper of subtree */ | ||||
#define P_TREE_GRPEXITED 0x00000008 /* exit1() done with job ctl */ | |||||
/* | /* | ||||
* These were process status values (p_stat), now they are only used in | * These were process status values (p_stat), now they are only used in | ||||
* legacy conversion code. | * legacy conversion code. | ||||
*/ | */ | ||||
#define SIDL 1 /* Process being created by fork. */ | #define SIDL 1 /* Process being created by fork. */ | ||||
#define SRUN 2 /* Currently runnable. */ | #define SRUN 2 /* Currently runnable. */ | ||||
#define SSLEEP 3 /* Sleeping on an address. */ | #define SSLEEP 3 /* Sleeping on an address. */ | ||||
▲ Show 20 Lines • Show All 239 Lines • ▼ Show 20 Lines | |||||
int cr_canseeothergids(struct ucred *u1, struct ucred *u2); | int cr_canseeothergids(struct ucred *u1, struct ucred *u2); | ||||
int cr_canseeotheruids(struct ucred *u1, struct ucred *u2); | int cr_canseeotheruids(struct ucred *u1, struct ucred *u2); | ||||
int cr_canseejailproc(struct ucred *u1, struct ucred *u2); | int cr_canseejailproc(struct ucred *u1, struct ucred *u2); | ||||
int cr_cansignal(struct ucred *cred, struct proc *proc, int signum); | int cr_cansignal(struct ucred *cred, struct proc *proc, int signum); | ||||
int enterpgrp(struct proc *p, pid_t pgid, struct pgrp *pgrp, | int enterpgrp(struct proc *p, pid_t pgid, struct pgrp *pgrp, | ||||
struct session *sess); | struct session *sess); | ||||
int enterthispgrp(struct proc *p, struct pgrp *pgrp); | int enterthispgrp(struct proc *p, struct pgrp *pgrp); | ||||
void faultin(struct proc *p); | void faultin(struct proc *p); | ||||
void fixjobc(struct proc *p, struct pgrp *pgrp, int entering); | |||||
int fork1(struct thread *, struct fork_req *); | int fork1(struct thread *, struct fork_req *); | ||||
void fork_rfppwait(struct thread *); | void fork_rfppwait(struct thread *); | ||||
void fork_exit(void (*)(void *, struct trapframe *), void *, | void fork_exit(void (*)(void *, struct trapframe *), void *, | ||||
struct trapframe *); | struct trapframe *); | ||||
void fork_return(struct thread *, struct trapframe *); | void fork_return(struct thread *, struct trapframe *); | ||||
int inferior(struct proc *p); | int inferior(struct proc *p); | ||||
void kern_proc_vmmap_resident(struct vm_map *map, struct vm_map_entry *entry, | void kern_proc_vmmap_resident(struct vm_map *map, struct vm_map_entry *entry, | ||||
int *resident_count, bool *super); | int *resident_count, bool *super); | ||||
▲ Show 20 Lines • Show All 183 Lines • Show Last 20 Lines |