From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by sourceware.org (Postfix) with ESMTP id CBA993973090 for ; Thu, 22 Oct 2020 07:59:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CBA993973090 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-544-R72h7790OzG3zxuv0gTRAQ-1; Thu, 22 Oct 2020 03:59:04 -0400 X-MC-Unique: R72h7790OzG3zxuv0gTRAQ-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 73607835B4A; Thu, 22 Oct 2020 07:59:03 +0000 (UTC) Received: from oldenburg2.str.redhat.com (ovpn-112-100.ams2.redhat.com [10.36.112.100]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C28EE60BFA; Thu, 22 Oct 2020 07:59:02 +0000 (UTC) From: Florian Weimer To: Siddhesh Poyarekar via Libc-alpha Cc: Siddhesh Poyarekar Subject: Re: [PATCH] Reword description of SXID_* tunable properties References: <20201022061818.74951-1-siddhesh@sourceware.org> Date: Thu, 22 Oct 2020 09:59:01 +0200 In-Reply-To: <20201022061818.74951-1-siddhesh@sourceware.org> (Siddhesh Poyarekar via Libc-alpha's message of "Thu, 22 Oct 2020 11:48:18 +0530") Message-ID: <87k0visncq.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Oct 2020 07:59:07 -0000 * Siddhesh Poyarekar via Libc-alpha: > The SXID_* tunable properties only influence processes that are > AT_SECURE, so make that a bit more explicit in the documentation and > comment. > > Revisiting the code after a few years I managed to confuse myself, so > I imagine there could be others who may have incorrectly assumed like > I did that the SXID_ERASE tunables are not inherited by children of > non-AT_SECURE processes. Change looks reasonable. It reflects how I think the implementation works, but I have not checked whether my assumptions match reality. Thanks, Florian -- Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB 153243, Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill