Re: [PATCH] hurd: Run init_pids () before init_dtable ()

2023-04-17 Thread Samuel Thibault
Applied, thanks! Sergey Bugaev, le sam. 15 avril 2023 22:08:56 +0300, a ecrit: > Much as the comment says, things on _hurd_subinit assume that _hurd_pid > is already initialized by the time _hurd_subinit is run, so > _hurd_proc_subinit has to run before it. Specifically, init_dtable () > calls _hu

[PATCH] hurd: Run init_pids () before init_dtable ()

2023-04-15 Thread Sergey Bugaev
Much as the comment says, things on _hurd_subinit assume that _hurd_pid is already initialized by the time _hurd_subinit is run, so _hurd_proc_subinit has to run before it. Specifically, init_dtable () calls _hurd_port2fd (), which uses _hurd_pid and _hurd_pgrp to set up ctty handling. With _hurd_s