Quote:
Originally Posted by prayag_pjs
Hi,
Compile kernel and disable the drivers for PCI.Serial etc.
You can also remove the modules using rmmod or modprobe -r
|
Hi and thanks for your response. Unfortunately what I intent to achieve is not getting solved by just removing the drivers from the kernel. For example, a user can write a user-process or a module by which he/she accesses the I/O ports of e.g. the serial. So, access to the registers of the serial will be achieved despite the lack of a serial driver.
What I want is that every one that tries to access some particular I/O ports (e.g. 3F8h – 3FFh for serial port 1) and some particular addresses of memory mapped peripherals (e.g. PCI), not be able to do it.
I hope it is clearer now what I want to achieve.
Thanks.