[tracker-miners: 1/2] Whitelist clock_nanosleep syscall



commit 2fb70953aa09bb512ee8d9dbf517bade5178d2fd
Author: Szunti <Szunti users noreply github com>
Date:   Thu Mar 5 14:30:29 2020 +0100

    Whitelist clock_nanosleep syscall

 src/libtracker-miners-common/tracker-seccomp.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/libtracker-miners-common/tracker-seccomp.c b/src/libtracker-miners-common/tracker-seccomp.c
index cea992767..68fea08d7 100644
--- a/src/libtracker-miners-common/tracker-seccomp.c
+++ b/src/libtracker-miners-common/tracker-seccomp.c
@@ -115,6 +115,7 @@ tracker_seccomp_init (void)
        ALLOW_RULE (sched_yield);
        ALLOW_RULE (sched_getaffinity);
        ALLOW_RULE (nanosleep);
+       ALLOW_RULE (clock_nanosleep);
        ALLOW_RULE (waitid);
        ALLOW_RULE (waitpid);
        ALLOW_RULE (wait4);


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