sync with OpenBSD -current
This commit is contained in:
parent
34a3d7e18a
commit
ee68147dcd
30 changed files with 722 additions and 211 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: kern_exit.c,v 1.218 2024/01/15 15:47:37 mvs Exp $ */
|
||||
/* $OpenBSD: kern_exit.c,v 1.219 2024/01/16 19:05:01 deraadt Exp $ */
|
||||
/* $NetBSD: kern_exit.c,v 1.39 1996/04/22 01:38:25 christos Exp $ */
|
||||
|
||||
/*
|
||||
|
@ -217,6 +217,11 @@ exit1(struct proc *p, int xexit, int xsig, int flags)
|
|||
|
||||
unveil_destroy(pr);
|
||||
|
||||
free(pr->ps_pin.pn_pins, M_PINSYSCALL,
|
||||
pr->ps_pin.pn_npins * sizeof(u_int));
|
||||
free(pr->ps_libcpin.pn_pins, M_PINSYSCALL,
|
||||
pr->ps_libcpin.pn_npins * sizeof(u_int));
|
||||
|
||||
/*
|
||||
* If parent has the SAS_NOCLDWAIT flag set, we're not
|
||||
* going to become a zombie.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue