[tracker-miners: 1/2] Fixes #51: whitelist syscall fadvise64_64. It is used by glibc to implement posix_fadvise() on i386



commit 7196b319c61dcde53504b74447abfea0eba85609
Author: Roderich Schupp <roderich schupp gmail com>
Date:   Mon Feb 25 19:26:03 2019 +0000

    Fixes #51: whitelist syscall fadvise64_64.
    It is used by glibc to implement posix_fadvise() on i386 (when compiling with -D_FILE_OFFSET_BITS=64).

 src/libtracker-miners-common/tracker-seccomp.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/libtracker-miners-common/tracker-seccomp.c b/src/libtracker-miners-common/tracker-seccomp.c
index 71b601740..fd8f7d27b 100644
--- a/src/libtracker-miners-common/tracker-seccomp.c
+++ b/src/libtracker-miners-common/tracker-seccomp.c
@@ -142,6 +142,7 @@ tracker_seccomp_init (void)
        ALLOW_RULE (lseek);
        ALLOW_RULE (_llseek);
        ALLOW_RULE (fadvise64);
+       ALLOW_RULE (fadvise64_64);
        ALLOW_RULE (arm_fadvise64_64);
        ALLOW_RULE (write);
        ALLOW_RULE (writev);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]