Commit bf74f1d
bin: Handle CONT signal properly under leaks command
On macOS, we need to handle COND signal properly.
This is because under controling leaks command, it also sends COND
signal after releasing its managing process(es).
To mitigate this, we need to use flag to mark for distinguish dump to be
requested.
And we need to run it inside main loop.
Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io>1 parent 2e7f2e8 commit bf74f1d
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
636 | 637 | | |
637 | 638 | | |
638 | 639 | | |
639 | | - | |
| 640 | + | |
640 | 641 | | |
641 | 642 | | |
642 | 643 | | |
| |||
1491 | 1492 | | |
1492 | 1493 | | |
1493 | 1494 | | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
1494 | 1500 | | |
1495 | 1501 | | |
1496 | 1502 | | |
| |||
0 commit comments