From patchwork Mon Dec 26 19:25:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Peter_M=C3=BCller?= X-Patchwork-Id: 6320 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4NgnnS1NW0z3wcv for ; Mon, 26 Dec 2022 19:25:48 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4NgnnR2sF2zjk; Mon, 26 Dec 2022 19:25:47 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4NgnnR2s1kz2y4g; Mon, 26 Dec 2022 19:25:47 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4NgnnQ257Cz2xmd for ; Mon, 26 Dec 2022 19:25:46 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4NgnnN0yjpzR4 for ; Mon, 26 Dec 2022 19:25:43 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1672082746; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZDAfR9xGR24PYqjFaM7g3k7nCGdp/+ZYb9YRAUzJwBw=; b=mqXPN/CQrakMXpu/8iIUiXK/18idAnQRzFWie8mmOM1ybtL4cXk7PNQnyNPxnkCX6yKsr4 NdNsFwtr/fOomTBg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1672082746; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZDAfR9xGR24PYqjFaM7g3k7nCGdp/+ZYb9YRAUzJwBw=; b=ji3XmNlwYtPhuPSWRN4EOnudl1t8yD+UF/YedNdEA6S7ROnTSK9SB/a+EWFQt4m0Ho+zHx ooDMJjyVIcoZPGqWhPW32SZaP6tWHd+SVbCdKXSnwOlzDHdn/MJH+NFfXYg2FDhdT/wsoj ir5mQHitljqx9pN6zElPzQaa4Mk9yQ9SNyALrVd75YX1nGeM65Nen8CFzvdPNdDd2qs0dS GuHCz8Zl/NcweWthyFodgKNf9pmv9CBU72y7TAxLb+HbMIvC6wK/OYU2BNSAFPLIJht5fl 8Zxsqoj+Ei3JhHXLTpanX9g+5iGDf6GV7Kdg02lBX3Ra/5vhAaGxhrH849kGGQ== Message-ID: Date: Mon, 26 Dec 2022 19:25:39 +0000 MIME-Version: 1.0 Subject: [PATCH 04/21] linux: Disable syscalls that allows processes to r/w other processes' memory Content-Language: en-US To: development@lists.ipfire.org References: <0e60a1de-6210-835e-54a4-ec5e3128e42e@ipfire.org> From: =?utf-8?q?Peter_M=C3=BCller?= In-Reply-To: <0e60a1de-6210-835e-54a4-ec5e3128e42e@ipfire.org> X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Backported from IPFire 3.x as 48931178ff83911c5bbc86194dea694845ae1608. Signed-off-by: Peter Müller Acked-by: Michael Tremer --- config/kernel/kernel.config.x86_64-ipfire | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/kernel/kernel.config.x86_64-ipfire b/config/kernel/kernel.config.x86_64-ipfire index c9d8dc56b..663dd444b 100644 --- a/config/kernel/kernel.config.x86_64-ipfire +++ b/config/kernel/kernel.config.x86_64-ipfire @@ -53,7 +53,7 @@ CONFIG_SYSVIPC_SYSCTL=y CONFIG_POSIX_MQUEUE=y CONFIG_POSIX_MQUEUE_SYSCTL=y # CONFIG_WATCH_QUEUE is not set -CONFIG_CROSS_MEMORY_ATTACH=y +# CONFIG_CROSS_MEMORY_ATTACH is not set # CONFIG_USELIB is not set # CONFIG_AUDIT is not set CONFIG_HAVE_ARCH_AUDITSYSCALL=y