Diff between 5022d5ab42e5195bb82f956d79d271717e136e10 and 46c2378f0065eaea882569831247e7295cca287b
Changed Files
| File | Additions | Deletions | Status |
| android/system-emulator.c | +4 | -0 | modified |
Full Patch
diff --git a/android/system-emulator.c b/android/system-emulator.c
index 24f2741..299de0f 100644
--- a/android/system-emulator.c
+++ b/android/system-emulator.c
@@ -37,6 +37,8 @@
#include <sys/param.h>
#include <sys/socket.h>
#include <sys/un.h>
+#include <sys/types.h>
+#include <sys/stat.h>
#include "monitor/mainloop.h"
@@ -169,5 +171,7 @@ int main(int argc, char *argv[])
mainloop_add_fd(fd, EPOLLIN, system_socket_callback, NULL, NULL);
+ umask(0177);
+
return mainloop_run();
}