You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
parisc: decide whether to go to slow path (tracesys) based on thread flags
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -180,9 +180,10 @@ linux_gateway_entry:
|
||||
|
||||
/* Are we being ptraced? */
|
||||
mfctl %cr30, %r1
|
||||
LDREG TI_TASK(%r1),%r1
|
||||
ldw TASK_PTRACE(%r1), %r1
|
||||
bb,<,n %r1,31,.Ltracesys
|
||||
LDREG TI_FLAGS(%r1),%r1
|
||||
ldi _TIF_SYSCALL_TRACE_MASK, %r19
|
||||
and,COND(=) %r1, %r19, %r0
|
||||
b,n .Ltracesys
|
||||
|
||||
/* Note! We cannot use the syscall table that is mapped
|
||||
nearby since the gateway page is mapped execute-only. */
|
||||
|
||||
Reference in New Issue
Block a user