Re: [PATCH] Set unknown_syscall differently on arm linux

Mike Frysinger
2016-06-29T17:41:12Z

[-- Attachment #1: Type: text/plain, Size: 460 bytes --]

On 28 Jun 2016 10:26, Yao Qi wrote:
> Currently, we use 123456789 as unknown or illegal syscall number, and
> expect program return ENOSYS. Although 123456789 is an illegal syscall
> number on arm linux, kernel sends SIGILL rather than returns -ENOSYS.

err, what ? calling random syscalls should not result in signals being
generated (ignoring obvious ones like __NR_kill). is the kernel broken ?
i think this needs more investigation & explanation.
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]