From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from vmicros1.altlinux.org (vmicros1.altlinux.org [194.107.17.57]) by sourceware.org (Postfix) with ESMTP id B38383858D35 for ; Thu, 16 Mar 2023 12:13:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B38383858D35 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=altlinux.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=altlinux.org Received: from mua.local.altlinux.org (mua.local.altlinux.org [192.168.1.14]) by vmicros1.altlinux.org (Postfix) with ESMTP id 5921C72C8B1 for ; Thu, 16 Mar 2023 15:13:26 +0300 (MSK) Received: by mua.local.altlinux.org (Postfix, from userid 508) id 4BD3B7CF952; Thu, 16 Mar 2023 14:13:26 +0200 (IST) Date: Thu, 16 Mar 2023 14:13:26 +0200 From: "Dmitry V. Levin" To: libc-alpha@sourceware.org Subject: Re: [PATCH] getlogin_r: fix missing fallback if loginid is unset (bug 30235) Message-ID: <20230316121326.GA10878@altlinux.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS,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 List-Id: On Thu, Mar 16, 2023 at 12:58:40PM +0100, Andreas Schwab via Libc-alpha wrote: > When /proc/self/loginid is not set, we should still fall back to using the > traditional utmp lookup, instead of failing right away. It's loginuid, not loginid. -- ldv