[PATCH] /arch/microblaze/kernel/entry.S kernel 3.14 Fix crash when calling invalid syscall ID

2015-02-23 Thread Jamie Garside
code, but a glance over the git logs shows this file has not been changed in the past two years, hence this patch should be safe for the most recent kernel version. Thanks, Jamie -- Jamie Garside Department of Computer Science University of York United Kingdom Disclaimer: http://www.york.ac.uk/

[PATCH] Fixed Microblaze syscall error recovery for invalid syscall IDs.

2015-02-23 Thread jamie . garside
From: Jamie Garside This patch fixes two bugs in the Microblaze syscall trap handler when an invalid syscall ID is used. First, the range check on line 351 only checks for syscall IDs greater than __NR_syscalls. A negative syscall ID (either passed to `syscall()` or as returned by