Re: [PATCH 3/4] proc: Follow p_parent to root for checking startup process

2021-04-17 Thread Samuel Thibault
Damien Zammit, le sam. 17 avril 2021 21:02:15 +1000, a ecrit: > 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,

Re: [PATCH 3/4] proc: Follow p_parent to root for checking startup process

2021-04-17 Thread Damien Zammit
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

Re: [PATCH 3/4] proc: Follow p_parent to root for checking startup process

2021-04-17 Thread Samuel Thibault
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 chi

[PATCH 3/4] proc: Follow p_parent to root for checking startup process

2021-04-17 Thread Damien Zammit
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 but need to follow to the root of the process namespace to check if it belongs to startup. --- proc/mgt.c | 12 +++- 1 file c