Thread (15 messages) 15 messages, 3 authors, 3d ago

Re: [RFC PATCH 09/41] uidgid: let kuid_t and kgid_t hold a UUID or a GUID

flat view

From: Jan Koester <hidden>
Date: 2026-10-19 02:10:33
Also in: keyrings, linux-api, linux-arch, linux-cifs, linux-ext4, linux-fsdevel, linux-nfs, lkml, netdev

Hi,

here are all patches. I have problems to 42 mails with my provder sryy for that.

Am 18.10.26 um 23:02 schrieb Eric Biggers:
On Sun, Oct 18, 2026 at 08:01:30PM +0200, Jan Koester wrote:
quoted
Make kuid_t and kgid_t (and vfsuid_t and vfsgid_t, which share their
layout) tagged unions: a classic 32 bit id, an RFC 9562 UUID, or a
Microsoft GUID. KID_LEGACY is 0, so zeroed memory still holds the root
ids, and KUIDT_INIT()/KGIDT_INIT() keep building classic ids, so the
bulk of the kernel needs no change. The member is renamed from val to
legacy so the compiler finds code that peeks at it directly.
Most Linux systems aren't going to want this bloat to the core uid and
gid types.  So if this is supported at all (unclear it's worth it...),
it will need to be controlled by a default-off kconfig option.

Side note: the subject line says the series contains 41 patches, but it
seems only 11 were actually sent.

- Eric

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help