kernel-mode

USB storage device SerialNumber from minifilter driver (from USB device descriptor)

I want to extract a USB storage device serial number from inside a minifilter filesystem driver, inside the InstanceSetup callback using the technique described here the only difference is that I do it in kernel-mode. I use: status = IoGetDeviceInterfaces( &GUID_DEVINTERFACE_DISK, NULL, 0, &SymbolicLinkList ); to...

Errors compiling Linux Kernel mode program

Hi Guys, I wish to access some registers of my ARM Cortex-A8 board which are by default in a non-accessible state. Ubuntu 9.10 runs on this board. So, to access them I have to in-turn change 1 other register settings (Allow-access-register) first. To change this Allow-access-register, I found out that I must do it only in Kernel mode an...

Privileged instructions, adding register values?

I finished homework for a graduate course in operating systems. I got a great score and I only missed one tiny point of a question. It asked which were privileged instructions and which were not. I answered all correctly except one: Adding one register value to another I answered it was privileged but apparently it's not! How can this b...

Is it possible to use WCF to communicate with Windows kernel mode software?

WCF supports some interoperability bindings. Does any of these bindings allow to communicate with kernel mode sw? AFAIK kernel mode sw can open named pipes, in the Local System security context. Are those named pipes interoperable with WCF? ...

kernel mode code signing

I made a driver and now I need to sign it. It runs in kernel mode. From what I've read in Microsoft's Kernel Mode Code Signing Walkthrough, I have to buy a Software Publisher Certificate from a Commercial CA. In that document, they say to look at the end, and follow this link for a list of CAs from which I can buy that certificate. I fi...