summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-17 15:09:22 -0500
committerMike Frysinger <vapier@gentoo.org>2016-01-17 15:12:12 -0500
commit4994c7667bd2d9e54fa79f705a51a9fbd1af5522 (patch)
tree813b682456f249dcbae32b53aa1a47e117d460e7 /sys-apps/sandbox/files
parentmedia-libs/jpeg: Bump to version 9b (diff)
downloadgentoo-4994c7667bd2d9e54fa79f705a51a9fbd1af5522.tar.gz
gentoo-4994c7667bd2d9e54fa79f705a51a9fbd1af5522.tar.bz2
gentoo-4994c7667bd2d9e54fa79f705a51a9fbd1af5522.zip
sys-apps/sandbox: drop versions <2.6
Diffstat (limited to 'sys-apps/sandbox/files')
-rw-r--r--sys-apps/sandbox/files/sandbox-1.6-disable-pthread.patch37
-rw-r--r--sys-apps/sandbox/files/sandbox-1.6-disable-qa-static.patch13
2 files changed, 0 insertions, 50 deletions
diff --git a/sys-apps/sandbox/files/sandbox-1.6-disable-pthread.patch b/sys-apps/sandbox/files/sandbox-1.6-disable-pthread.patch
deleted file mode 100644
index 490bc41c0eed..000000000000
--- a/sys-apps/sandbox/files/sandbox-1.6-disable-pthread.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-http://bugs.gentoo.org/263657
-
-disable pthread locks ... this is how stable has always worked, so there
-wont be any regressions ...
-
-diff --git a/libsandbox/libsandbox.c b/libsandbox/libsandbox.c
-index 034d0e7..595d17f 100644
---- a/libsandbox/libsandbox.c
-+++ b/libsandbox/libsandbox.c
-@@ -814,9 +814,6 @@
- return result;
- }
-
--/* Need to protect the global sbcontext structure */
--static pthread_mutex_t sb_syscall_lock = PTHREAD_MUTEX_INITIALIZER;
--
- bool before_syscall(int dirfd, int sb_nr, const char *func, const char *file, int flags)
- {
- int old_errno = errno;
-@@ -843,8 +840,6 @@
- file = at_file_buf;
- }
-
-- pthread_mutex_lock(&sb_syscall_lock);
--
- if (!sb_init) {
- init_context(&sbcontext);
- sb_init = true;
-@@ -885,8 +880,6 @@
-
- result = check_syscall(&sbcontext, sb_nr, func, file, flags);
-
-- pthread_mutex_unlock(&sb_syscall_lock);
--
- if (0 == result) {
- if ((NULL != getenv(ENV_SANDBOX_PID)) && (is_env_on(ENV_SANDBOX_ABORT)))
-
diff --git a/sys-apps/sandbox/files/sandbox-1.6-disable-qa-static.patch b/sys-apps/sandbox/files/sandbox-1.6-disable-qa-static.patch
deleted file mode 100644
index 754ef01968c9..000000000000
--- a/sys-apps/sandbox/files/sandbox-1.6-disable-qa-static.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-sandbox-1.7 traces static apps so disable the qa notice as it just scares
-users ... dont want scary stuff in stable!
-
---- libsandbox/wrapper-funcs/__wrapper_exec.c
-+++ libsandbox/wrapper-funcs/__wrapper_exec.c
-@@ -221,7 +221,6 @@
- if (!FUNCTION_SANDBOX_SAFE(path))
- return result;
-
-- sb_check_exec(path, argv);
- }
- #endif
-