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)
Jan 27 2025, 8:51 PM
Unknown Object (File)
Jan 21 2025, 1:29 AM
Unknown Object (File)
Nov 4 2024, 3:27 AM
Unknown Object (File)
Oct 3 2024, 6:48 PM
Unknown Object (File)
Oct 2 2024, 12:09 PM
Unknown Object (File)
Sep 23 2024, 8:44 PM
Unknown Object (File)
Sep 20 2024, 11:08 PM
Unknown Object (File)
Sep 20 2024, 11:32 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