Revision 059bca46 darwin-user/mmap.c
b/darwin-user/mmap.c | ||
---|---|---|
129 | 129 |
if ((flags & MAP_SHARED) && |
130 | 130 |
#endif |
131 | 131 |
(prot & PROT_WRITE)) |
132 |
return -EINVAL;
|
|
132 |
return -1;
|
|
133 | 133 |
|
134 | 134 |
/* adjust protection to be able to read */ |
135 | 135 |
if (!(prot1 & PROT_WRITE)) |
Also available in: Unified diff