Allow using /bin and /usr/bin as impure prefixes on non-darwin by default

These directories are generally world-readable anyway, and give us the two
most common linux impurities (env and sh)
This commit is contained in:
Shea Levy
2015-01-13 15:41:46 +01:00
committed by Eelco Dolstra
parent fcf57aad27
commit 79ca503332
+1 -1
View File
@@ -56,7 +56,7 @@
#define DEFAULT_ALLOWED_IMPURE_PREFIXES "/System/Library/Frameworks /usr/lib /dev /bin/sh"
#else
#define SANDBOX_ENABLED 0
#define DEFAULT_ALLOWED_IMPURE_PREFIXES ""
#define DEFAULT_ALLOWED_IMPURE_PREFIXES "/bin" "/usr/bin"
#endif
#if CHROOT_ENABLED