[RFC PATCH v2 38/41] devpts: allow UUID and GUID owners

sashiko-bot at kernel.org sashiko-bot at kernel.org
Thu Oct 22 03:18:06 UTC 2026


> Terminals are given to the user of a login session: sshd and login
> chown the slave to the user, and a pty opened by a UUID or GUID user
> gets that user as its owner. devpts keeps owners in its inodes only,
> so like tmpfs and ramfs it can hold any kind of owner: set SB_I_UID_R.
> 
> Without it, sshd's chown() of the pty of a UUID user fails with
> -EOVERFLOW and the session is closed.
> 
> 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=38




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