File tracker-whitelist-waitid-waitpid-wait4.patch of Package tracker

From 7b97c8f8592f4f6fbbcdc30432ff1247107eb458 Mon Sep 17 00:00:00 2001
From: Carlos Garnacho <carlosg@gnome.org>
Date: Thu, 19 Jan 2017 13:07:40 +0100
Subject: libtracker-common: Whitelist waitid/waitpid/wait4

https://bugzilla.gnome.org/show_bug.cgi?id=776117
---
 src/libtracker-common/tracker-seccomp.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/libtracker-common/tracker-seccomp.c b/src/libtracker-common/tracker-seccomp.c
index c46dfa6..0c75895 100644
--- a/src/libtracker-common/tracker-seccomp.c
+++ b/src/libtracker-common/tracker-seccomp.c
@@ -103,6 +103,9 @@ tracker_seccomp_init (void)
 	ALLOW_RULE (sched_yield);
 	ALLOW_RULE (sched_getaffinity);
 	ALLOW_RULE (nanosleep);
+	ALLOW_RULE (waitid);
+	ALLOW_RULE (waitpid);
+	ALLOW_RULE (wait4);
 	/* Main loops */
 	ALLOW_RULE (poll);
 	ALLOW_RULE (ppoll);
-- 
cgit v0.12