From patchwork Tue Oct 3 20:11:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siddhesh Poyarekar X-Patchwork-Id: 77053 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BC875385B537 for ; Tue, 3 Oct 2023 20:12:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BC875385B537 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1696363963; bh=UBZljV8AqxabWLuSTgYxLJlqEar7jsJEQbXSv9g3Qpw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=XZrIiufD1Eec4PlI1C5GOXwJ7fUoBhgjhOgGCJEVupMi9Gcw2e/vWXMxYInquLp9A R62es/29rckPaR/AdGVhWuNyZEHQ0yaw1A6yPCyJ+6yUDjiQ7nKkQTpSd+bpsrNPKo x9VssnQ3VsRErEXnOaV8PAH0Of7fa5tnShe8x2qg= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from seahorse.cherry.relay.mailchannels.net (seahorse.cherry.relay.mailchannels.net [23.83.223.161]) by sourceware.org (Postfix) with ESMTPS id 455DD3858D39 for ; Tue, 3 Oct 2023 20:12:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 455DD3858D39 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=sourceware.org Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=sourceware.org X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 4E5F02C1E4E; Tue, 3 Oct 2023 20:12:13 +0000 (UTC) Received: from pdx1-sub0-mail-a264.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id C5C1D2C21FD; Tue, 3 Oct 2023 20:12:12 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1696363932; a=rsa-sha256; cv=none; b=wpYS4wpS47nudOSRWS++7PuC8YJVaBw2KkSSAr0anNlcBCBwrtoxUIfQSnRVVYhlP0PgJs LqYPGbKK5PYq4s9FZ6o08k8h0XBR4yCL4pNR7u6usfiUnoZJBU1UgRN36JnALpUqb2wiVp t5Qiy5MsXILrQyLC18FJ18KkCMFMqu2gFFQ2xIr69uY2YP7YE4y7UrxwM016Y8lQAjVd+z u0eiRArbcA2bSH29RtIq3NsorUkoc4/0Z4fTtwMVxucOYIzC9N4sssVyctxMDFkkM7kMwj cLWoHzn3EeL4UnZK54b/+aLh7XOyzLMsSon1Vgke6gtIbTLseOH9ebCZGKS+jQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1696363932; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UBZljV8AqxabWLuSTgYxLJlqEar7jsJEQbXSv9g3Qpw=; b=CnH2AlRTMw7TvyzKbA0crap/f4FbnNofS2oquo+RhuXqECg75o2G+vGp8CRAoELK2hxtgf wSnkpvPpFEg34ABYQdRMn8VM1cl2gLxe1mD3GL/2s6pH7Cu0JJFqIOHpnJNZMFArbch7Go dw6jovIwbQh+ELZtN7fNs9KfvEpHRGrFsknmsFpspnW/1gIVvRtDaoZJv0RBjjCY//NLiy qsP791/kovEysek1YidOAFZJBoFxQ6Yd2BD6veO4IS31NM3yHp/lSMSYagI+iW4uZgiTfe SqP90ikd3x1UsffrWDElrwt9ccAg0gWQzqmWRKehWa3DlKBAOBeIRjG3TUecfw== ARC-Authentication-Results: i=1; rspamd-7c449d4847-l9fdc; auth=pass smtp.auth=dreamhost smtp.mailfrom=siddhesh@sourceware.org X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org X-MC-Relay: Neutral X-MC-Copy: stored-urls X-MailChannels-SenderId: dreamhost|x-authsender|siddhesh@gotplt.org X-MailChannels-Auth-Id: dreamhost X-Left-Bitter: 1915a4754841f911_1696363933175_2882226214 X-MC-Loop-Signature: 1696363933175:4261101134 X-MC-Ingress-Time: 1696363933175 Received: from pdx1-sub0-mail-a264.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.99.159.76 (trex/6.9.1); Tue, 03 Oct 2023 20:12:13 +0000 Received: from fedora.redhat.com (bras-vprn-toroon4834w-lp130-02-142-113-138-41.dsl.bell.ca [142.113.138.41]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: siddhesh@gotplt.org) by pdx1-sub0-mail-a264.dreamhost.com (Postfix) with ESMTPSA id 4S0TWJ1Ffsz9C; Tue, 3 Oct 2023 13:12:12 -0700 (PDT) From: Siddhesh Poyarekar To: libc-alpha@sourceware.org Cc: adhemerval.zanella@linaro.org, fweimer@redhat.com, carlos@redhat.com, Szabolcs Nagy Subject: [PATCH 2/2] aarch64: Make glibc.mem.tagging SXID_ERASE Date: Tue, 3 Oct 2023 16:11:51 -0400 Message-ID: <20231003201151.1406279-3-siddhesh@sourceware.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231003201151.1406279-1-siddhesh@sourceware.org> References: <20231003201151.1406279-1-siddhesh@sourceware.org> MIME-Version: 1.0 X-Spam-Status: No, score=-1172.5 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_NONE, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_SOFTFAIL, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Limit effect of memory tagging to the same process and don't let it bleed across privilege boundaries into non-setuid children of setuid processes. Signed-off-by: Siddhesh Poyarekar --- elf/dl-tunables.list | 1 - 1 file changed, 1 deletion(-) diff --git a/elf/dl-tunables.list b/elf/dl-tunables.list index 42d8ffd06d..44baf10eaa 100644 --- a/elf/dl-tunables.list +++ b/elf/dl-tunables.list @@ -152,7 +152,6 @@ glibc { type: INT_32 minval: 0 maxval: 255 - security_level: SXID_IGNORE } }