Backport an upstream patch to allow statx syscall (#1875398)

This commit is contained in:
Kalev Lember 2020-09-07 11:28:30 +02:00
parent 6ff5c2b3ba
commit 75f5bd2111
2 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,27 @@
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

View File

@ -18,13 +18,15 @@
Name: tracker-miners
Version: 2.3.4
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Tracker miners and metadata extractors
# libtracker-extract is LGPLv2+; the miners are a mix of GPLv2+ and LGPLv2+ code
License: GPLv2+ and LGPLv2+
URL: https://wiki.gnome.org/Projects/Tracker
Source0: https://download.gnome.org/sources/%{name}/2.3/%{name}-%{version}.tar.xz
# Backported from upstream
Patch0: 0001-libtracker-miners-common-Allow-statx-syscall.patch
BuildRequires: gcc
BuildRequires: giflib-devel
@ -132,6 +134,9 @@ rm -rf %{buildroot}%{_datadir}/tracker-tests
%changelog
* Mon Sep 07 2020 Kalev Lember <klember@redhat.com> - 2.3.4-2
- Backport an upstream patch to allow statx syscall (#1875398)
* Tue Aug 25 2020 Kalev Lember <klember@redhat.com> - 2.3.4-1
- Update to 2.3.4