Page MenuHomeFreeBSD

linux(4): Properly apply the protection mode for stack
AbandonedPublic

Authored by dchagin on Jul 24 2023, 5:59 PM.
Referenced Files
Unknown Object (File)
Mon, Apr 29, 8:12 AM
Unknown Object (File)
Sat, Apr 20, 7:08 PM
Unknown Object (File)
Mar 21 2024, 1:29 PM
Unknown Object (File)
Feb 18 2024, 11:19 PM
Unknown Object (File)
Dec 20 2023, 3:31 AM
Unknown Object (File)
Dec 19 2023, 4:43 PM
Unknown Object (File)
Dec 3 2023, 9:54 PM
Unknown Object (File)
Nov 6 2023, 8:04 PM
Subscribers

Details

Reviewers
kib
Group Reviewers
Linux Emulation
Summary

On Linux mprotect(2) changes the access protections for the calling
process's memory pages containing any part of the address range in
the interval addr - addr+len-1. By specifying the PROT_GROWSDOWN flag
the direction of protection changes to down to the beginning of a
mapping.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 52802
Build 49693: arc lint + arc unit