libc/sigaltstack: Return EPERM upon disabling the active stack, not EINVAL.
authorSascha Wildner <saw@online.de>
Tue, 27 Jan 2015 21:54:57 +0000 (22:54 +0100)
committerSascha Wildner <saw@online.de>
Tue, 27 Jan 2015 21:54:57 +0000 (22:54 +0100)
commit2751491f2849a3be07e862044266942700086f8a
tree1cd2fda29683a88b6392b5c3bf2406e06cb3a7af
parentc8c5ddc452dd2510076075283c2987170e26ad97
libc/sigaltstack: Return EPERM upon disabling the active stack, not EINVAL.

Per POSIX, FreeBSD and OpenBSD agree too. NetBSD doesn't, hmmm.
lib/libc/sys/sigaltstack.2
sys/kern/kern_sig.c