diff options
| author | 2025-11-29 14:41:20 +0530 | |
|---|---|---|
| committer | 2025-12-15 14:13:13 +0100 | |
| commit | fccbe38a5d06dbe44bcd89196fe1d2c2272a1f4a (patch) | |
| tree | 09371344994850bdc0a3bf83ef58de4a13abb226 /samples/kobject/ssh:/git@git.zx2c4.com/git: | |
| parent | Linux 6.19-rc1 (diff) | |
statmount: permission check should return EPERM
Currently, statmount() returns ENOENT when caller is not CAP_SYS_ADMIN
in the user namespace owner of target mount namespace. This should be
EPERM instead.
Suggested-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Bhavik Sachdev <b.sachdev1904@gmail.com>
Link: https://patch.msgid.link/20251129091455.757724-2-b.sachdev1904@gmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'samples/kobject/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
