Hi Friend, modifying system call table would require you to compile the kernel again and again. If you really want to quickly test for these experimentation, I would suggest try making some /proc files in procfs, you will be more productive this way. Also learning procfs is fun exersize too :), I find it quicker and more usable interface to learn things with experiments faster.
Thanks, Rajat On Wed, Oct 27, 2010 at 1:48 AM, Gustavo Silva <[email protected]>wrote: > Hello my friends, > > At this moment I'm reading the Process management chapter of Linux > Kernel Development Third edition so I'm thinking about some exercises > in order to get the most out of the lecture. > I'm thinking about to implement a System call that receives a Process > ID as input and gives as output all the parents of the process. So > once I have the syscall I will implement a simple user-space program > to interact with the syscall. > > I want to get familiar with the task_struct and the thread_info so the > idea is to iterate over the task list in order to get the parents of > any process. > > Any of you could suggest me some nice exercises to help me understand > as much as possible of process management at the kernel-space level? > Actually I'm thinking about syscalls because I have succesfully > implemented some before, but it could also be a module implementation > to interact with the kernel. > > In advance thank you very much. > Best regards. > > Gustavo Silva. > > -- > To unsubscribe from this list: send an email with > "unsubscribe kernelnewbies" to [email protected] > Please read the FAQ at http://kernelnewbies.org/FAQ > >
