some questions on kern_linker and pre-loaded modules

Andriy Gapon avg at FreeBSD.org
Sat Feb 2 10:55:36 UTC 2013


on 28/01/2013 17:40 John Baldwin said the following:
> Yes, I think it is too hard at present to safely allow a linker file to
> override the same module in a kernel, so the duplicate linker file should
> just be rejected entirely.  I'm not sure if your change is completely
> correct for that.

Incidentally that particular patch was broken.
Here is a working patch:
http://people.freebsd.org/~avg/linker_file_register_modules-linker_kernel_file.diff

But I really need to get a better understanding of the bigger picture and then
discuss what has to be done in that scope.

I plan to write a larger response to your complete followup.
Thank you.

-- 
Andriy Gapon


More information about the freebsd-current mailing list