projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
initial version of mips (o32) port, based on work by Richard Pennington (rdp)
[musl]
/
src
/
env
/
__init_security.c
diff --git
a/src/env/__init_security.c
b/src/env/__init_security.c
index
395abeb
..
59d546f
100644
(file)
--- a/
src/env/__init_security.c
+++ b/
src/env/__init_security.c
@@
-29,7
+29,7
@@
void __init_security(size_t *auxv)
__syscall(SYS_poll, pfd, 3, 0);
for (i=0; i<3; i++)
if (pfd[i].revents&POLLNVAL)
- if (__syscall(SYS_open, "/dev/null", O_RDWR)<0)
+ if (__syscall(SYS_open, "/dev/null", O_RDWR
|O_LARGEFILE
)<0)
a_crash();
libc.secure = 1;
}