Commit f8ea989
committed
exec_ptrace: kill process if architecture does not match
Previously, we did not try to trap execve() in processes where the
architecture did not match the native or one of the compat architecture.
Now the filter will kill the process instead. This is safer, though
perhaps less convenient for the user.1 parent 839be2a commit f8ea989
1 file changed
+10
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
68 | 73 | | |
69 | | - | |
| 74 | + | |
70 | 75 | | |
71 | | - | |
| 76 | + | |
72 | 77 | | |
73 | 78 | | |
74 | 79 | | |
| |||
1186 | 1191 | | |
1187 | 1192 | | |
1188 | 1193 | | |
1189 | | - | |
1190 | | - | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
1191 | 1197 | | |
1192 | 1198 | | |
1193 | 1199 | | |
| |||
0 commit comments