| Summary: | arm support for sandbox_seccomp_filter | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | shawnlandden | ||||||
| Component: | sshd | Assignee: | Damien Miller <djm> | ||||||
| Status: | CLOSED FIXED | ||||||||
| Severity: | enhancement | ||||||||
| Priority: | P5 | ||||||||
| Version: | 6.1p1 | ||||||||
| Hardware: | Other | ||||||||
| OS: | Linux | ||||||||
| Attachments: |
|
||||||||
Comment on attachment 2217 [details] support seccomp on arm Excellent - thanks for this. >diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c >index ef2b13c..2d71886 100644 >--- a/sandbox-seccomp-filter.c >+++ b/sandbox-seccomp-filter.c >@@ -44,6 +44,7 @@ > #include <linux/audit.h> > #include <linux/filter.h> > #include <linux/seccomp.h> >+#include <elf.h> Is this extra header needed? I couldn't see any use of it. >Is this extra header needed? I couldn't see any use of it.
elf.h is needed for EM_ARM, which is part of the definition of AUDIT_ARCH_ARM in linux/audit.h:
#define EM_ARM 40 /* ARM */
Created attachment 2223 [details]
Tweaked Linux seccomp-bpf ARM support
Some additional configure-time checks.
applied - thanks. This will be in OpenSSH-6.2 Close all resolved bugs after 7.3p1 release |
Created attachment 2217 [details] support seccomp on arm linux 3.8 have support for seccomp filter (SECCOMP_MODE_FILTER) on arm