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

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
  • Fork Christophe DUMONT
    • Re: Fork Valentin Vidić

Reply via email to