Jan. 9, 2020
10:35 a.m.
Hello, How does the kernel knows when a process calls the fork function that he has the rights to create a new process ?
Jan. 9, 2020
10:47 a.m.
On Thu, Jan 09, 2020 at 10:35:16AM +0000, Christophe DUMONT wrote:
How does the kernel knows when a process calls the fork function that he has the rights to create a new process ?
Not sure what you mean by rights, but in copy_process you can see different checks and errors that can happen when creating a new process: https://elixir.bootlin.com/linux/latest/source/kernel/fork.c#L1760 -- Valentin
2410
Age (days ago)
2410
Last active (days ago)
1 comments
2 participants
participants (2)
-
Christophe DUMONT -
Valentin Vidić