加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
backport-seccomp-drop-getrandom-from-system-service.patch 1.10 KB
一键复制 编辑 原始数据 按行查看 历史
From 9eb9b07c404be8d59a800c70593809a69f0d0e55 Mon Sep 17 00:00:00 2001
From: Lennart Poettering <lennart@poettering.net>
Date: Tue, 27 Jul 2021 17:10:21 +0200
Subject: [PATCH] seccomp: drop getrandom() from @system-service
It's included in @default now, since
14f4b1b568907350d023d1429c1aa4aaa8925f22, and since @system-service
pulls that in we can drop it from @system-service.
Follow-up for #20191
(cherry picked from commit 67347f37407489a68e12da8f75b78ae1d1168de9)
Conflict:NA
Reference:https://github.com/systemd/systemd/commit/9eb9b07c404be8d59a800c70593809a69f0d0e55
---
src/shared/seccomp-util.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/shared/seccomp-util.c b/src/shared/seccomp-util.c
index cad0af89f2..703d5a939c 100644
--- a/src/shared/seccomp-util.c
+++ b/src/shared/seccomp-util.c
@@ -859,7 +859,6 @@ const SyscallFilterSet syscall_filter_sets[_SYSCALL_FILTER_SET_MAX] = {
"get_mempolicy\0"
"getcpu\0"
"getpriority\0"
- "getrandom\0"
"ioctl\0"
"ioprio_get\0"
"kcmp\0"
--
2.33.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化