[tracker] libtracker-common: Whitelist umask
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-common: Whitelist umask
- Date: Sat, 17 Dec 2016 14:48:11 +0000 (UTC)
commit 73f5cd54a2e8b4ea8fbb4b3997b24d5e4aebd671
Author: Carlos Garnacho <carlosg gnome org>
Date: Sat Dec 17 15:46:19 2016 +0100
libtracker-common: Whitelist umask
Let's give extractor modules the illusion that they can write
something, they actually can't.
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 81ddb09..2d4cfcd 100644
--- a/src/libtracker-common/tracker-seccomp.c
+++ b/src/libtracker-common/tracker-seccomp.c
@@ -83,6 +83,7 @@ tracker_seccomp_init (void)
ALLOW_RULE (utime);
ALLOW_RULE (time);
ALLOW_RULE (fsync);
+ ALLOW_RULE (umask);
/* Processes and threads */
ALLOW_RULE (clone);
ALLOW_RULE (futex);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]