libuv/src
Alan Rogers 8fac49d0fc unix: open "/dev/null" instead of "/" for emfile_fd
We may not have permission to open "/". This fix allows libuv to be
used in a OS X app that has sandboxing enabled, without the need for
a temporary entitlement to allow reading of "/" (Which would never
pass app review).

In some rare cases "/dev" isn't mounted, so we open "/" as a
fallback.

PR-URL: https://github.com/libuv/libuv/pull/328
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
2015-04-24 09:38:19 +02:00
..
unix unix: open "/dev/null" instead of "/" for emfile_fd 2015-04-24 09:38:19 +02:00
win win: fix of double free in uv_uptime 2015-04-21 10:51:25 +02:00
fs-poll.c memory: add uv_replace_allocator 2015-03-05 20:02:16 +01:00
heap-inl.h heap: fix heap_remove() 2014-05-23 20:04:42 +04:00
inet.c unix, windows: fix parsing scoped IPv6 addresses 2014-05-25 23:30:46 +02:00
queue.h
threadpool.c memory: add uv_replace_allocator 2015-03-05 20:02:16 +01:00
uv-common.c memory: add uv_replace_allocator 2015-03-05 20:02:16 +01:00
uv-common.h memory: add uv_replace_allocator 2015-03-05 20:02:16 +01:00
version.c Now working on v0.10.31 2014-12-09 19:49:50 +01:00