From patchwork Thu Feb 29 21:20:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joe Simmons-Talbott X-Patchwork-Id: 86612 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 F09713858C35 for ; Thu, 29 Feb 2024 21:21:17 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 2723F3858D34 for ; Thu, 29 Feb 2024 21:20:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2723F3858D34 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2723F3858D34 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709241657; cv=none; b=qdBjWDZ40xq4I+s/VpGFj/gUfWME+EuUbupfTKXl3yXrQOGNoPizTG4i0dVhulp12lWRo6SLq5wc3rceFST2Hke7fF00dco6f42t+dyA0oHzx2F3jBhRirjOkSjvWkyTFQFzG8ZmrGgBcjcAGRWhelYapxE38cjO8R6ES84uUwo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709241657; c=relaxed/simple; bh=YPX0180Z6m/kdzzqVCkcBhak8Yzph0ViyVFGuuRqMLY=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=BIj8AOCd8CT8/vN+8qgypRgXiG37kwQ/pDUWYTr4M1Ab5rdoWPgaUdYknWEksZBSjVqVuIFMvk51on7pMCSqUVueZS5Rzz//HKneFCFkauB/KfoQhkOO15joUNnTAlg0TcYNIXE+Bd74MocTm2mhcwL5TECtsTrPLa0U7px8RY0= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1709241655; 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; bh=EwVsr9PdCyll3KRQf+47txyqYwmNAnwO6wO+3FaAIto=; b=GVGUAiPJ5zXZjjmWVfxAw8iNveM37iavVlV3+9GcJLryHKDZPlqSkxEEtSvngcSXtxg1Im PRABVGPgzx1rbRLePAEx1OzHp7ICtA8JSgEnAyhjMXk8qx9hyoWBFAOxrx5Suaj+xSrHl1 tULBPOpPGdm/sajKgo4AyX+TJJ6LXqs= Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-161-VLt2sOuZPsGidOCBtaJN5A-1; Thu, 29 Feb 2024 16:20:53 -0500 X-MC-Unique: VLt2sOuZPsGidOCBtaJN5A-1 Received: by mail-qt1-f198.google.com with SMTP id d75a77b69052e-42eb115379fso15061551cf.2 for ; Thu, 29 Feb 2024 13:20:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709241653; x=1709846453; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EwVsr9PdCyll3KRQf+47txyqYwmNAnwO6wO+3FaAIto=; b=RyowqrN/Zu40SsaoiF8RSVTuAz77LIdoTeH/LA+5ougyZW2+7ly0d1PHh02sZEq1ia 1mNbZXdB5O34IcLtGBxZYCCcDsloi5BQb1CJxxKaHaiFrubXc/EZCUaPBH1cgqhwjnWZ T8nsMaP/a7fkvA8EXYNDGAYxwHhdJ9QjcF66OtukghUgm1iSUDQLgKUMHN/Sud5yy/yR ZQ/WZ5UVz6Bn6gFYk1FC/8e+Lyn/2tCC+uRIqoNvppXu6/VDxa1yTJ1flgAoQ1pvlzdS rACqtxnEwbSS9K+0utjaPEjGiKAqPBl3XDdghvWuJ7Dn7ai6x1R7aNLulf1U+hL1YEBd ZrCQ== X-Gm-Message-State: AOJu0YzhcQXbzkmg8F9ynRyqwwR9MTf422fEKe5URW13zgVeAlefnQ0G E5+yo8NsER7wG43fuwhPHZQHHYAlWg/lICi22GBGlDb+NaAEyZwT/3E3QXzXvDRlq3Y1CKLygQd DkgAkyGptXy/YddF0+dJc0sloQGvQZ57T0n+Ohd9XwcXoO+AKfPvQBENMOKNZ7iG7eIF4vYSl0K G2RNH3e5souLnMhQIJ9RX4DW/dmMvG2wCOAcX9YwOGYw== X-Received: by 2002:a05:622a:492:b0:42e:c4d6:8861 with SMTP id p18-20020a05622a049200b0042ec4d68861mr1290507qtx.54.1709241652787; Thu, 29 Feb 2024 13:20:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IGdZxj7Bd3O6DXbNqvnkZRy2cWkicjcZhJuoLiw7vOHDwkHbGo9GtQ+hVjjSwkeWYmu/bExXw== X-Received: by 2002:a05:622a:492:b0:42e:c4d6:8861 with SMTP id p18-20020a05622a049200b0042ec4d68861mr1290487qtx.54.1709241652459; Thu, 29 Feb 2024 13:20:52 -0800 (PST) Received: from oak.redhat.com (c-71-206-142-238.hsd1.va.comcast.net. [71.206.142.238]) by smtp.gmail.com with ESMTPSA id v3-20020ac85783000000b0042e5da69d93sm1096643qta.1.2024.02.29.13.20.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 13:20:51 -0800 (PST) From: Joe Simmons-Talbott To: libc-alpha@sourceware.org Cc: Joe Talbott Subject: [PATCH] manual/tunables - Add entry for enable_secure tunable. Date: Thu, 29 Feb 2024 16:20:38 -0500 Message-ID: <20240229212050.547864-1-josimmon@redhat.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, RCVD_IN_SORBS_WEB, SPF_HELO_NONE, SPF_NONE, 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 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 From: Joe Talbott 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 +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