CVS commit: src
"Taylor R Campbell" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: src Committed By: riastradh Date: Fri Aug 28 12:04:02 UTC 2026 Modified Files: src/sys/kern: kern_fork.c src/tests/kernel: t_signal_and_sp.c Log Message: fork(2), vfork(2): Copy the parent's stack base pointer to the child. Don't just leak whatever random stack pointer some recycled struct proc had! TBD: Move p_stackbase in struct proc so this is covered by the memcpy above, in a separate commit so we can pull this one up without any change to the layout of struct proc. PR kern/60653: posix_spawn(3) causes incorrect stack base information To generate a diff of this commit: cvs rdiff -u -r1.234 -r1.235 src/sys/kern/kern_fork.c cvs rdiff -u -r1.23 -r1.24 src/tests/kernel/t_signal_and_sp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.