Skip to content

Commit 83a395d

Browse files
committed
Merge branch 'parisc-4.6-5' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux
Pull parisc fix from Helge Deller: "Patch from Dmitry V Levin to fix a kernel crash when a straced process calls the (invalid) syscall which is equal to value of __NR_Linux_syscalls" * 'parisc-4.6-5' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux: parisc: fix a bug when syscall number of tracee is __NR_Linux_syscalls
2 parents dd28769 + f0b22d1 commit 83a395d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/parisc/kernel/syscall.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ tracesys_next:
344344
#endif
345345

346346
cmpib,COND(=),n -1,%r20,tracesys_exit /* seccomp may have returned -1 */
347-
comiclr,>>= __NR_Linux_syscalls, %r20, %r0
347+
comiclr,>> __NR_Linux_syscalls, %r20, %r0
348348
b,n .Ltracesys_nosys
349349

350350
LDREGX %r20(%r19), %r19

0 commit comments

Comments
 (0)