Create a process from a driver
Hi All! Is there a way to create a user-mode process from kernel-mode on Windows NT platform (XP-W7)? EDIT: I must install only the driver. This is a specific of the project. ...
Hi All! Is there a way to create a user-mode process from kernel-mode on Windows NT platform (XP-W7)? EDIT: I must install only the driver. This is a specific of the project. ...
Hi I have a Linux driver that I would like to use it Mac OS X. I know that the Mac OS X is based on BSD. Should I try to port my driver to Mac OS X or should I rewrite it in Mac OS X using I/O Kit in C++? The linux driver is for some PCI device. ...
How can the CPU affinity of a process be set in kernel module? In user mode there is a syscall sched_setaffinity, but I am looking for the kernel mode equivalent. In the Linux kernel code, there is also a function called sched_setaffinity. It's called from the sys_sched_setaffinity function which is called by system_call. From what i...
I want to access \Registry\Machine\Software key from a driver. The driver is loaded prior to the registry key. Do I have to poll the key availability? Or there is something I can wait for? ...
How can I do the lock profiling (spin and other kind of locks) in 2.6 Linux kernel? I want to get the lock contention numbers for few locks which I have added in my module. Is there any .config option which I can enable and get the profile or any other tool? ...
is there a relationship between kernel/user thread? some OS textbook said that "maps one(many) user thread to one(many) kernel thread",what does map means here? ...
Within a Thread in IRQL 0 the completion routine, triggered from an IRP, for a WskSendTo call is sometimes in IRQL 2 and sometimes in IRQL 0. This seems mighty strange to me. Does anyone know if this is normal behaviour? ...
This is not an urgent nor important question, seems more like exercise. How to run a function at a specific moment? The more precise, the better. For instance, I have a method which says time. I want to run it on XX o'clock, XX:15:00 (and preferably, 000 ms), XX:30:00.000, XX:45:00.000. Currently I have an (almost endless) loop, which...
Hello, We are developing a file system for Windows using IFS Kit. We started to investigate a performance problem which caused our file system I/O to be much slower when shared over the network. After looking at it with FileMon and TCPView from Sysinternals we found out that if a NTFS/FAT was shared, the SMB client and server were trans...
Is it possible to set the maximum number of open files to some "infinite" value or must it be a number? I had a requirement to set the descriptor limit for a daemon user to be "unlimited" and I'm trying to determine if that's possible or how to do it. I've seen some mailing lists refer to a "max" value that can be used (as in: "myuser h...
I'm trying to compile a c programming package (thc-ipv6-0.7) on Linux Redhat 2.6.9-42.ELsmp and it's complaining that it can't find "linux/string.h". From google, I learned that this is part of the "kernel-headers" package. If I do "rpm -qa | grep kernel" It shows that "kernel-devel" is installed (which I think I need), but not "ker...
How would I go about calling a dll from kernel mode? I have tried making a custom lib file using multiple techniques but I cannot get anything to work. I have also researched on google but cannot seem to find anything. I was also curious if it was possible to create entries in the import addres table from c++ or at link time? Thanks for...
Hi, I have a problem probably with my arm toolchain but maybe there's something other that I do wrong. I have Chinese made dev board qq2440 using Samsung s3c2440 ARM9 uC. I'm using Ubuntu x86 with native gcc(4.3.3) and cross-compile version arm-unknown-linux-uclibc-gcc (crosstool-NG-1.3.2) 4.3.2 I followed tutorials from http://blog.le...
Is it possible to access kernel objects on remote computers? I was reading that you could access remote kernel objects by using a symbolic link to \Device\Mup\server\object but I am not sure if that would work. Thanks for the help! ...
Is there any resource or book for creating own linux distro.Only good resource i found is this And also what specialities need to start project like this? ...
Hello all I want to start learning drivers programming under windows . I never programed drivers , and i am looking for information how to get started . Any tutorials ,links ,book recommendations , and what development tool kit i should start with ? (WDF will be good one ?) I really want to program following clock link text Thanks ...
I am wondering about an app I am developing and 64-bit addressing. I would like to use around 12 GB of 32 GB available on a Mac Pro. Here's the thing, the kernel is not 64-bit in Snow Leopard on my Mac Pro (efi 32-bit). I am wondering though if I will be able to address that much ram, >4GB per application, even if the kernel is only 3...
What does the Linux /proc/meminfo "Mapped" topic mean? I have seen several one-liners that tell me it is the "Total size of memory in kilobytes that is mapped by devices or libraries with mmap." But I have now spent almost twenty hours searching the 2.6.30.5 kernel source code trying to confirm this statement, and I have been unable to...
I'm curious what the cost is on modern CPUs in terms of cycles to perform a switch from Kernel and User mode? ...
I have a few questions related to Windows processes in kernel and usermode. If I have a hello world application, and a hello world driver that exposes a new system call, foo(), I am curious about what I can and can't do once I am in kernel mode. For starters, when I write my new hello world app, I am given a new process, which means I ...