summaryrefslogtreecommitdiff
path: root/system/libuv/disable-setuid-test.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/libuv/disable-setuid-test.patch')
-rw-r--r--system/libuv/disable-setuid-test.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/system/libuv/disable-setuid-test.patch b/system/libuv/disable-setuid-test.patch
new file mode 100644
index 000000000..3c6e01611
--- /dev/null
+++ b/system/libuv/disable-setuid-test.patch
@@ -0,0 +1,46 @@
+diff --git a/test/test-list.h b/test/test-list.h
+index 3a1e82a..dd25e69 100644
+--- a/test/test-list.h
++++ b/test/test-list.h
+@@ -240,8 +240,10 @@ TEST_DECLARE (spawn_detached)
+ TEST_DECLARE (spawn_and_kill_with_std)
+ TEST_DECLARE (spawn_and_ping)
+ TEST_DECLARE (spawn_preserve_env)
++#if 0
+ TEST_DECLARE (spawn_setuid_fails)
+ TEST_DECLARE (spawn_setgid_fails)
++#endif
+ TEST_DECLARE (spawn_stdout_to_file)
+ TEST_DECLARE (spawn_stdout_and_stderr_to_file)
+ TEST_DECLARE (spawn_stdout_and_stderr_to_file2)
+@@ -351,7 +353,9 @@ TEST_DECLARE (win32_signum_number)
+ TEST_DECLARE (emfile)
+ TEST_DECLARE (close_fd)
+ TEST_DECLARE (spawn_fs_open)
++#if 0
+ TEST_DECLARE (spawn_setuid_setgid)
++#endif
+ TEST_DECLARE (we_get_signal)
+ TEST_DECLARE (we_get_signals)
+ TEST_DECLARE (signal_multiple_loops)
+@@ -669,8 +673,10 @@ TASK_LIST_START
+ TEST_ENTRY (spawn_and_kill_with_std)
+ TEST_ENTRY (spawn_and_ping)
+ TEST_ENTRY (spawn_preserve_env)
++#if 0
+ TEST_ENTRY (spawn_setuid_fails)
+ TEST_ENTRY (spawn_setgid_fails)
++#endif
+ TEST_ENTRY (spawn_stdout_to_file)
+ TEST_ENTRY (spawn_stdout_and_stderr_to_file)
+ TEST_ENTRY (spawn_stdout_and_stderr_to_file2)
+@@ -701,7 +707,9 @@ TASK_LIST_START
+ TEST_ENTRY (emfile)
+ TEST_ENTRY (close_fd)
+ TEST_ENTRY (spawn_fs_open)
++#if 0
+ TEST_ENTRY (spawn_setuid_setgid)
++#endif
+ TEST_ENTRY (we_get_signal)
+ TEST_ENTRY (we_get_signals)
+ TEST_ENTRY (signal_multiple_loops)