Skip to contentSkip to conversation

Handle SIGILL when kernel compiled without Xenomai.

Xenomai-core Gilles Chanteperdrix 3 participants 11 messages Sep 21, 2008 – Sep 28, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

on some (all ?) platforms, we get a SIGILL when trying to emit the first Xenomai syscall, instead of the -ENOSYS return value. This patches handles the SIGILL by printing an error message and exiting.

asm-generic/bits/bind.h +34 -2
Index: include/asm-generic/bits/bind.h
===================================================================
@@ -9,6 +9,7 @@
 #include <signal.h>
 #include <pthread.h>
 #include <fcntl.h>
+#include <setjmp.h>
 #include <sys/ioctl.h>
 #include <sys/mman.h>
 #include <asm/xenomai/syscall.h>
@@ -17,6 +18,8 @@ __attribute__ ((weak))
 pthread_key_t xeno_current_key;
 __attribute__ ((weak))
 pthread_once_t xeno_init_current_key_once = PTHREAD_ONCE_INIT;
+__attribute__ ((weak))
+jmp_buf xeno_sigill_jmpbuf;
 
 __attribute__ ((weak))
 void xeno_set_current(void)
@@ -99,13 +102,28 @@ static void unmap_sem_heap(unsigned long
 }
 #endif /* CONFIG_XENO_FASTSEM */
 
