《Linux内核设计的艺术》——3.进程1
摘要:0. 前言 现在已经有了处于特权3的进程0,将使用fork出进程1,之后的进程也使用fork。 void main() { sti(); move_to_user_mode(); // 切换到特权3 if (!fork()) { init(); // 进程1进行init } for(;;) paus
阅读全文
posted @ 2022-08-17 15:24
posted @ 2022-08-17 15:24
posted @ 2022-08-09 09:37
posted @ 2022-08-08 22:49
posted @ 2022-07-31 11:46