[tracker-miners/sam/epoll_create1: 2/2] seccomp: Allow epoll_create1()
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/sam/epoll_create1: 2/2] seccomp: Allow epoll_create1()
- Date: Mon, 17 Oct 2022 09:32:23 +0000 (UTC)
commit 360acc0263653903b44532d0691dfb19f615370f
Author: Sam Thursfield <sam thursfield codethink co uk>
Date: Mon Oct 17 11:32:00 2022 +0200
seccomp: Allow epoll_create1()
This is preferred over epoll_create(), and is used in GLib 2.74 and
later due to https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2868
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 3102d0997..6b1c35450 100644
--- a/src/libtracker-miners-common/tracker-seccomp.c
+++ b/src/libtracker-miners-common/tracker-seccomp.c
@@ -185,6 +185,7 @@ tracker_seccomp_init (void)
ALLOW_RULE (pipe);
ALLOW_RULE (pipe2);
ALLOW_RULE (epoll_create);
+ ALLOW_RULE (epoll_create1);
ALLOW_RULE (epoll_ctl);
/* System */
ALLOW_RULE (uname);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]