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 2, 2:02 PM
Unknown Object (File)
Thu, Sep 25, 7:07 PM
Unknown Object (File)
Wed, Sep 24, 3:30 AM
Unknown Object (File)
Tue, Sep 23, 10:23 PM
Unknown Object (File)
Tue, Sep 23, 6:33 AM
Unknown Object (File)
Fri, Sep 12, 10:10 AM
Unknown Object (File)
Sep 7 2025, 7:47 AM
Unknown Object (File)
Sep 6 2025, 2:23 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