A privileged userland program
Posted: Mon Aug 10, 2009 9:18 am
Hi,
Im doing fine progress on my OS but now I started thinking...
Would it be possible to have a program in user space - a daemon of some sort - that has privileges that would allow it to handle some of the things that normally must run in kernel space?
I was thinking of letting user space programs implement their own scheduling algorithms and for them to work they have to contact the daemon that is the only program that has the privileges to actually trigger certain interrupts.
How would you go about doing this?
Im doing fine progress on my OS but now I started thinking...
Would it be possible to have a program in user space - a daemon of some sort - that has privileges that would allow it to handle some of the things that normally must run in kernel space?
I was thinking of letting user space programs implement their own scheduling algorithms and for them to work they have to contact the daemon that is the only program that has the privileges to actually trigger certain interrupts.
How would you go about doing this?