From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from iguana.tulip.relay.mailchannels.net (iguana.tulip.relay.mailchannels.net [23.83.218.253]) by sourceware.org (Postfix) with ESMTPS id 586AE3858D39 for ; Fri, 1 Mar 2024 15:21:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 586AE3858D39 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gotplt.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gotplt.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 586AE3858D39 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=23.83.218.253 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1709306508; cv=pass; b=OZ0TqFaKX4e1PkHcrb7JyX3+LjvLMMeP+Pt1mdWMeHRUSolkRhMQ8QUDCTMQsh9KHaiYH0ugbReUzfvclqiQIxloFi+eUZM/KvGQR2AkgD5aHZ/FRlcasGdfvrwta7IqPi7AbemE/i145LCGuZITQkChQ7menJk1yD4vydU/pQ4= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1709306508; c=relaxed/simple; bh=Ix1nZp7Fqfc9CNdh3tmZKjEBhaNHKth5RTN4V55w64o=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=J1J2lWco30MCLVcTSIVolC3gxdwSoayXeNNqQy8Lt1U0Uzc/JhiLzgq1y2GNOLyABkesP5NGPyrTqcLJPfS+wxkGzrrWtUGWBZ5jeVgT+ckk95s984oZ9A2Iesa8dzyM2AZ+xI38m2u0ME3l3VHFC59YVS/aw6Z2LNPxd8q+Icw= ARC-Authentication-Results: i=2; server2.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 6A51F943A2F; Fri, 1 Mar 2024 15:21:45 +0000 (UTC) Received: from pdx1-sub0-mail-a251.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 03F80942E18; Fri, 1 Mar 2024 15:21:45 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1709306505; a=rsa-sha256; cv=none; b=Qvc7hLsFQFljY21x5Cb0HLclQBCaZUulqD0kF4G23Ipx2bY4PZyirS6CmA+3mFCcRbWZxA 8DVYih9SKUd0q1xpRHn6EUDhRIaNzvJCj2z/t8G8AZeUWwas200YofxCtaxaY7+Va0zV+u bznhvVZBd6OMJDDjVcVUjSA6Ks0PZpCvmOoFt5EYHSyw9a9FYZtE3UkwVar7yAomPtitlN rO9/ygCP92LXyJqfLlBQEu4Ys5EGnHDAJn8+2M1Q9hfMyfNx1OXOcgEnO09OCywCKb0i1z 6PfzBnN5cyV4Z4iEWddcdm78sPuWHmioQ7+hMye4wwGoRI3QHO8TpLhzbDAifQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1709306505; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=dUvGxsbSW4UDWM6fkyRPcx/8B0QA+wGDYrMsrtkkj6M=; b=sxajHT5hAvCglt1djZ/GPIFRek4wYiOn/pOJK86Kv/IYLNHxin+Zy70kKEPw8OeyyY1mOs 8ORjaKhVpxbYRFF9eF7cT9ssQie4uBsZ59LvqS9XXdRM2qvgBh/BLuERhirB3j8Fo6Tbg8 cEV5SOSydsmEBnPEHdr4wEGBDc0B1kD38QWX9L494C382bQOWtYhpQ0awclyusASEGNc0+ rTdwZVK24lLL3yJh00fsW8f4SDkwHhPCFR1tmDm55A4cpxBh9YqCCq3lLujzp1EdLTx4XF dV6R4I6MQXGAcfBHIkAzykCEDBnvIKa5NKRfzRoTAUhFH2AkGH0JLqHBGNgaQA== ARC-Authentication-Results: i=1; rspamd-7f9dd9fb96-wlhxq; auth=pass smtp.auth=dreamhost smtp.mailfrom=siddhesh@gotplt.org X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|siddhesh@gotplt.org X-MailChannels-Auth-Id: dreamhost X-Abortive-Gusty: 7e8bd3185ae60c00_1709306505273_2279732543 X-MC-Loop-Signature: 1709306505273:856021668 X-MC-Ingress-Time: 1709306505273 Received: from pdx1-sub0-mail-a251.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.102.58.46 (trex/6.9.2); Fri, 01 Mar 2024 15:21:45 +0000 Received: from [192.168.0.182] (unknown [76.68.24.30]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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-a251.dreamhost.com (Postfix) with ESMTPSA id 4TmWyw4Qxmz2B; Fri, 1 Mar 2024 07:21:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gotplt.org; s=dreamhost; t=1709306504; bh=dUvGxsbSW4UDWM6fkyRPcx/8B0QA+wGDYrMsrtkkj6M=; h=Date:Subject:To:Cc:From:Content-Type:Content-Transfer-Encoding; b=OTomwIv0MBBGONk3hH10DOJxARH+r0h3K4YW8JiaKWayJPqOMdZnXB4m70KLHrWcn PtEdgiGvdX+Z3jBS47ORGgjWGFPaVeKJ+p0OEAULYRrqelh0BO1r1L9w07b0OGAg+s p834JVXlfddkpcpnW4Y4fGonLZMRYDzsIu6BVT2eUGSbh5PGYijYF4C/VGegetROAl OcGYPv0GtbjOgS5+DFmcPIPbNlzH5y92/eQDqQISNw/VZKvMWf9hUfWqLTAH+dK7rB RI+0v+uOJt6k40WI4cnqAKKorA242MlB1HgXRemLKK6r46XkjpgMLvybkUBL7UrP2G tGvKu4Targq+w== Message-ID: <469de7f1-19a1-44e6-aacb-09cb11fc2006@gotplt.org> Date: Fri, 1 Mar 2024 10:21:33 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] manual/tunables - Add entry for enable_secure tunable. Content-Language: en-US To: Joe Simmons-Talbott , libc-alpha@sourceware.org Cc: Joe Talbott References: <20240229212050.547864-1-josimmon@redhat.com> From: Siddhesh Poyarekar In-Reply-To: <20240229212050.547864-1-josimmon@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3035.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2024-02-29 16:20, Joe Simmons-Talbott wrote: > From: Joe Talbott > > --- OK with a small nit fix below. Please fix that and push, also posting the updated patch as [committed] to the mailing list. Thanks, Sid Reviewed-by: Siddhesh Poyarekar > manual/tunables.texi | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/manual/tunables.texi b/manual/tunables.texi > index be97190d67..280d90dd5d 100644 > --- a/manual/tunables.texi > +++ b/manual/tunables.texi > @@ -345,6 +345,16 @@ performance issues of @samp{1}. > The default value of this tunable is @samp{2}. > @end deftp > > +@deftp Tunable glibc.rtld.enable_secure > +Used to run a program as if it were a setuid process. The only valid value > +is @samp{1} as this tunable can only be used to set and not unset > +enable_secure. Setting this tunable to @samp{1} also disables all other @code{enable_secure} > +tunables. This tunable is intended to facilitate more extensive verification > +tests for @code{AT_SECURE} programs and not meant to be a security feature. > + > +The default value of this tunable is @samp{0}. > +@end deftp > + > @node Elision Tunables > @section Elision Tunables > @cindex elision tunables