🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #6571

Re: [RFC PATCH v2 00/41] UUID and GUID user and group ids (*_r system calls)

#6571
From: "Theodore Tso"
Date: Thu, 22 Oct 2026 18:26
39 lines
10920 bytes
On Thu, Oct 22, 2026 at 10:00:16AM -0500, Casey Schaufler wrote:
> 
> I can't see this being acceptable for a variety of reasons, including
> but not limited to performance and configuration complexity. It's a
> general solution for a special case or two, and the impact is significant.

Yeah. I agree it's a non-starter.  For one thing, it requires
replacing every single system call which uses a 32-bit uid or gid ---
either as an input parameter, a return value, or in a structure, such
as, "struct stat".  It also requires making breaking changes into
on-disk file formats that use a uid --- for example, /etc/passwd,
/etc/group, utmp/wtmp, etc.  If it will also break compatibility with
remote file systems that don't use a Windows SID --- e.g., nfsv3, AFS,
etc.  And that's before we even get to breaking things like tar files, etc.

I'll also note that customers that are most likely to need to use the
abominationm of Windows SIDs are also those that are likely to be
using proprietary third party binaries --- you know, silly things like
SAP R/3, Oracle Enterprise Database, db2, etc.  And if you use Windows
SIDs as user id's in your /etc/passwd, then binaries that are still
using the traditional system calls will get the overflow 32-bit number
--- and break.

I suspect it will be much more useful to simply add a supplementary
user id and group id which is only used by those file systems that
*care* about Windows SID's, and assume that everything else will use
true, traditional Unix uids and gids.  I also suspect that we should
be stashing the supplementary id's as extended attributes for the file
systems.  That way we can much more quickly and easily add support to
ext4, xfs, btrfs, etc., as file systems that can be used as backing
stores for NFSv4 and CIFS for those (few) environments that care about
Windows SID's.

						- Ted

P.S., From my perspective, Windows SID's are actually the legacy
ID's. especially as more and more people flee Microslop's Windows 11
and moving to Linux and MacOS.  :-)
Technical Details
Message-ID: <atpNJINlFhQ0M3Y6@mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-350749-linux-kernel-netdev=dewy.ru
References: <cover.1792552161.git.jan.koester@tuxist.de> <018ca365-ce9b-424c-b600-bd9c8aefc9a1@schaufler-ca.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-350749-linux-kernel-netdev=dewy.ru
From: tytso@mit.edu ("Theodore Tso")
Newsgroups: linux.kernel.netdev
Subject: Re: [RFC PATCH v2 00/41] UUID and GUID user and group ids (*_r
 system calls)
Date: Thu, 22 Oct 2026 14:26:55 -0400
Organization: Usenet Network
Message-ID: <atpNJINlFhQ0M3Y6@mit.edu>
References: <cover.1792552161.git.jan.koester@tuxist.de>
 <018ca365-ce9b-424c-b600-bd9c8aefc9a1@schaufler-ca.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="291138"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:qUkonPfIn4nIXnsbNiaY4ZcAc90= sha256:hnl5eTrbe9ogBhW1F5dSfMVjV8kUG98GCiZJ4hxTE6o=
	sha1:XKE3BHHrzXfVXeE+tcn+yHU/WTg= sha256:tDpFU4eq9q0DSemzCYzZ1MSxtzG1CfNXWuW6j8qIolw=
