Re: Dynamically loading binaries in Kernel mode.



Actually, the group will answer the question without going into the details
of you project. What we are looking for are the goals of you need to load
binaries. There are a number of solutions including do not do that, but
without understanding the reasoning behind the need a lot of us find we are
helping people shoot the system in the foot.

For instance in you situation, there are multiple methods you can use,
kernel mode DLL's, a seperate driver with an interface handled in many ways,
etc. The problem is that many people come to us with "I want to do X, how
can I accomplish it", when if they stepped back one level the answer is "Use
standard mechanism A".

A common example of this are people asking many different ways to have the
driver communicate with the application. Once we understand that the
question "how do I map a user space code section into the kernel?" is really
"how do I call up to an application with an action to do?" the answer
becomes obvious.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply


"Luis Miguel Huapaya" <LuisMiguelHuapaya@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:52930D30-4618-4C8B-BDEF-6BE5FDE193C5@xxxxxxxxxxxxxxxx
Hi again,

I understand where you are coming from. Unfortunately there are legal
reasons pertaining to ongoing patent work that would prevent me from
disclosing the reasons why we (I) need to dynamically load code at the
kernel
level. It's unfortunately one of those situations where telling anyone
about
our master plan basically screws us :-)

So it sounds to me like I need to take this offline with a consultant, get
an NDA signed and proceed with some technical questions since for the most
part, the participants on this forum feel ill at ease with answering my
questions without prior full disclosure (which won't happen anytime soon).

cheers,
Luis Miguel Huapaya



.



Relevant Pages

  • Re: "Assertion failed: driverObject->MajorFunction[i] != NULL" in checked build and hgf
    ... > (hgfs.sys is a FS driver which is part of the VMWare tools). ... > I can't think of any reasons why a driver should do this. ... especially since the kernel restores this value back? ... > Spiro R. Trikaliotis ...
    (microsoft.public.development.device.drivers)
  • Re: Linux in a binary world... a doomsday scenario
    ... >> users because the driver is broken and does not build. ... > and maintainable driver which got merged into Linus' kernel, ... most of them (until the maintainer vanishes and after a year of ... And probably a few more (sane reasons, ...
    (Linux-Kernel)
  • Re: 2.6.30-rc4 kernel
    ... I think there may be a problem with the 2.6.30 kernel that is ... # Generic Driver Options ... # PCI IDE chipsets support ... # Other IDE chipsets support ...
    (Linux-Kernel)
  • 2.6.30-rc4 kernel
    ... kernel panic - not syncing: ... # Generic Driver Options ... # PCI IDE chipsets support ... # Other IDE chipsets support ...
    (Linux-Kernel)
  • [PATCH 18-rc2] Fix typos in /Documentation : N-P
    ... Again, if you're not gonna do synchronization with disk drives (dang, ... -the kernel. ... There are two options specific to PSX driver portion. ... The driver uses the settings from the EEPROM set in the SCSI BIOS ...
    (Linux-Kernel)