kldxref anything that's a .ko. This will skip the kernel, but we don't
need to kldxref the kernel itself.
Sponsored by: Netflix
Differential D43507
kldxref: Be more conservative about what we reject. imp on Jan 18 2024, 9:48 PM. Authored by Tags None Referenced Files
Details
kldxref anything that's a .ko. This will skip the kernel, but we don't Sponsored by: Netflix
Diff Detail
Event TimelineComment Actions
Are we sure about that? Is there any harm in doing dot != NULL && ... instead and preserving the historic behaviour of processing the kernel? Comment Actions Hmm, we certainly have processed the kernel to date. I think it's quite possible we don't need to do the kernel though as we will never try to load a kernel as a dependency. Comment Actions I'll update the man pages.. But we've not been doing the kernel for months now and there's been no harm from that (the harm is from foo.bar.ko being ignored). Comment Actions Ah, yes, we are. I thought we'd only done one . but we do 0 or 1 dot. So I can add kernel to the allowed list, but it should be only kernel. Though this is at best a heuristic and wouldn't work if you changed the default name of 'kernel'... But I just updated with a fix to not skip files w/o a dot in them. |