Hi all,
I was reading an example of how to hook the kernel data structures to hide a process, in particular removing its descriptor from the kernel process lists. A doubt I've got is if removing the process descriptor from the kernel structures does not make the process really disappear from the system, that is no more scheduled for running. In fact, when another process relinquishes the CPU and the phantom one has to run, how can the scheduler select such a process if no references to it exist?
I was reading an example of how to hook the kernel data structures to hide a process, in particular removing its descriptor from the kernel process lists. A doubt I've got is if removing the process descriptor from the kernel structures does not make the process really disappear from the system, that is no more scheduled for running. In fact, when another process relinquishes the CPU and the phantom one has to run, how can the scheduler select such a process if no references to it exist?