[tracker/tracker-1.10] libtracker-common: Allow querying process stats/limits
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-1.10] libtracker-common: Allow querying process stats/limits
- Date: Thu, 19 Jan 2017 10:57:24 +0000 (UTC)
commit 7630f4196a3f25200799e41e21438bf397f80d78
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Dec 21 17:12:22 2016 +0100
libtracker-common: Allow querying process stats/limits
Modifying those is not allowed though.
https://bugzilla.gnome.org/show_bug.cgi?id=776117
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 37316c1..3304a5a 100644
--- a/src/libtracker-common/tracker-seccomp.c
+++ b/src/libtracker-common/tracker-seccomp.c
@@ -73,6 +73,8 @@ tracker_seccomp_init (void)
ALLOW_RULE (getppid);
ALLOW_RULE (gettid);
ALLOW_RULE (exit);
+ ALLOW_RULE (getrusage);
+ ALLOW_RULE (getrlimit);
/* Basic filesystem access */
ALLOW_RULE (fstat);
ALLOW_RULE (fstat64);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]