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)
Tue, Mar 31, 2:28 PM
Unknown Object (File)
Tue, Mar 31, 5:45 AM
Unknown Object (File)
Fri, Mar 20, 2:47 AM
Unknown Object (File)
Thu, Mar 19, 7:37 AM
Unknown Object (File)
Wed, Mar 18, 10:34 AM
Unknown Object (File)
Mon, Mar 16, 5:11 PM
Unknown Object (File)
Sun, Mar 15, 1:54 PM
Unknown Object (File)
Jan 10 2026, 4:08 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