https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274198

--- Comment #5 from Mark Johnston <[email protected]> ---
(In reply to Dmitry Chagin from comment #4)
I am on the fence.  I agree it is weird to use NAMEI here, but as Ivan pointed
out, ktrnamei() is already (ab)used by shm_copyin_path() and vn_getcwd().

But, the symlink target is not accessed by the kernel, and the symlink target
can be an arbitrary string, it does not have to be a path, see malloc.conf(5)
for example.  So NAMEI really isn't right.  I think KTR_STRING is probably a
better solution; I would extend the KTR_STRUCT flag to include strings.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to