From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 869DB16F8E9 for ; Fri, 16 May 2025 14:20:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=18.9.28.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747405256; cv=none; b=vF/KQeNN9BP8iFuFam0PHrBdA8Awv7M/sLfPFykL/uM3nsXwmLBNizdL0kTWQFhGb99cP6sF4K6hhYccrGcPbWClZ6HMO0sVOyRyXfq62blom8IcYUhcx2E/MbAfBlrA2igIbwFEw6yBqgedYcaQWzvOzuTRkQwrYAR/pzQdTD0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747405256; c=relaxed/simple; bh=qlyRcbfx3AUnA02GPrwtW/A/90p+kkWt/OJuUZbMQ84=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Z0dkZ+5LGwbZWMRKL9JTahymNRZkNinQ7t2pZxS5Z2W8rpRbJMKDEGhqzSz7DNup7GFpKhsLcxAZWcWg41iSYxhaUX0Q5eu4rUamcGvBsHDN8EtVYnVdiwXK4vq4hXKRuAwqRA9vV0QTUBeLutQ5Z8m72s4vNvSpq4L0lKDwKzw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mit.edu; spf=pass smtp.mailfrom=mit.edu; arc=none smtp.client-ip=18.9.28.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mit.edu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mit.edu Received: from trampoline.thunk.org (pool-173-48-112-151.bstnma.fios.verizon.net [173.48.112.151]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 54GEKPdF009602 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 16 May 2025 10:20:25 -0400 Received: by trampoline.thunk.org (Postfix, from userid 15806) id E6D932E00DD; Fri, 16 May 2025 10:20:24 -0400 (EDT) Date: Fri, 16 May 2025 10:20:24 -0400 From: "Theodore Ts'o" To: Rich Felker Cc: Alejandro Colomar , Jan Kara , Alexander Viro , Christian Brauner , linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org, libc-alpha@sourceware.org Subject: Re: [RFC v1] man/man2/close.2: CAVEATS: Document divergence from POSIX.1-2024 Message-ID: <20250516142024.GA21503@mit.edu> References: <20250516130547.GV1509@brightrain.aerifal.cx> Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250516130547.GV1509@brightrain.aerifal.cx> On Fri, May 16, 2025 at 09:05:47AM -0400, Rich Felker wrote: > In general, raw kernel interfaces do not conform to any version of > POSIX; they're just a low-impedance-mismatch set of inferfaces that > facilitate implementing POSIX at the userspace libc layer. So I don't > think this should be documented as "Linux doesn't conform" but > (hopefully, once glibc fixes this) "old versions of glibc did not > conform". If glibc maintainers want to deal with breaking userspace, then as a kernel developer, I'm happy to let them deal with the angry/disappointed users and application programmers. :-) - Ted