-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mmap: disallow MAP_STACK into a reservation
It doesn't make sense to insert a stack into a reservation so disallow MAP_FIXED|MAP_STACK with a valid capability in addr. It's still allowed to MAP_FIXED|MAP_STACK, but only if there's nothing in that location (and you shouldn't be doing that).
- Loading branch information
1 parent
4ae1c7e
commit b1c070a
Showing
3 changed files
with
18 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters