Damien Zammit, le sam. 17 avril 2021 19:12:09 +1000, a ecrit:
> + err = proc_getallpids (procserver, &pp, &npids);
That looks lame, don't we already have the list through
record_essential_task?
> + /* ignore startup, proc, auth and kernel */
> + if (task != mach_task_self ()
> +
---
startup/startup.c | 49 +++
1 file changed, 49 insertions(+)
diff --git a/startup/startup.c b/startup/startup.c
index 9faeb462..4278954a 100644
--- a/startup/startup.c
+++ b/startup/startup.c
@@ -831,6 +831,52 @@ main (int argc, char **argv, char **