- Jul 13, 2001
- 258
- 0
- 0
I'm trying to modify procfs so that not all processes are shown.
I changed the get_pid_list() function in /fs/proc/base.c. To filter out the processes that I want to hide.
This works in the sense that ls /proc does not show the processes which I've chosen to filter. However, the last process shows up multiple times... one for each hidden process. For example, ls /proc will list several 652's. I've been looking for the cause for a while and haven't been able to find it. Any ideas?
I changed the get_pid_list() function in /fs/proc/base.c. To filter out the processes that I want to hide.
This works in the sense that ls /proc does not show the processes which I've chosen to filter. However, the last process shows up multiple times... one for each hidden process. For example, ls /proc will list several 652's. I've been looking for the cause for a while and haven't been able to find it. Any ideas?
