mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 03:08:31 +00:00
Reduce stack virtual memory consumption on Linux
This commit is contained in:
parent
cc8a9eb93c
commit
36e5861b0c
31 changed files with 583 additions and 166 deletions
|
@ -21,6 +21,8 @@
|
|||
#include "libc/sysv/consts/prot.h"
|
||||
|
||||
const char *_DescribeProtFlags(char buf[48], int x) {
|
||||
if (!x)
|
||||
return "PROT_NONE";
|
||||
const struct DescribeFlags kProtFlags[] = {
|
||||
{PROT_READ, "READ"}, //
|
||||
{PROT_WRITE, "WRITE"}, //
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue