diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2016-12-16 01:09:48 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2016-12-16 01:09:48 +0100 |
commit | 28601208782ca00e04c28e7087be4d42ca52dedc (patch) | |
tree | 2938e7d9426df67b3f8b7106db15e94ee04063c1 /src/libtracker-common/tracker-seccomp.c | |
parent | fff1ba0adfb9ae052f091f858fc027ec267f5392 (diff) | |
download | tracker-28601208782ca00e04c28e7087be4d42ca52dedc.tar.gz |
libtracker-common: Whitelist clock_gettime/getres
Reported to trigger false positives on Ubuntu.
Diffstat (limited to 'src/libtracker-common/tracker-seccomp.c')
-rw-r--r-- | 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 b052cbc83..cf5dac6bb 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); |