Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1427708

Re: [PATCH v3 2/3] x86/signal: Rewire the restart_block() syscall to have a constant nr

From Pedro Alves <palves@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 2/3] x86/signal: Rewire the restart_block() syscall to have a constant nr
Date 2016-06-21 14:50 +0200
Message-ID <rMthT-5Vb-1@gated-at.bofh.it> (permalink)
References <rMhqp-6JS-3@gated-at.bofh.it> <rMhqp-6JS-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Andy,

On 06/21/2016 12:39 AM, Andy Lutomirski wrote:
> Suppose a 64-bit task A traces a 32-bit task B.

I gave your x86/ptrace branch a try:

 https://git.kernel.org/cgit/linux/kernel/git/luto/linux.git/log/?h=x86/ptrace

(this looks to be the same patch set.)

Unfortunately, with gdb git master, I still get the
64-bit ptracer x 32-bit ptracee problem:

 (gdb) r
 Starting program: interrupt.32 
 talk to me baby
 ^C

 Program received signal SIGINT, Interrupt.
 0xf7fd9d09 in __kernel_vsyscall ()
 (gdb) p func1 ()
 $1 = 4
 (gdb) c
 Continuing.
 Unknown error 512
 [Inferior 1 (process 2198) exited with code 01]
 (gdb) q

Is this expected?

This is the same testcase as before:

 https://sourceware.org/ml/gdb/2014-05/msg00004.html

Thanks,
Pedro Alves

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 2/3] x86/signal: Rewire the restart_block() syscall to have a constant nr Andy Lutomirski <luto@kernel.org> - 2016-06-21 02:10 +0200
  Re: [PATCH v3 2/3] x86/signal: Rewire the restart_block() syscall to  have a constant nr Pedro Alves <palves@redhat.com> - 2016-06-21 14:50 +0200
    Re: [PATCH v3 2/3] x86/signal: Rewire the restart_block() syscall to  have a constant nr Andy Lutomirski <luto@amacapital.net> - 2016-06-21 18:40 +0200
      Re: [PATCH v3 2/3] x86/signal: Rewire the restart_block() syscall to  have a constant nr Pedro Alves <palves@redhat.com> - 2016-06-22 14:10 +0200
        Re: [PATCH v3 2/3] x86/signal: Rewire the restart_block() syscall to  have a constant nr Andy Lutomirski <luto@amacapital.net> - 2016-06-22 17:30 +0200

csiph-web