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)
Thu, Oct 23, 10:31 AM
Unknown Object (File)
Sat, Oct 18, 8:53 PM
Unknown Object (File)
Sat, Oct 18, 12:05 PM
Unknown Object (File)
Fri, Oct 17, 1:22 AM
Unknown Object (File)
Thu, Oct 16, 7:36 PM
Unknown Object (File)
Thu, Oct 2, 2:02 PM
Unknown Object (File)
Thu, Sep 25, 7:07 PM
Unknown Object (File)
Sep 24 2025, 3:30 AM
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