On 30 Jun 2016 15:48, Yao Qi wrote: > On Thu, Jun 30, 2016 at 1:58 PM, Mike Frysinger wrote: > > wow, that code is messed up. can you raise a bug with them ? there's > > even more code paths in there that result in SIGSEGV too. the history > > predates 2.4.0 afaict. > > Sure, I can raise a bug somewhere or ask it in arm kernel mail list, but > why do you think it is a bug that SIGILL is raised when an illegal/unknown > syscall number is passed to syscall? because other archs don't behave > this way? correct -- i know of no other arch that behaves this way. the syscall ABI is supposed to communicate errors via return values (which are errno values), not by sending signals which kill the process. -mike