diff options
Diffstat (limited to 'sys-apps/sandbox/files/sandbox-1.9-setoptions.patch')
-rw-r--r-- | sys-apps/sandbox/files/sandbox-1.9-setoptions.patch | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sys-apps/sandbox/files/sandbox-1.9-setoptions.patch b/sys-apps/sandbox/files/sandbox-1.9-setoptions.patch deleted file mode 100644 index 34e8722..0000000 --- a/sys-apps/sandbox/files/sandbox-1.9-setoptions.patch +++ /dev/null @@ -1,15 +0,0 @@ - Fix undefined PTRACE_SETOPTIONS error, patch by grobian - -diff --git a/libsandbox/trace.c b/libsandbox/trace.c -index 7c5ec17..eaf520f 100644 ---- a/libsandbox/trace.c -+++ b/libsandbox/trace.c -@@ -425,7 +425,7 @@ void trace_main(const char *filename, char *const argv[]) - SB_DEBUG("parent waiting for child (pid=%i) to signal", trace_pid); - while (!child_stopped) - sched_yield(); --#ifdef PTRACE_O_TRACESYSGOOD -+#if defined(PTRACE_O_TRACESYSGOOD) && defined(PTRACE_SETOPTIONS) - /* Not all kernel versions support this, so ignore return */ - ptrace(PTRACE_SETOPTIONS, trace_pid, NULL, (void *)PTRACE_O_TRACESYSGOOD); - #endif |