Re: Notify special task kill using wait* functions

From
Valdis Klētnieks <hidden>
Date
2021-04-04 21:10:51
Reply to
John Wood, 2021-04-04
On Sun, 04 Apr 2021 11:48:37 +0200, John Wood said:
that exec and the child crashes is mitigated. The only drawback here, as
point Andi, is that a supervisor respawns some process killed. To avoid
this situation he suggest to notify to usersapace via wait* that the
task has been killed by "brute". Then, this supervisor has the chance to
do what they need (respawn or not).
And how does the kernel know that it's notifying a "real" supervisor process,
and not a process started by the bad guy, who can receive the notification
and decide to respawn?
Thread (18 messages) 18 messages, 3 authors, last reply 2021-04-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help