Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:Update
openssh-testuser.26950
openssh-7.2p2-seccomp_getuid.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openssh-7.2p2-seccomp_getuid.patch of Package openssh-testuser.26950
From 2e2653dc3d78b4c6f9aae48c896c4a540638a3a9 Mon Sep 17 00:00:00 2001 From: Old openssh patches <pcerny@suse.com> Date: Tue, 25 Oct 2022 18:53:22 +0200 Subject: [PATCH] openssh-7.2p2-seccomp_getuid # HG changeset patch # Parent d75417bf0f4d50cabd84299773bab4ac68f68caa add 'getuid' syscall to list of allowed ones to prevent the sanboxed thread from being killed by the seccomp filter --- sandbox-seccomp-filter.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c index d132e264..a11ba973 100644 --- a/sandbox-seccomp-filter.c +++ b/sandbox-seccomp-filter.c @@ -147,6 +147,12 @@ static const struct sock_filter preauth_insns[] = { #ifdef __NR_getpid SC_ALLOW(getpid), #endif +#ifdef __NR_getuid + SC_ALLOW(getuid), +#endif +#ifdef __NR_getuid32 + SC_ALLOW(getuid32), +#endif #ifdef __NR_getrandom SC_ALLOW(getrandom), #endif -- 2.38.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor