[RFC PATCH v2 23/41] statx: report UUID and GUID owners

sashiko-bot at kernel.org sashiko-bot at kernel.org
Thu Oct 22 03:17:48 UTC 2026


> Add stx_uid_r and stx_gid_r, the owner and group as __kernel_uid_r_t,
> taking 40 of the 64 spare bytes at the end of struct statx, and
> STATX_UID_R and STATX_GID_R for them. Every filesystem provides them,
> from the kstat the VFS has anyway. stx_uid and stx_gid keep showing a
> UUID or GUID as the overflow id.
> 
> struct statx is designed to be extended this way, so there is no new
> system call: statx() with the new mask bits is the *_r variant.
> 
> Assisted-by: Claude:claude-opus-5-5
> 
> Signed-off-by: Jan Koester <jan.koester at tuxist.de>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1792552161.git.jan.koester@tuxist.de?part=23




More information about the Linux-security-module-archive mailing list