(VG_(do__NR_sigaction)): Don't allow setting of
handlers for SIGKILL or SIGSTOP. This fixes
valgrind: vg_signals.c:723 (vgPlain_do__NR_sigaction):
Assertion `our_old_handler == ((void *)0)' failed.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@40 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/vg_kerneliface.h b/vg_kerneliface.h
index 480188c..15ce80d 100644
--- a/vg_kerneliface.h
+++ b/vg_kerneliface.h
@@ -132,6 +132,11 @@
#define VKI_MAP_PRIVATE 0x02 /* Changes are private. */
+/* Copied from /usr/src/linux-2.4.9-13/include/asm/errno.h */
+
+#define VKI_EINVAL 22 /* Invalid argument */
+
+
/* Gawd ... hack ... */
typedef struct vki__user_cap_header_struct {