Bugzilla – Attachment 2214 Details for
Bug 2011
sandbox selection needs some kind of fallback mechanism
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
don't probe seccomp capability of running kernel in configure
dont-check-running-kernel.patch (text/plain), 832 bytes, created by
Petr Lautrbach
on 2013-02-05 22:35:55 AEDT
(
hide
)
Description:
don't probe seccomp capability of running kernel in configure
Filename:
MIME Type:
Creator:
Petr Lautrbach
Created:
2013-02-05 22:35:55 AEDT
Size:
832 bytes
patch
obsolete
>diff --git a/configure.ac b/configure.ac >index 3676123..9bc43ff 100644 >--- a/configure.ac >+++ b/configure.ac >@@ -126,25 +126,6 @@ AC_CHECK_DECL([SECCOMP_MODE_FILTER], [have_seccomp_filter=1], , [ > #include <linux/seccomp.h> > ]) > fi >-if test "x$have_seccomp_filter" = "x1" ; then >-AC_MSG_CHECKING([kernel for seccomp_filter support]) >-AC_RUN_IFELSE([AC_LANG_PROGRAM([[ >- #include <errno.h> >- #include <linux/seccomp.h> >- #include <stdlib.h> >- #include <sys/prctl.h> >- ]], >- [[ errno = 0; >- prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, NULL, 0, 0); >- exit(errno == EFAULT ? 0 : 1); ]])], >- [ AC_MSG_RESULT([yes]) ], [ >- AC_MSG_RESULT([no]) >- # Disable seccomp filter as a target >- have_seccomp_filter=0 >- ], >- [ AC_MSG_RESULT([cross-compiling, assuming yes]) ] >-) >-fi > > use_stack_protector=1 > AC_ARG_WITH([stackprotect],
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2011
:
2154
|
2155
|
2160
|
2214
|
2215
|
2216