We can add option to display all but without root privileges user cannot kill root processes.
Also take into account that as root I probably want to see all processes in system!
There is also user group id (expect on windows) should we take it into account too?
Maybe it is good idea to allow user to toggle what can he see:
Level 1 only his own processes (default)
Level 2 all we can show
Seems like the only way to see who is running pik is to get current process and check his owner.
We can add option to display all but without root privileges user cannot kill root processes. Also take into account that as root I probably want to see all processes in system!
There is also user group id (expect on windows) should we take it into account too?
Maybe it is good idea to allow user to toggle what can he see:
Seems like the only way to see who is running pik is to get current process and check his owner.