Re: [PATCH 4/7] hurd: Make _exit work during early boot-up

2023-04-29 Thread Samuel Thibault
Applied, thanks! Sergey Bugaev, le sam. 29 avril 2023 16:13:51 +0300, a ecrit: > If any of the early boot-up tasks calls exit () or returns from main (), > terminate it properly instead of crashing on trying to dereference > _hurd_ports and getting forcibly terminated by the kernel. > > We sadly

[PATCH 4/7] hurd: Make _exit work during early boot-up

2023-04-29 Thread Sergey Bugaev
If any of the early boot-up tasks calls exit () or returns from main (), terminate it properly instead of crashing on trying to dereference _hurd_ports and getting forcibly terminated by the kernel. We sadly cannot make the __USEPORT macro do the check for _hurd_ports being unset, because it evalu