|
|
|
|
|
by stareatgoats
2144 days ago
|
|
Was this a backdoor or not? Following the comments on the article and previous posts here on HN it seems the jury is out AFAICS. The crucial question to me seems to be if this condition: options == (__WCLONE|__WALL)
can be willfully introduced by a bad actor, and otherwise never really occur. Unfortunately I don't know this (not familiar with Linux development) but herein lies the answer it would seem. |
|
wait4's man page points to waitpid for details, and notes wait4 is deprecated in favor of waitpid.
So see the linux notes of this: https://man7.org/linux/man-pages/man2/waitpid.2.html
So to trigger this:* You have to call a deprecated function
* With a flag that was at that time illegal (linux < 4.7)
* And a second illegal flag that is cancelled out by the first illegal flag.
This is something any userspace process can do, but no sane process should ever do.