Compare commits
No commits in common. "dfcc827103efeacf2455e2074ca341d60f7ae067" and "22740e69bf63206bfe89b3ad24c1ce2ec605d337" have entirely different histories.
dfcc827103
...
22740e69bf
@ -23,7 +23,7 @@ static const char* format_prot(int prot)
|
||||
prot_string[3] = 0;
|
||||
prot_string[0] = ((prot & PROT_READ) > 0) ? 'r' : '-';
|
||||
prot_string[1] = ((prot & PROT_WRITE) > 0) ? 'w' : '-';
|
||||
prot_string[2] = ((prot & PROT_EXEC) > 0) ? 'x' : '-';
|
||||
prot_string[2] = ((prot & PROT_WRITE) > 0) ? 'x' : '-';
|
||||
return prot_string;
|
||||
}
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
||||
#define PROT_NONE 0
|
||||
#define PROT_READ 1
|
||||
#define PROT_WRITE 2
|
||||
#define PROT_EXEC 4
|
||||
|
||||
#define PAGE_SIZE 4096
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user