]> git.hungrycats.org Git - linux/commit
[PATCH] PPC32: Don't oops on out-of-range system call
authorPaul Mackerras <paulus@samba.org>
Fri, 14 Nov 2003 07:34:21 +0000 (23:34 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Fri, 14 Nov 2003 07:34:21 +0000 (23:34 -0800)
commit0837a68557f985043b9d9faca07221644ff93d97
tree23cba0e7238ecee12fb72f5328a18c408d3b98dd
parent05c8545fff39bf0b6d69b49c07b2c27a9a80fab0
[PATCH] PPC32: Don't oops on out-of-range system call

This patch fixes a bug on PPC where the kernel will oops if a process
does a system call and the system call number is out of range.

While fixing that, I noticed that if the process is being ptraced, an
out-of-range system call will not get traced on the way in but will on
the way out.  This patch fixes that too, by making it get traced on
the way in as well as the way out.  It turned out to be less change,
and fewer instructions overall, to do that than to make the
out-of-range system call not be traced at all.
arch/ppc/kernel/entry.S