]> www.infradead.org Git - users/hch/misc.git/commit
devpts: Fix type for uid and gid params
authorDavid Howells <dhowells@redhat.com>
Wed, 2 Apr 2025 12:17:54 +0000 (13:17 +0100)
committerChristian Brauner <brauner@kernel.org>
Mon, 7 Apr 2025 13:22:12 +0000 (15:22 +0200)
commitcfa5f336bdbde49cf0102ab55007b34361988fd1
tree74e3179c217fd70746225c63428c307ce32499d0
parent0af2f6be1b4281385b618cb86ad946eded089ac8
devpts: Fix type for uid and gid params

Fix devpts to parse uid and gid params using the correct type so that they
get interpreted in the context of the user namespace.

Fixes: cc0876f817d6 ("vfs: Convert devpts to use the new mount API")
Reported-by: Debarshi Ray <dray@redhat.com>
Closes: https://github.com/containers/podman/issues/25751
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/r/759134.1743596274@warthog.procyon.org.uk
cc: Eric Sandeen <sandeen@redhat.com>
cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/devpts/inode.c