File: 399bd59e0d0d3e3845d59a7fe197d08371b061b0.patch

package info (click to toggle)
golang-github-containers-common 0.33.4%2Bds1-1%2Bdeb11u2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,268 kB
  • sloc: makefile: 118; sh: 25
file content (35 lines) | stat: -rw-r--r-- 931 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From 399bd59e0d0d3e3845d59a7fe197d08371b061b0 Mon Sep 17 00:00:00 2001
From: Giuseppe Scrivano <gscrivan@redhat.com>
Date: Wed, 16 Jun 2021 12:15:02 +0200
Subject: [PATCH] seccomp: let io_uring_* fail with ENOSYS

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
---
 pkg/seccomp/default_linux.go | 3 ---
 pkg/seccomp/seccomp.json     | 3 ---
 2 files changed, 6 deletions(-)

--- a/pkg/seccomp/default_linux.go
+++ b/pkg/seccomp/default_linux.go
@@ -54,9 +54,6 @@
 			Names: []string{
 				"bdflush",
 				"io_pgetevents",
-				"io_uring_enter",
-				"io_uring_register",
-				"io_uring_setup",
 				"kexec_file_load",
 				"kexec_load",
 				"membarrier",
--- a/pkg/seccomp/seccomp.json
+++ b/pkg/seccomp/seccomp.json
@@ -55,9 +55,6 @@
 			"names": [
 				"bdflush",
 				"io_pgetevents",
-				"io_uring_enter",
-				"io_uring_register",
-				"io_uring_setup",
 				"kexec_file_load",
 				"kexec_load",
 				"membarrier",