[tracker/tracker-1.10] libtracker-common: Whitelist gettimeofday() syscall



commit 38e6ef17a537f3a9b24997b8f2fc8315f625528a
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Dec 17 00:40:00 2016 +0100

    libtracker-common: Whitelist gettimeofday() syscall
    
    https://bugzilla.gnome.org/show_bug.cgi?id=776117

 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 cf5dac6..9906a6a 100644
--- a/src/libtracker-common/tracker-seccomp.c
+++ b/src/libtracker-common/tracker-seccomp.c
@@ -108,6 +108,7 @@ tracker_seccomp_init (void)
        ALLOW_RULE (getrandom);
        ALLOW_RULE (clock_gettime);
        ALLOW_RULE (clock_getres);
+       ALLOW_RULE (gettimeofday);
        /* Descriptors */
        ALLOW_RULE (close);
        ALLOW_RULE (read);


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