[tracker-miners] common/seccomp: allow arm_fadvise64_64 syscall
- From: Robert McQueen <ramcq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners] common/seccomp: allow arm_fadvise64_64 syscall
- Date: Fri, 17 Nov 2017 14:55:59 +0000 (UTC)
commit dde6754e1a7203c8521a601ed34642e8c423671c
Author: Robert McQueen <rob endlessm com>
Date: Thu Nov 16 14:32:03 2017 +0000
common/seccomp: allow arm_fadvise64_64 syscall
glibc on ARM reroutes the posix_fadvise method to the arm_fadvise64_64
syscall. Without allowing this, pretty much every extracter gets killed
with SIGSYS on armhf due to the seccomp policy.
https://bugzilla.gnome.org/show_bug.cgi?id=790456
src/libtracker-common/tracker-seccomp.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-common/tracker-seccomp.c b/src/libtracker-common/tracker-seccomp.c
index ec873f5..0f3b5ec 100644
--- a/src/libtracker-common/tracker-seccomp.c
+++ b/src/libtracker-common/tracker-seccomp.c
@@ -140,6 +140,7 @@ tracker_seccomp_init (void)
ALLOW_RULE (lseek);
ALLOW_RULE (_llseek);
ALLOW_RULE (fadvise64);
+ ALLOW_RULE (arm_fadvise64_64);
ALLOW_RULE (write);
ALLOW_RULE (writev);
ALLOW_RULE (dup);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]