]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
vmspace_fork(): do not override offset for the guard entries
authorKonstantin Belousov <kib@FreeBSD.org>
Thu, 20 Jul 2023 17:45:01 +0000 (20:45 +0300)
committerKonstantin Belousov <kib@FreeBSD.org>
Thu, 20 Jul 2023 19:04:03 +0000 (22:04 +0300)
commitdb6c7c7f8d870f377fcd1cc98e4832681bb5bdf0
treeeefe73958cf739dcd07031c735e1dca2be9c31a2
parenta29916a6f8f54e264279c990884b545b4048bb47
vmspace_fork(): do not override offset for the guard entries

The offset field contains protection for the stack guards.

Reported by: cy
Fixes: 21e45c30c35c9aa732073f725924caf581c93460
MFC after: 1 week
sys/vm/vm_map.c