[RFC PATCH v2 08/41] smb: client: use __kuid_val() for the unix SIDs of the caller
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Thu Oct 22 03:17:31 UTC 2026
> The S-1-5-88-1-<uid> and S-1-5-88-2-<gid> SIDs sent with a create
> request take the raw kernel ids from kuid_t.val, which is gone now that
> the ids can be UUIDs and GUIDs. Use __kuid_val()/__kgid_val(), the same
> value for classic ids and -1 for the others, which have no unix SID.
>
> 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=8
More information about the Linux-security-module-archive
mailing list