Commit f0cb00d
committed
cli(run): detect signal termination and disable core dumps
Properly report SIGSEGV/SIGABRT via exit codes, expose terminatedBySignal info, and prevent core dumps by setting RLIMIT_CORE before exec.1 parent 9fff0f8 commit f0cb00d
File tree
2 files changed
+23
-1
lines changed- include/vix/cli/commands/run
- src/commands/run
2 files changed
+23
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
122 | 125 | | |
123 | 126 | | |
124 | 127 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
612 | 613 | | |
613 | 614 | | |
614 | 615 | | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
615 | 623 | | |
616 | 624 | | |
617 | 625 | | |
| |||
1140 | 1148 | | |
1141 | 1149 | | |
1142 | 1150 | | |
1143 | | - | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
1144 | 1163 | | |
1145 | 1164 | | |
1146 | 1165 | | |
| |||
0 commit comments