Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/kern_procctl.c
Context not available. | |||||
return (0); | return (0); | ||||
} | } | ||||
static int | |||||
fdcwd_ctl(struct thread *td, struct proc *p, void *data) | |||||
{ | |||||
PROC_LOCK_ASSERT(p, MA_OWNED); | |||||
p->p_fdcwd_root = p->p_fdcwd_cur = *(int *)data; | |||||
return (0); | |||||
} | |||||
static int | static int | ||||
pdeathsig_ctl(struct thread *td, struct proc *p, void *data) | pdeathsig_ctl(struct thread *td, struct proc *p, void *data) | ||||
{ | { | ||||
Context not available. | |||||
.need_candebug = false, | .need_candebug = false, | ||||
.copyin_sz = 0, .copyout_sz = sizeof(int), | .copyin_sz = 0, .copyout_sz = sizeof(int), | ||||
.exec = wxmap_status, .copyout_on_error = false, }, | .exec = wxmap_status, .copyout_on_error = false, }, | ||||
[PROC_FDCWD_CTL] = | |||||
{ .lock_tree = PCTL_UNLOCKED, .one_proc = true, | |||||
.esrch_is_einval = false, .no_nonnull_data = false, | |||||
.need_candebug = false, | |||||
.copyin_sz = sizeof(int), .copyout_sz = 0, | |||||
.exec = fdcwd_ctl, .copyout_on_error = false, }, | |||||
}; | }; | ||||
int | int | ||||
Context not available. |