Backport an upstream patch to allow statx syscall (#1875398)
This commit is contained in:
parent
6ff5c2b3ba
commit
75f5bd2111
27
0001-libtracker-miners-common-Allow-statx-syscall.patch
Normal file
27
0001-libtracker-miners-common-Allow-statx-syscall.patch
Normal 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
|
||||||
|
|
@ -18,13 +18,15 @@
|
|||||||
|
|
||||||
Name: tracker-miners
|
Name: tracker-miners
|
||||||
Version: 2.3.4
|
Version: 2.3.4
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Tracker miners and metadata extractors
|
Summary: Tracker miners and metadata extractors
|
||||||
|
|
||||||
# libtracker-extract is LGPLv2+; the miners are a mix of GPLv2+ and LGPLv2+ code
|
# libtracker-extract is LGPLv2+; the miners are a mix of GPLv2+ and LGPLv2+ code
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
URL: https://wiki.gnome.org/Projects/Tracker
|
URL: https://wiki.gnome.org/Projects/Tracker
|
||||||
Source0: https://download.gnome.org/sources/%{name}/2.3/%{name}-%{version}.tar.xz
|
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: gcc
|
||||||
BuildRequires: giflib-devel
|
BuildRequires: giflib-devel
|
||||||
@ -132,6 +134,9 @@ rm -rf %{buildroot}%{_datadir}/tracker-tests
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Aug 25 2020 Kalev Lember <klember@redhat.com> - 2.3.4-1
|
||||||
- Update to 2.3.4
|
- Update to 2.3.4
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user