Re: Do you know the bug of EXPORT_SYMBOL()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



With in-tree modules, the compilation process can determine
dependencies and that's why modprobe works with them (insmod doesn't).
How do you want the kernel to know where the symbol comes from? Why
load your mod1 and not my mod3 that also defines myfunc()? Who's going
to call init_module on your mod1? Where in the filesystem should it
look for it?

On Fri, Jul 24, 2015 at 3:40 PM, Navy <navych@xxxxxxx> wrote:
> On Fri, Jul 24, 2015 at 01:48:57PM +0530, Pranay Srivastava wrote:
>> On Fri, Jul 24, 2015 at 11:19 AM, Navy <navych@xxxxxxx> wrote:
>> > Hi
>> > To my understanding, EXPORT_SYMBOL() is used to export a symbol in
>>
>> > Why this bug is not be fixed?
>> >
>> It's a long way from 2.6 now. can you send something about this "bug"?
> Hi Pranay,
> The detail is below:
> https://bugzilla.kernel.org/show_bug.cgi?id=12446#c11
> Maybe other people think out-of-tree modules should not be supported.
> I don't know How do the in-tree modules reference other symbols and be insmod
> without this problem. If you can help me about this, I will deeply grateful.
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux