[tracker-miners/wip/carlosg/backports-3.2: 1/2] libtracker-miners-common: Allow 'rseq' syscall in seccomp
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/backports-3.2: 1/2] libtracker-miners-common: Allow 'rseq' syscall in seccomp
- Date: Sun, 6 Mar 2022 21:58:47 +0000 (UTC)
commit d57e65a00e545dd3c6118cca656e11abc2a4ea3c
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Jan 5 11:31:16 2022 +0100
libtracker-miners-common: Allow 'rseq' syscall in seccomp
Allow this syscall for restartable sequences, a faster approach
to critical sections. At the moment spotted via GStreamer in
Fedora Rawhide, tt can be expected that more applications will
be using this syscall.
Fixes: https://gitlab.gnome.org/GNOME/tracker/-/issues/351
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 7d88395da..5567233e6 100644
--- a/src/libtracker-miners-common/tracker-seccomp.c
+++ b/src/libtracker-miners-common/tracker-seccomp.c
@@ -156,6 +156,7 @@ tracker_seccomp_init (void)
ALLOW_RULE (futex);
ALLOW_RULE (futex_time64);
ALLOW_RULE (set_robust_list);
+ ALLOW_RULE (rseq);
ALLOW_RULE (rt_sigaction);
ALLOW_RULE (rt_sigprocmask);
ALLOW_RULE (sched_yield);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]