[tracker/tracker-1.8] libtracker-common: Whitelist getpid() syscall



commit c7030d6140b4bbde16b5cffdfdd1fd91d671ed1c
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Jan 19 11:30:35 2017 +0100

    libtracker-common: Whitelist getpid() 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 ea9ced7..1cf7466 100644
--- a/src/libtracker-common/tracker-seccomp.c
+++ b/src/libtracker-common/tracker-seccomp.c
@@ -72,6 +72,7 @@ tracker_seccomp_init (void)
        ALLOW_RULE (geteuid32);
        ALLOW_RULE (getppid);
        ALLOW_RULE (gettid);
+       ALLOW_RULE (getpid);
        ALLOW_RULE (exit);
        ALLOW_RULE (getrusage);
        ALLOW_RULE (getrlimit);


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