diff options
| author | kamil <kamil@NetBSD.org> | 2018-05-29 23:34:18 +0000 |
|---|---|---|
| committer | kamil <kamil@NetBSD.org> | 2018-05-29 23:34:18 +0000 |
| commit | bb2d073bf1a9292141a327d0d3083c3b0fa6bc6b (patch) | |
| tree | 322bc185d0a69fdd8ebc725b6f56678a720fcbe9 /sys/dev/microcode/ral/microcode.h | |
| parent | 1b0dd6f0bc9018c9944a489acbb5a3ba9a4ea024 (diff) | |
Harden PT_ATTACH in ptrace(2)
Don't allow to PT_ATTACH from a vfork(2)ed child (before exec(3)/_exit(3))
to its parent. Return error with EPERM errno.
This scenario does not have a purpose and there is no clear picture how to
route signals.
Sponsored by <The NetBSD Foundation>
Diffstat (limited to 'sys/dev/microcode/ral/microcode.h')
0 files changed, 0 insertions, 0 deletions
