[Devel] [PATCH hci-8.2 v2 0/3] ve: count repeated slashes in a permission path as one
Konstantin Khorenko
khorenko at virtuozzo.com
Tue Dec 1 15:37:18 MSK 2026
I won't apply this version, please send v3 with the changes below.
v2 crossed my v1 reply; only two of its points are left.
On Tue, 1 Dec 2026 13:09:13 +0100, Pavel Tikhomirov wrote:
> - patch 2: fix the comment above the proc root check, only an empty or all-slash path ends there now (Sashiko)
1. Patch 2 message: "sys//kernel" fails with -ENOENT with or without
the patch, /proc/sys has no proc_dir_entry children; take an entry
that exists. "the same way as kernfs_perms_set()" names the loop
patch 1 removes.
2. Patch 3: the proc case "//interrupts" has only leading slashes; put
an empty component inside the path, as the sysfs case does. The
test comment wants one line.
Item 1 of my v1 reply (say what else changes in patch 1) is dropped,
as you answered. So is the box table remark.
--
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
More information about the Devel
mailing list