Commit 831436a
committed
Also inherit PS_PROFILE on fork
This lets child processes disable/reenable profiling when they deemed
appropriate. Currently the profil(0) in _mcleanup fails with EPERM for
child processes.
Input and ok deraadt@1 parent da6f6cc commit 831436a
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
| 255 | + | |
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| |||
0 commit comments