tracker-miners/0001-libtracker-miners-common-Add-newstatat-statat64-sysc.patch
DistroBaker 29eb668673 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/tracker-miners.git#9a6de18deb2d2faa6ee447f0ed8f893e1bf56e9c
2020-11-03 18:32:31 +00:00

27 lines
890 B
Diff

From b3fdbaf1ab23ce7191ace6db79575dfce5f90881 Mon Sep 17 00:00:00 2001
From: Carlos Garnacho <carlosg@gnome.org>
Date: Sun, 25 Oct 2020 15:37:13 +0100
Subject: [PATCH] libtracker-miners-common: Add newstatat/statat64 syscalls
These are done in recent glib versions, should be observed here.
---
src/libtracker-miners-common/tracker-seccomp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/libtracker-miners-common/tracker-seccomp.c b/src/libtracker-miners-common/tracker-seccomp.c
index c0327eb08..01887e829 100644
--- a/src/libtracker-miners-common/tracker-seccomp.c
+++ b/src/libtracker-miners-common/tracker-seccomp.c
@@ -91,6 +91,8 @@ tracker_seccomp_init (void)
/* Basic filesystem access */
ALLOW_RULE (fstat);
ALLOW_RULE (fstat64);
+ ALLOW_RULE (fstatat64);
+ ALLOW_RULE (newfstatat);
ALLOW_RULE (stat);
ALLOW_RULE (stat64);
ALLOW_RULE (statfs);
--
2.29.2