tracker-miners/0001-libtracker-miners-common-Allow-statx-syscall.patch

28 lines
815 B
Diff

From c4755ead8dbf0d672e7aff54836a9dc3545c221d Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Mon, 24 Aug 2020 17:17:28 +0200
Subject: [PATCH] libtracker-miners-common: Allow statx syscall
As now used by glib.
Closes: #128
---
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 aabed1548..c0327eb08 100644
--- a/src/libtracker-miners-common/tracker-seccomp.c
+++ b/src/libtracker-miners-common/tracker-seccomp.c
@@ -97,6 +97,7 @@ tracker_seccomp_init (void)
ALLOW_RULE (statfs64);
ALLOW_RULE (lstat);
ALLOW_RULE (lstat64);
+ ALLOW_RULE (statx);
ALLOW_RULE (access);
ALLOW_RULE (getdents);
ALLOW_RULE (getdents64);
--
2.26.2