Re: Loading symbol at startup

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

 



Mulyadi Santosa wrote:
Hi

Ehm, then maybe it's not supposed to be in the form of module? maybe
it's better made as additional function patched into the kernel? This
way you have advantages:

Well, actually I tried first that approach, but inexplicably to me, the kernel crashes instantaneously when the function to export data is called. So I put the function in a module, cut and paste, and it worked fine. If it helps I'll send the culprit function.
1. no overhead of symbol resolve and function indirect call

2. you can detect the hypercall event the kernel in the stage where
it's not ready to accept modules (well, AFAIK, hypercalls might do
something like preparing initial guess IDT/GDT, right?)

Yes, you're right about IDT/GDT, in fact I'm already detecting hcalls like those, and the next step is to export them to do a deeper analysis.
regards,

Mulyadi.

Thanks
 Carlo
--
It's better to know something about everything, than everything about something.

Blaise Pascal

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[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