Merge branch 'parisc-5.0-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux
Pull parisc fixes from Helge Deller: "Fix ptrace syscall number modification which has been broken since kernel v4.5 and provide alternative email addresses for the remaining users of the retired parisc-linux.org email domain" * 'parisc-5.0-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux: CREDITS/MAINTAINERS: Retire parisc-linux.org email domain parisc: Fix ptrace syscall number modification
This commit is contained in:
commit
8456e98e18
20
CREDITS
20
CREDITS
|
@ -842,10 +842,9 @@ D: ax25-utils maintainer.
|
||||||
|
|
||||||
N: Helge Deller
|
N: Helge Deller
|
||||||
E: deller@gmx.de
|
E: deller@gmx.de
|
||||||
E: hdeller@redhat.de
|
W: http://www.parisc-linux.org/
|
||||||
D: PA-RISC Linux hacker, LASI-, ASP-, WAX-, LCD/LED-driver
|
D: PA-RISC Linux architecture maintainer
|
||||||
S: Schimmelsrain 1
|
D: LASI-, ASP-, WAX-, LCD/LED-driver
|
||||||
S: D-69231 Rauenberg
|
|
||||||
S: Germany
|
S: Germany
|
||||||
|
|
||||||
N: Jean Delvare
|
N: Jean Delvare
|
||||||
|
@ -1361,7 +1360,7 @@ S: Stellenbosch, Western Cape
|
||||||
S: South Africa
|
S: South Africa
|
||||||
|
|
||||||
N: Grant Grundler
|
N: Grant Grundler
|
||||||
E: grundler@parisc-linux.org
|
E: grantgrundler@gmail.com
|
||||||
W: http://obmouse.sourceforge.net/
|
W: http://obmouse.sourceforge.net/
|
||||||
W: http://www.parisc-linux.org/
|
W: http://www.parisc-linux.org/
|
||||||
D: obmouse - rewrote Olivier Florent's Omnibook 600 "pop-up" mouse driver
|
D: obmouse - rewrote Olivier Florent's Omnibook 600 "pop-up" mouse driver
|
||||||
|
@ -2492,7 +2491,7 @@ S: Syracuse, New York 13206
|
||||||
S: USA
|
S: USA
|
||||||
|
|
||||||
N: Kyle McMartin
|
N: Kyle McMartin
|
||||||
E: kyle@parisc-linux.org
|
E: kyle@mcmartin.ca
|
||||||
D: Linux/PARISC hacker
|
D: Linux/PARISC hacker
|
||||||
D: AD1889 sound driver
|
D: AD1889 sound driver
|
||||||
S: Ottawa, Canada
|
S: Ottawa, Canada
|
||||||
|
@ -3780,14 +3779,13 @@ S: 21513 Conradia Ct
|
||||||
S: Cupertino, CA 95014
|
S: Cupertino, CA 95014
|
||||||
S: USA
|
S: USA
|
||||||
|
|
||||||
N: Thibaut Varene
|
N: Thibaut Varène
|
||||||
E: T-Bone@parisc-linux.org
|
E: hacks+kernel@slashdirt.org
|
||||||
W: http://www.parisc-linux.org/~varenet/
|
W: http://hacks.slashdirt.org/
|
||||||
P: 1024D/B7D2F063 E67C 0D43 A75E 12A5 BB1C FA2F 1E32 C3DA B7D2 F063
|
|
||||||
D: PA-RISC port minion, PDC and GSCPS2 drivers, debuglocks and other bits
|
D: PA-RISC port minion, PDC and GSCPS2 drivers, debuglocks and other bits
|
||||||
D: Some ARM at91rm9200 bits, S1D13XXX FB driver, random patches here and there
|
D: Some ARM at91rm9200 bits, S1D13XXX FB driver, random patches here and there
|
||||||
D: AD1889 sound driver
|
D: AD1889 sound driver
|
||||||
S: Paris, France
|
S: France
|
||||||
|
|
||||||
N: Heikki Vatiainen
|
N: Heikki Vatiainen
|
||||||
E: hessu@cs.tut.fi
|
E: hessu@cs.tut.fi
|
||||||
|
|
|
@ -409,8 +409,7 @@ F: drivers/platform/x86/wmi.c
|
||||||
F: include/uapi/linux/wmi.h
|
F: include/uapi/linux/wmi.h
|
||||||
|
|
||||||
AD1889 ALSA SOUND DRIVER
|
AD1889 ALSA SOUND DRIVER
|
||||||
M: Thibaut Varene <T-Bone@parisc-linux.org>
|
W: https://parisc.wiki.kernel.org/index.php/AD1889
|
||||||
W: http://wiki.parisc-linux.org/AD1889
|
|
||||||
L: linux-parisc@vger.kernel.org
|
L: linux-parisc@vger.kernel.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: sound/pci/ad1889.*
|
F: sound/pci/ad1889.*
|
||||||
|
@ -11488,7 +11487,7 @@ F: Documentation/blockdev/paride.txt
|
||||||
F: drivers/block/paride/
|
F: drivers/block/paride/
|
||||||
|
|
||||||
PARISC ARCHITECTURE
|
PARISC ARCHITECTURE
|
||||||
M: "James E.J. Bottomley" <jejb@parisc-linux.org>
|
M: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
|
||||||
M: Helge Deller <deller@gmx.de>
|
M: Helge Deller <deller@gmx.de>
|
||||||
L: linux-parisc@vger.kernel.org
|
L: linux-parisc@vger.kernel.org
|
||||||
W: http://www.parisc-linux.org/
|
W: http://www.parisc-linux.org/
|
||||||
|
|
|
@ -308,15 +308,29 @@ long compat_arch_ptrace(struct task_struct *child, compat_long_t request,
|
||||||
|
|
||||||
long do_syscall_trace_enter(struct pt_regs *regs)
|
long do_syscall_trace_enter(struct pt_regs *regs)
|
||||||
{
|
{
|
||||||
if (test_thread_flag(TIF_SYSCALL_TRACE) &&
|
if (test_thread_flag(TIF_SYSCALL_TRACE)) {
|
||||||
tracehook_report_syscall_entry(regs)) {
|
int rc = tracehook_report_syscall_entry(regs);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Tracing decided this syscall should not happen or the
|
* As tracesys_next does not set %r28 to -ENOSYS
|
||||||
* debugger stored an invalid system call number. Skip
|
* when %r20 is set to -1, initialize it here.
|
||||||
* the system call and the system call restart handling.
|
|
||||||
*/
|
*/
|
||||||
regs->gr[20] = -1UL;
|
regs->gr[28] = -ENOSYS;
|
||||||
goto out;
|
|
||||||
|
if (rc) {
|
||||||
|
/*
|
||||||
|
* A nonzero return code from
|
||||||
|
* tracehook_report_syscall_entry() tells us
|
||||||
|
* to prevent the syscall execution. Skip
|
||||||
|
* the syscall call and the syscall restart handling.
|
||||||
|
*
|
||||||
|
* Note that the tracer may also just change
|
||||||
|
* regs->gr[20] to an invalid syscall number,
|
||||||
|
* that is handled by tracesys_next.
|
||||||
|
*/
|
||||||
|
regs->gr[20] = -1UL;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Do the secure computing check after ptrace. */
|
/* Do the secure computing check after ptrace. */
|
||||||
|
@ -340,7 +354,6 @@ long do_syscall_trace_enter(struct pt_regs *regs)
|
||||||
regs->gr[24] & 0xffffffff,
|
regs->gr[24] & 0xffffffff,
|
||||||
regs->gr[23] & 0xffffffff);
|
regs->gr[23] & 0xffffffff);
|
||||||
|
|
||||||
out:
|
|
||||||
/*
|
/*
|
||||||
* Sign extend the syscall number to 64bit since it may have been
|
* Sign extend the syscall number to 64bit since it may have been
|
||||||
* modified by a compat ptrace call
|
* modified by a compat ptrace call
|
||||||
|
|
Loading…
Reference in New Issue