[Devel] [PATCH hci-8.2 v2 2/3] fs/proc, ve: count repeated slashes in a permission path as one
Konstantin Khorenko
khorenko at virtuozzo.com
Tue Dec 1 15:37:18 MSK 2026
Item 1 of the cover letter reply.
On Tue, 1 Dec 2026 13:09:15 +0100, Pavel Tikhomirov wrote:
> proc_perms_set() walks the path the same way as kernfs_perms_set() and
> stops at the first empty component: a rule for "sys//kernel" sets sys,
/proc/sys has no proc_dir_entry children: "sys//kernel" fails with
-ENOENT with or without this patch. Take an entry that exists, such
as "bus//pci". After patch 1 kernfs_perms_set() no longer walks this
way; name the old loop instead.
--
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
More information about the Devel
mailing list