[tracker-miners] libtracker-miners-common: Allow GCredentials to work



commit 3cb0b73368da01e4d54278f331099acf76d75ea6
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Jan 10 01:52:12 2018 +0100

    libtracker-miners-common: Allow GCredentials to work
    
    GDaemonFile, from GVfs, requires GCredentials, which in turn requires
    getegid. This isn't necessary when going through the FUSE compatibility
    layer.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=792922

 src/libtracker-miners-common/tracker-seccomp.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-miners-common/tracker-seccomp.c b/src/libtracker-miners-common/tracker-seccomp.c
index 0f3b5ec..71b6017 100644
--- a/src/libtracker-miners-common/tracker-seccomp.c
+++ b/src/libtracker-miners-common/tracker-seccomp.c
@@ -78,6 +78,8 @@ tracker_seccomp_init (void)
        ALLOW_RULE (exit_group);
        ALLOW_RULE (getuid);
        ALLOW_RULE (getuid32);
+       ALLOW_RULE (getegid);
+       ALLOW_RULE (getegid32);
        ALLOW_RULE (geteuid);
        ALLOW_RULE (geteuid32);
        ALLOW_RULE (getppid);


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