Nothing uses this field since Linux compat was removed.
ok mpi@ deraadt@ guenther@
-/* $OpenBSD: kern_exec.c,v 1.190 2017/12/12 01:12:34 deraadt Exp $ */
+/* $OpenBSD: kern_exec.c,v 1.191 2017/12/19 10:04:59 stefan Exp $ */
/* $NetBSD: kern_exec.c,v 1.75 1996/02/09 18:59:28 christos Exp $ */
/*-
if (error)
goto exec_abort;
- /* old "stackgap" is gone now */
- pr->ps_stackgap = 0;
-
#ifdef MACHINE_STACK_GROWS_UP
pr->ps_strings = (vaddr_t)vm->vm_maxsaddr + sgap;
if (uvm_map_protect(&vm->vm_map, (vaddr_t)vm->vm_maxsaddr,
-/* $OpenBSD: proc.h,v 1.243 2017/12/14 00:41:58 dlg Exp $ */
+/* $OpenBSD: proc.h,v 1.244 2017/12/19 10:04:59 stefan Exp $ */
/* $NetBSD: proc.h,v 1.44 1996/04/22 01:23:21 christos Exp $ */
/*-
char ps_comm[MAXCOMLEN+1];
vaddr_t ps_strings; /* User pointers to argv/env */
- vaddr_t ps_stackgap; /* User pointer to the "stackgap" */
vaddr_t ps_sigcode; /* User pointer to the signal code */
vaddr_t ps_sigcoderet; /* User pointer to sigreturn retPC */
u_long ps_sigcookie;