Restore the sys_o58_kill system call.
authorjsing <jsing@openbsd.org>
Mon, 27 Jun 2016 16:49:45 +0000 (16:49 +0000)
committerjsing <jsing@openbsd.org>
Mon, 27 Jun 2016 16:49:45 +0000 (16:49 +0000)
commite1aaead3d75ae8b17a6a6b45a07a76faf1c35fbc
treeba8dd832d01097240f66e6fc21b6a63e1e9ef59d
parenta9a092ac14eae2c3afd0ac69bc9960100820232e
Restore the sys_o58_kill system call.

By keeping both the new (sys_kill/sys_thrkill) and old (sys_o58_kill)
system calls for the OpenBSD 6.0 release, code that uses either of these
mechanisms will work on both of the supported OpenBSD releases. This
provides a clean transition for runtimes that make direct system calls
(namely the Go programming language).

This requires a minimal amount of non-intrusive code and does not block
development progress within OpenBSD.

ok deraadt@ guenther@
sys/kern/kern_pledge.c
sys/kern/kern_sig.c