+void __attribute__((weak)) xeno_sigill_handler(int sig)
+{
+	siglongjmp(xeno_sigill_jmpbuf, 1);
+}
+
 static inline int
 xeno_bind_skin(unsigned skin_magic, const char *skin, const char *module)
 {
+	sighandler_t old_sigill_handler;
 	struct sigaction sa;
 	xnfeatinfo_t finfo;
 	int muxid;
 
+	old_sigill_handler = signal(SIGILL, xeno_sigill_handler);
+	if (old_sigill_handler == SIG_ERR) {
+		perror("signal(SIGILL)");
+		exit(1);
+	}
+
+	if (sigsetjmp(xeno_sigill_jmpbuf, 1))
+		goto enosys;
+
 	muxid = XENOMAI_SYSBIND(skin_magic,
 				XENOMAI_FEAT_DEP, XENOMAI_ABI_REV, &finfo);
 	switch (muxid) {
@@ -126,7 +144,7 @@ xeno_bind_skin(unsigned skin_magic, cons
 
 	case -ENOSYS:
 	case -ESRCH:
-
+	enosys:
 		fprintf(stderr,
 			"Xenomai: %s skin or CONFIG_XENO_OPT_PERVASIVE disabled.\n"
 			"(modprobe %s?)\n", skin, module);
@@ -139,6 +157,8 @@ xeno_bind_skin(unsigned skin_magic, cons
 		exit(1);
 	}
 
+	signal(SIGILL, old_sigill_handler);
+
 #ifdef xeno_arch_features_check
 	xeno_arch_features_check();
 #endif /* xeno_arch_features_check */
@@ -180,9 +200,19 @@ xeno_bind_skin(unsigned skin_magic, cons
 static inline int
 xeno_bind_skin_opt(unsigned skin_magic, const char *skin, const char *module)
 {
+	sighandler_t old_sigill_handler;
 	xnfeatinfo_t finfo;
 	int muxid;
 
+	old_sigill_handler = signal(SIGILL, xeno_sigill_handler);
+	if (old_sigill_handler == SIG_ERR) {
+		perror("signal(SIGILL)");
+		exit(1);
+	}
+
+	if (sigsetjmp(xeno_sigill_jmpbuf, 1))
+		goto enosys;
+
 	muxid = XENOMAI_SYSBIND(skin_magic,
 				XENOMAI_FEAT_DEP, XENOMAI_ABI_REV, &finfo);
 	switch (muxid) {
@@ -203,7 +233,7 @@ xeno_bind_skin_opt(unsigned skin_magic, 
 
 	case -ENOSYS:
 	case -ESRCH:
-
+	enosys:
 		return -1;
 	}
 
@@ -213,6 +243,8 @@ xeno_bind_skin_opt(unsigned skin_magic, 
 		exit(1);
 	}
 
+	signal(SIGILL, old_sigill_handler);
+
 #ifdef xeno_arch_features_check
 	xeno_arch_features_check();
 #endif /* xeno_arch_features_check */
Signature · 1 line
					    Gilles.
#1 lore raw
Quoted 6 lines · Gilles Chanteperdrix

Hi,

on some (all ?) platforms, we get a SIGILL when trying to emit the first Xenomai syscall, instead of the -ENOSYS return value. This patches handles the SIGILL by printing an error message and exiting.

This is an issue for archs that encode the syscall number into the trap opcode like ARM using the OABI, others will get -ENOSYS as expected, so this should move to the arch-specific code.

asm-generic/bits/bind.h line 12

Quoted 9 lines

Index: include/asm-generic/bits/bind.h
===================================================================

asm-generic/bits/bind.h +1 -0
@@ -9,6 +9,7 @@
 #include <signal.h>
 #include <pthread.h>
 #include <fcntl.h>
+#include <setjmp.h>

Oh dear... Yeah, this should really be buried into the ARM support code.

Quoted 100 lines
asm-generic/bits/bind.h +33 -2
 #include <sys/ioctl.h>
 #include <sys/mman.h>
 #include <asm/xenomai/syscall.h>
@@ -17,6 +18,8 @@ __attribute__ ((weak))
 pthread_key_t xeno_current_key;
 __attribute__ ((weak))
 pthread_once_t xeno_init_current_key_once = PTHREAD_ONCE_INIT;
+__attribute__ ((weak))
+jmp_buf xeno_sigill_jmpbuf;
 
 __attribute__ ((weak))
 void xeno_set_current(void)
@@ -99,13 +102,28 @@ static void unmap_sem_heap(unsigned long
 }
 #endif /* CONFIG_XENO_FASTSEM */
 
+void __attribute__((weak)) xeno_sigill_handler(int sig)
+{
+	siglongjmp(xeno_sigill_jmpbuf, 1);
+}
+
 static inline int
 xeno_bind_skin(unsigned skin_magic, const char *skin, const char *module)
 {
+	sighandler_t old_sigill_handler;
 	struct sigaction sa;
 	xnfeatinfo_t finfo;
 	int muxid;
 
+	old_sigill_handler = signal(SIGILL, xeno_sigill_handler);
+	if (old_sigill_handler == SIG_ERR) {
+		perror("signal(SIGILL)");
+		exit(1);
+	}
+
+	if (sigsetjmp(xeno_sigill_jmpbuf, 1))
+		goto enosys;
+
 	muxid = XENOMAI_SYSBIND(skin_magic,
 				XENOMAI_FEAT_DEP, XENOMAI_ABI_REV, &finfo);
 	switch (muxid) {
@@ -126,7 +144,7 @@ xeno_bind_skin(unsigned skin_magic, cons
 
 	case -ENOSYS:
 	case -ESRCH:
-
+	enosys:
 		fprintf(stderr,
 			"Xenomai: %s skin or CONFIG_XENO_OPT_PERVASIVE disabled.\n"
 			"(modprobe %s?)\n", skin, module);
@@ -139,6 +157,8 @@ xeno_bind_skin(unsigned skin_magic, cons
 		exit(1);
 	}
 
+	signal(SIGILL, old_sigill_handler);
+
 #ifdef xeno_arch_features_check
 	xeno_arch_features_check();
 #endif /* xeno_arch_features_check */
@@ -180,9 +200,19 @@ xeno_bind_skin(unsigned skin_magic, cons
 static inline int
 xeno_bind_skin_opt(unsigned skin_magic, const char *skin, const char *module)
 {
+	sighandler_t old_sigill_handler;
 	xnfeatinfo_t finfo;
 	int muxid;
 
+	old_sigill_handler = signal(SIGILL, xeno_sigill_handler);
+	if (old_sigill_handler == SIG_ERR) {
+		perror("signal(SIGILL)");
+		exit(1);
+	}
+
+	if (sigsetjmp(xeno_sigill_jmpbuf, 1))
+		goto enosys;
+
 	muxid = XENOMAI_SYSBIND(skin_magic,
 				XENOMAI_FEAT_DEP, XENOMAI_ABI_REV, &finfo);
 	switch (muxid) {
@@ -203,7 +233,7 @@ xeno_bind_skin_opt(unsigned skin_magic, 
 
 	case -ENOSYS:
 	case -ESRCH:
-
+	enosys:
 		return -1;
 	}
 
@@ -213,6 +243,8 @@ xeno_bind_skin_opt(unsigned skin_magic, 
 		exit(1);
 	}
 
+	signal(SIGILL, old_sigill_handler);
+
 #ifdef xeno_arch_features_check
 	xeno_arch_features_check();
 #endif /* xeno_arch_features_check */
Signature · 1 line
Philippe.
#7 lore raw
In reply to Gilles Chanteperdrix
Quoted 3 lines · Gilles Chanteperdrix

Hi,

on some (all ?) platforms, we get a SIGILL when trying to emit the first

I don't see this on x86, though.

Quoted 25 lines

Xenomai syscall, instead of the -ENOSYS return value. This patches handles the SIGILL by printing an error message and exiting.

Index: include/asm-generic/bits/bind.h
===================================================================

asm-generic/bits/bind.h +3 -0
@@ -9,6 +9,7 @@
 #include <signal.h>
 #include <pthread.h>
 #include <fcntl.h>
+#include <setjmp.h>
 #include <sys/ioctl.h>
 #include <sys/mman.h>
 #include <asm/xenomai/syscall.h>
@@ -17,6 +18,8 @@ __attribute__ ((weak))
 pthread_key_t xeno_current_key;
 __attribute__ ((weak))
 pthread_once_t xeno_init_current_key_once = PTHREAD_ONCE_INIT;
+__attribute__ ((weak))
+jmp_buf xeno_sigill_jmpbuf;
 
 __attribute__ ((weak))
 void xeno_set_current(void)

asm-generic/bits/bind.h static void unmap_sem_heap(unsigned long · line 109

Quoted 8 lines
asm-generic/bits/bind.h +5 -0
@@ -99,13 +102,28 @@ static void unmap_sem_heap(unsigned long
 }
 #endif /* CONFIG_XENO_FASTSEM */
 
+void __attribute__((weak)) xeno_sigill_handler(int sig)
+{
+	siglongjmp(xeno_sigill_jmpbuf, 1);
+}
+

Just one question: Can we safely assume that sigsetjmp&siglongjump are always available, also in uclibc environments e.g.?

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux
#8 lore raw
Quoted 35 lines · Jan Kiszka
Quoted 3 lines · Gilles Chanteperdrix

Hi,

on some (all ?) platforms, we get a SIGILL when trying to emit the first

I don't see this on x86, though.

Quoted 28 lines

Xenomai syscall, instead of the -ENOSYS return value. This patches handles the SIGILL by printing an error message and exiting.

Index: include/asm-generic/bits/bind.h
===================================================================

asm-generic/bits/bind.h +3 -0
@@ -9,6 +9,7 @@
 #include <signal.h>
 #include <pthread.h>
 #include <fcntl.h>
+#include <setjmp.h>
 #include <sys/ioctl.h>
 #include <sys/mman.h>
 #include <asm/xenomai/syscall.h>
@@ -17,6 +18,8 @@ __attribute__ ((weak))
 pthread_key_t xeno_current_key;
 __attribute__ ((weak))
 pthread_once_t xeno_init_current_key_once = PTHREAD_ONCE_INIT;
+__attribute__ ((weak))
+jmp_buf xeno_sigill_jmpbuf;
 
 __attribute__ ((weak))
 void xeno_set_current(void)
@@ -99,13 +102,28 @@ static void unmap_sem_heap(unsigned long
 }
 #endif /* CONFIG_XENO_FASTSEM */
 
Quoted 8 lines

asm-generic/bits/bind.h static void unmap_sem_heap(unsigned long · line 109

Quoted 5 lines
asm-generic/bits/bind.h +5 -0
+void __attribute__((weak)) xeno_sigill_handler(int sig)
+{
+	siglongjmp(xeno_sigill_jmpbuf, 1);
+}
+

Just one question: Can we safely assume that sigsetjmp&siglongjump are always available, also in uclibc environments e.g.?

Ok. We can use setjmp/longjmp and assume that only SIGILL is masked at the longjmp call site ?

Signature · 1 line
                                                 Gilles.
#9 lore raw
Quoted 43 lines · Gilles Chanteperdrix
Quoted 34 lines · Jan Kiszka
Quoted 3 lines · Gilles Chanteperdrix

Hi,

on some (all ?) platforms, we get a SIGILL when trying to emit the first

I don't see this on x86, though.

Quoted 28 lines

Xenomai syscall, instead of the -ENOSYS return value. This patches handles the SIGILL by printing an error message and exiting.

Index: include/asm-generic/bits/bind.h
===================================================================

asm-generic/bits/bind.h +3 -0
@@ -9,6 +9,7 @@
 #include <signal.h>
 #include <pthread.h>
 #include <fcntl.h>
+#include <setjmp.h>
 #include <sys/ioctl.h>
 #include <sys/mman.h>
 #include <asm/xenomai/syscall.h>
@@ -17,6 +18,8 @@ __attribute__ ((weak))
 pthread_key_t xeno_current_key;
 __attribute__ ((weak))
 pthread_once_t xeno_init_current_key_once = PTHREAD_ONCE_INIT;
+__attribute__ ((weak))
+jmp_buf xeno_sigill_jmpbuf;
 
 __attribute__ ((weak))
 void xeno_set_current(void)
@@ -99,13 +102,28 @@ static void unmap_sem_heap(unsigned long
 }
 #endif /* CONFIG_XENO_FASTSEM */
 
Quoted 7 lines

asm-generic/bits/bind.h static void unmap_sem_heap(unsigned long · line 109

Quoted 5 lines
asm-generic/bits/bind.h +5 -0
+void __attribute__((weak)) xeno_sigill_handler(int sig)
+{
+	siglongjmp(xeno_sigill_jmpbuf, 1);
+}
+

Just one question: Can we safely assume that sigsetjmp&siglongjump are always available, also in uclibc environments e.g.?

Quoted 2 lines

Ok. We can use setjmp/longjmp and assume that only SIGILL is masked at the longjmp call site ?

Hmm, good question. But maybe this is a non-issue and sig{set|long}jmp is actually always available (these days). On first glance, ucLibc seems to have an implementation.

Alternative idea: What about defining a common xenomai_does_not_exist service that warns and terminates? It could be called it both on ENOSYS and from the signal handler.

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux
#10 lore raw
Quoted 43 lines · Jan Kiszka
Quoted 42 lines · Gilles Chanteperdrix
Quoted 41 lines · Jan Kiszka
Quoted 3 lines · Gilles Chanteperdrix

Hi,

on some (all ?) platforms, we get a SIGILL when trying to emit the first

I don't see this on x86, though.

Quoted 25 lines

Xenomai syscall, instead of the -ENOSYS return value. This patches handles the SIGILL by printing an error message and exiting.

Index: include/asm-generic/bits/bind.h
===================================================================

asm-generic/bits/bind.h +3 -0
@@ -9,6 +9,7 @@
 #include <signal.h>
 #include <pthread.h>
 #include <fcntl.h>
+#include <setjmp.h>
 #include <sys/ioctl.h>
 #include <sys/mman.h>
 #include <asm/xenomai/syscall.h>
@@ -17,6 +18,8 @@ __attribute__ ((weak))
 pthread_key_t xeno_current_key;
 __attribute__ ((weak))
 pthread_once_t xeno_init_current_key_once = PTHREAD_ONCE_INIT;
+__attribute__ ((weak))
+jmp_buf xeno_sigill_jmpbuf;
 
 __attribute__ ((weak))
 void xeno_set_current(void)

asm-generic/bits/bind.h static void unmap_sem_heap(unsigned long · line 109

Quoted 8 lines
asm-generic/bits/bind.h +5 -0
@@ -99,13 +102,28 @@ static void unmap_sem_heap(unsigned long
 }
 #endif /* CONFIG_XENO_FASTSEM */
 
+void __attribute__((weak)) xeno_sigill_handler(int sig)
+{
+	siglongjmp(xeno_sigill_jmpbuf, 1);
+}
+

Just one question: Can we safely assume that sigsetjmp&siglongjump are always available, also in uclibc environments e.g.?

Quoted 6 lines
Quoted 2 lines

Ok. We can use setjmp/longjmp and assume that only SIGILL is masked at the longjmp call site ?

Hmm, good question. But maybe this is a non-issue and sig{set|long}jmp is actually always available (these days). On first glance, ucLibc seems to have an implementation.

We can also manually save and restore the signal mask.

Quoted 4 lines

Alternative idea: What about defining a common xenomai_does_not_exist service that warns and terminates? It could be called it both on ENOSYS and from the signal handler.

Yes, but in the xeno_bind_skin_opt case, we are expected to return a status, and not exit. So, longjmp is the only way... Unless we accept to
exit in the SIGILL case.

Signature · 1 line
                                                 Gilles.
#2 lore raw
In reply to Philippe Gerum
Quoted 11 lines · Philippe Gerum
Quoted 6 lines · Gilles Chanteperdrix

Hi,

on some (all ?) platforms, we get a SIGILL when trying to emit the first Xenomai syscall, instead of the -ENOSYS return value. This patches handles the SIGILL by printing an error message and exiting.

This is an issue for archs that encode the syscall number into the trap opcode like ARM using the OABI, others will get -ENOSYS as expected, so this should move to the arch-specific code.

Actually, I get a SIGILL on ARM compiled with EABI as well. Moving this code to the arch dependent code looks hard, since we need to setup the jump buffer in the very function which issues the syscall (Ok, we could use a macro). But what would you think of a SIGILL handler which does not longjmp (like Jan suggested, simply print an error message and exit, even if xeno_bind_skin_opt was called) ?

Signature · 1 line
                                                 Gilles.
#3 lore raw
Quoted 12 lines · Gilles Chanteperdrix
Quoted 10 lines · Philippe Gerum
Quoted 6 lines · Gilles Chanteperdrix

Hi,

on some (all ?) platforms, we get a SIGILL when trying to emit the first Xenomai syscall, instead of the -ENOSYS return value. This patches handles the SIGILL by printing an error message and exiting.

This is an issue for archs that encode the syscall number into the trap opcode like ARM using the OABI, others will get -ENOSYS as expected, so this should move to the arch-specific code.

Quoted 7 lines

Actually, I get a SIGILL on ARM compiled with EABI as well. Moving this code to the arch dependent code looks hard, since we need to setup the jump buffer in the very function which issues the syscall (Ok, we could use a macro). But what would you think of a SIGILL handler which does not longjmp (like Jan suggested, simply print an error message and exit, even if xeno_bind_skin_opt was called) ?

So, here is another version.

asm-generic/bits/bind.h +27 -0
Index: include/asm-generic/bits/bind.h
===================================================================
@@ -99,15 +99,32 @@ static void unmap_sem_heap(unsigned long
 }
 #endif /* CONFIG_XENO_FASTSEM */
 
+void __attribute__((weak)) xeno_sigill_handler(int sig)
+{
+	fprintf(stderr, "Xenomai or CONFIG_XENO_OPT_PERVASIVE disabled.\n"
+		"(modprobe xeno_nucleus?)\n");
+	exit(1);
+}
+
 static inline int
 xeno_bind_skin(unsigned skin_magic, const char *skin, const char *module)
 {
+	sighandler_t old_sigill_handler;
 	struct sigaction sa;
 	xnfeatinfo_t finfo;
 	int muxid;
 
+	old_sigill_handler = signal(SIGILL, xeno_sigill_handler);
+	if (old_sigill_handler == SIG_ERR) {
+		perror("signal(SIGILL)");
+		exit(1);
+	}
+
 	muxid = XENOMAI_SYSBIND(skin_magic,
 				XENOMAI_FEAT_DEP, XENOMAI_ABI_REV, &finfo);
+
+	signal(SIGILL, old_sigill_handler);
+
 	switch (muxid) {
 	case -EINVAL:
 
@@ -180,11 +197,21 @@ xeno_bind_skin(unsigned skin_magic, cons
 static inline int
 xeno_bind_skin_opt(unsigned skin_magic, const char *skin, const char *module)
 {
+	sighandler_t old_sigill_handler;
 	xnfeatinfo_t finfo;
 	int muxid;
 
+	old_sigill_handler = signal(SIGILL, xeno_sigill_handler);
+	if (old_sigill_handler == SIG_ERR) {
+		perror("signal(SIGILL)");
+		exit(1);
+	}
+
 	muxid = XENOMAI_SYSBIND(skin_magic,
 				XENOMAI_FEAT_DEP, XENOMAI_ABI_REV, &finfo);
+
+	signal(SIGILL, old_sigill_handler);
+
 	switch (muxid) {
 	case -EINVAL:
 
Signature · 1 line
					    Gilles.
#4 lore raw
In reply to Gilles Chanteperdrix
Quoted 8 lines · Gilles Chanteperdrix
Quoted 7 lines · Philippe Gerum
Quoted 6 lines · Gilles Chanteperdrix

Hi,

on some (all ?) platforms, we get a SIGILL when trying to emit the first Xenomai syscall, instead of the -ENOSYS return value. This patches handles the SIGILL by printing an error message and exiting.

Quoted 5 lines
Quoted 3 lines

This is an issue for archs that encode the syscall number into the trap opcode like ARM using the OABI, others will get -ENOSYS as expected, so this should move to the arch-specific code.

Actually, I get a SIGILL on ARM compiled with EABI as well.

It seems the ARM folks decided to send SIGILL with EABI to conform to the OABI behaviour, despite they did not formally need that. Only invalid calls in the 9f00xx..9f07ff range are expected to return -ENOSYS. Too bad that our syscall marker is out of that range.

Moving this

Quoted 6 lines

code to the arch dependent code looks hard, since we need to setup the jump buffer in the very function which issues the syscall (Ok, we could use a macro). But what would you think of a SIGILL handler which does not longjmp (like Jan suggested, simply print an error message and exit, even if xeno_bind_skin_opt was called) ?

Fine with me.

Signature · 1 line
Philippe.
#5 lore raw
Quoted 20 lines · Philippe Gerum
Quoted 4 lines · Gilles Chanteperdrix
Quoted 3 lines · Philippe Gerum
Quoted 2 lines · Gilles Chanteperdrix

Hi,

Quoted 8 lines
Quoted 7 lines
Quoted 4 lines

on some (all ?) platforms, we get a SIGILL when trying to emit the first Xenomai syscall, instead of the -ENOSYS return value. This patches handles the SIGILL by printing an error message and exiting.

This is an issue for archs that encode the syscall number into the trap opcode like ARM using the OABI, others will get -ENOSYS as expected, so this should move to the arch-specific code.

Actually, I get a SIGILL on ARM compiled with EABI as well.

It seems the ARM folks decided to send SIGILL with EABI to conform to the OABI behaviour, despite they did not formally need that. Only invalid calls in the 9f00xx..9f07ff range are expected to return -ENOSYS. Too bad that our syscall marker is out of that range.

Moving this

Quoted 8 lines
Quoted 6 lines

code to the arch dependent code looks hard, since we need to setup the jump buffer in the very function which issues the syscall (Ok, we could use a macro). But what would you think of a SIGILL handler which does not longjmp (like Jan suggested, simply print an error message and exit, even if xeno_bind_skin_opt was called) ?

Fine with me.

Ok. Commited in trunk. Do I commit in v2.4.x branch?

Signature · 1 line
					    Gilles.
#6 lore raw
Quoted 26 lines · Gilles Chanteperdrix
Quoted 25 lines · Philippe Gerum
Quoted 4 lines · Gilles Chanteperdrix
Quoted 3 lines · Philippe Gerum
Quoted 2 lines · Gilles Chanteperdrix

Hi,

Quoted 8 lines
Quoted 7 lines
Quoted 4 lines

on some (all ?) platforms, we get a SIGILL when trying to emit the first Xenomai syscall, instead of the -ENOSYS return value. This patches handles the SIGILL by printing an error message and exiting.

This is an issue for archs that encode the syscall number into the trap opcode like ARM using the OABI, others will get -ENOSYS as expected, so this should move to the arch-specific code.

Actually, I get a SIGILL on ARM compiled with EABI as well.

It seems the ARM folks decided to send SIGILL with EABI to conform to the OABI behaviour, despite they did not formally need that. Only invalid calls in the 9f00xx..9f07ff range are expected to return -ENOSYS. Too bad that our syscall marker is out of that range.

Moving this

Quoted 6 lines

code to the arch dependent code looks hard, since we need to setup the jump buffer in the very function which issues the syscall (Ok, we could use a macro). But what would you think of a SIGILL handler which does not longjmp (like Jan suggested, simply print an error message and exit, even if xeno_bind_skin_opt was called) ?

Quoted 4 lines
Quoted 1 line

Fine with me.

Ok. Commited in trunk. Do I commit in v2.4.x branch?

Yep. Thanks.

Signature · 1 line
Philippe.