I am trying to write a program that automates based on the configuration file (basically the path - priority added) Sets the process priority.
I thought the best solution would be to have a kernel module that would replace the execve () system call. Too bad, the system call table is not exported in kernel versions> 2.6.0, so actually is not possible to replace system calls without ugly hacks.
I want to do not :
- Replace binaries with shell script, which begin and enter binary - your stock Ubuntu kernel Packet / recompile - Unreadable hacks such as reading the kernel executable memory and estimating the sissell table location - Operating the running processes
I want to be actually : < / P>
- Any type based on the executable path To control the priority of the file, and a configuration file. Rules apply to any user.
Do any of you have any ideas about completing this work?
If you have settled for a polling solution, then the facilities you want to implement Already exist. You can configure a good level of procedures based on process names, users and groups.
Comments
Post a Comment