[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/4] proc: Follow p_parent to root for checking startup proce
From: |
Damien Zammit |
Subject: |
Re: [PATCH 3/4] proc: Follow p_parent to root for checking startup process |
Date: |
Sat, 17 Apr 2021 21:02:15 +1000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 |
Hi,
On 17/4/21 7:40 pm, Samuel Thibault wrote:
> Damien Zammit, le sam. 17 avril 2021 19:12:11 +1000, a ecrit:
>> Since the bootstrap filesystem is no longer a single process,
>> but can be spread among eg, pci-arbiter and rumpdisk, we cannot
>> just check the p_parent of the process
>
> ? Aren't all of pci-arbiter, rumpdisk, ext2fs, proc, auth all children
> of startup all the same?
>
> Samuel
>
When I boot arbiter+rumpdisk the pstree looks like:
|-pci-arbiter
|-startup-+-auth
|-ext2fs-+-console...
|-gnumach
`-proc
(rumpdisk is nowhere to be seen, and arbiter is not a child of startup).
Something must be fishy with proc_child calls in startup.
Damien