Content-Disposition: inline
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 407D6111337; Thu, 22 Oct 2026 21:31:05 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.95
X-Spam-Status: No, score=-1.95 tagged_above=-9999 required=6.31
	tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
	HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1,
	RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=mit.edu
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 2W4ggeaz7i5t;
	Thu, 22 Oct 2026 21:31:02 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-350749-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=mit.edu
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 444B2111334; Thu, 22 Oct 2026 21:30:51 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 2FE943312F; Thu, 22 Oct 2026 18:28:44 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1792693724;
	b=2n5hmaNmQCijt0Jjo7ePJMwHepu+SzPFy/vJM6Hw5HotAPv2MAj056YVjqIH+XCaXc0m
	 b4h/6vyHuA6ZtfjRTyok8umQu66pfuejsyyxzlD/ciAA8r+rInQxpK7xMKuR984f7ofsx
	 HFQHX3XByFY89grdIr77gE6viyDzmVUxpdZYauUz69KvfU2fBu6rwdCBvkl1NindAejV/
	 6OC59HVgQfrOQUD6Lclv+UlsjfRAyn3UAnaguH+Cj/hahXyD8SAexKZq/t1aMofLD82CC
	 wlvIEbtkYcW2qKAunKCuXVWmmetm8zI/DzKvErWZEIxzY8v0OnCjZ81xbhlzPnkCgxA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792693724;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:Received:
	 Date:From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=JYh+FSmeD5zBdSGmLXfoWsuKx9ehvUO73Rr6qnSc3X8=;
	b=fj941bughbcFiaPEwq8gUI/PKiCaTmr21QMfgiuMge6zesYy7/3t8PXahmDqb8thrgCN
	 DkgCG7XFhRvhHW8YW0NeMiPQPO8dqC0RLhld0oUeRX3VNTwXP8j6Ty3s9fbpyC5s0/hqE
	 c3uIVXgNvPGq7CPf/aWk9dqJg+kmfhLZYCr/1RhqaLmctDKF1yg81XqdbSbc2kltiELyy
	 77I669SFDxZipvAha/IyicaFCejg9xhbNszi3LS/6R6IkYQrER03V5LSPYigSQHRcXcW6
	 WtNO7KR9PoFWW3WLLC+hvAqFpYvhu9in3lw4yMxe7f/F8BCLH5PVpUmKh7Yqr/tf8JA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=mit.edu header.i=@mit.edu header.a=rsa-sha256 header.s=outgoing header.b=FB4rIzmo;
	dmarc=pass header.from=mit.edu;
	spf=pass smtp.mailfrom=mit.edu;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 06FDD606A325;
	Thu, 22 Oct 2026 18:28:44 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=mit.edu header.i=@mit.edu header.a=rsa-sha256 header.s=outgoing header.b=FB4rIzmo
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=18.9.28.11
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792693723;
	b=4zPUPyVyizrD6gmr8H9HYuB3fu46Lmx+2TXG1nXOpBVxwy/jyzA/ZSv1ajze6ibZiXPF
	 x1DVDzcu0tpfEUdQs51E7a+Znu76E5bJxXOgnDoG1uZ3Tqha+h/Kzx6qydCEozyH0apvO
	 Ah8IXElG7l7Rz4AUv7lphaRIADzpd9iUzaNftL3AafdCIv7FO/HugYWtuTNKZlylDXpgA
	 Iz14lmaobFHxrRaxtKl5jpYV/gpxD/dGHwnN8RC7/ARqx//uRDfMYoGsF+WV1y6qsWFtj
	 BCS/61CeZITCn6G7pFmjvbLLN/4vp0MtgTUIWvpF+K4/jzKJgQRtohMF3f471PWyLXw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792693723;
	h=DMARC-Filter:Received:DKIM-Signature:Received:Date:From:To:Cc:
	 Subject:Message-ID:References:MIME-Version:Content-Type:
	 Content-Disposition:In-Reply-To;
	bh=JYh+FSmeD5zBdSGmLXfoWsuKx9ehvUO73Rr6qnSc3X8=;
	b=jo2AA/tqHgaZlzmhGHYKuL43lE96uOuVQQJa3katH04M7Mz3BIMtPfyNHd0YqIw70hUw
	 C1+tfnCuKRj7IXc/q88ELMESIloLmRiTFDXVHwiVydB2EfG6ZCwEwx93mHcUAxkF5U99n
	 V9bAe7G3NfwTaG8vxNLa44vfqKNxm8YuzsGgHNRpgZyRmUjVbcQ48IUXn/TLn98954r+K
	 uMp2/AeoXHKLn389FbZ52IdXFcE9ULxEloaxbcpJiHhF2HBjPyniRYhQoeOpO2a74exmQ
	 Eu+CIcDbnJqW9w2JRFcIeTwOoElyygD2HHiq/8mKLi5TynM2jtS3zmXw60a1p93a3fg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=mit.edu;
	spf=pass smtp.mailfrom=mit.edu;
	dkim=pass header.d=mit.edu header.i=@mit.edu header.a=rsa-sha256 header.s=outgoing header.b=FB4rIzmo;
	arc=none smtp.remote-ip=18.9.28.11
X-Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11])
	(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id A933D606A31B
	for <netdev@vger.kernel.org>; Thu, 22 Oct 2026 18:28:42 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A933D606A31B
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mit.edu
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mit.edu
X-Received: from macsyma.thunk.org (pool-108-26-156-23.bstnma.fios.verizon.net [108.26.156.23])
	(authenticated bits=0)
        (User authenticated as tytso@ATHENA.MIT.EDU)
	by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 69MIRtlq008340
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);
	Thu, 22 Oct 2026 14:27:56 -0400
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing;
	t=1792693680; bh=JYh+FSmeD5zBdSGmLXfoWsuKx9ehvUO73Rr6qnSc3X8=;
	h=Date:From:Subject:Message-ID:MIME-Version:Content-Type;
	b=FB4rIzmodCuc/ai76PzcPn8NKTCLCBgJQn5lG4OsNurD082LpzxvtWFDvX0WpozMi
	 G5Wxrp5EKZivFppsyR/34R27Liveb8SHZHVPaUoS8ZK0SZqi5QIowbJZ3A3OxbM4VC
	 T6wusZBLcMx4TA37NCtnpi9VcygARe/ydMqEQL+dUU2EOTWaGTS6Vg7HOcXefp/15T
	 d7nP4c/UgU10vdDcWJP9aCfO9onPi6Wq2o/TdsUsdoFN9dfgwzIj5Cp6zqZxHaVWNY
	 x9vDg8JooiFE5P2IxXk6tkIe6BLRPcasmFTfgbGaiWHz4u1SVqCZ6O7DWx0DCQCJGP
	 /VtU8vRIAggOg==
X-Received: by macsyma.thunk.org (Postfix, from userid 15806)
	id 96FCB22114B9; Thu, 22 Oct 2026 14:26:55 -0400 (EDT)
X-Cc: Jan Koester <jan.koester@tuxist.de>,
        Christian Brauner <brauner@kernel.org>,
        Alexander Viro <viro@zeniv.linux.org.uk>,
        "Serge E. Hallyn" <serge@hallyn.com>, Jan Kara <jack@suse.cz>,
        Paul Moore <paul@paul-moore.com>, Arnd Bergmann <arnd@arndb.de>,
        linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org,
        linux-security-module@vger.kernel.org, linux-arch@vger.kernel.org,
        linux-ext4@vger.kernel.org, linux-nfs@vger.kernel.org,
        linux-cifs@vger.kernel.org, netdev@vger.kernel.org,
        audit@vger.kernel.org, keyrings@vger.kernel.org,
        linux-kernel@vger.kernel.org
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <018ca365-ce9b-424c-b600-bd9c8aefc9a1@schaufler-ca.com>