If you(root) send init the SIGKILL, init will not die. Why? Where is the source code in freebsd4.2? Thanks.
m*m
2 楼
I think it should bring the system down to single user mode, or halt the system(). The source is at src/sbin/init/ directory in the source tree.
【在 l***t 的大作中提到】 : If you(root) send init the SIGKILL, init will not die. Why? : Where is the source code in freebsd4.2? : Thanks.
a*i
3 楼
no, you can't kill a init process. if(current->pid == 1) continue;
【在 m*******m 的大作中提到】 : I think it should bring the system down to single user mode, : or halt the system(). The source is at src/sbin/init/ : directory in the source tree.