[tracker/tracker-1.10] libtracker-common: Whitelist clock_gettime/getres
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-1.10] libtracker-common: Whitelist clock_gettime/getres
- Date: Fri, 16 Dec 2016 00:42:41 +0000 (UTC)
commit f908885912ad70c50ae7b5aa6f01181e4ea88da0
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Dec 16 01:09:48 2016 +0100
libtracker-common: Whitelist clock_gettime/getres
Reported to trigger false positives on Ubuntu.
src/libtracker-common/tracker-seccomp.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-common/tracker-seccomp.c b/src/libtracker-common/tracker-seccomp.c
index b052cbc..cf5dac6 100644
--- a/src/libtracker-common/tracker-seccomp.c
+++ b/src/libtracker-common/tracker-seccomp.c
@@ -106,6 +106,8 @@ tracker_seccomp_init (void)
ALLOW_RULE (sysinfo);
ALLOW_RULE (prctl);
ALLOW_RULE (getrandom);
+ ALLOW_RULE (clock_gettime);
+ ALLOW_RULE (clock_getres);
/* Descriptors */
ALLOW_RULE (close);
ALLOW_RULE (read);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]