This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Add x32 arch_prctl support


On Mon, May 21, 2012 at 8:57 PM, H. Peter Anvin <hpa@zytor.com> wrote:
> On 05/21/2012 08:29 PM, H.J. Lu wrote:
>>
>> The question is how fast we can to get this patch
>>
>> diff --git a/arch/x86/kernel/ptrace.c b/arch/x86/kernel/ptrace.c
>> index 685845c..cf11783 100644
>> --- a/arch/x86/kernel/ptrace.c
>> +++ b/arch/x86/kernel/ptrace.c
>> @@ -1211,12 +1211,6 @@ static long x32_arch_ptrace(struct task_struct *child,
>> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?0, sizeof(struct user_i387_struct),
>> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?datap);
>>
>> - ? ? ? ? ? ? /* normal 64bit interface to access TLS data.
>> - ? ? ? ? ? ? ? ?Works just like arch_prctl, except that the arguments
>> - ? ? ? ? ? ? ? ?are reversed. */
>> - ? ? case PTRACE_ARCH_PRCTL:
>> - ? ? ? ? ? ? return do_arch_prctl(child, data, addr);
>> -
>> ? ? ? default:
>> ? ? ? ? ? ? ? return compat_ptrace_request(child, request, addr, data);
>> ? ? ? }
>>
>> into Linux kernel.
>>
>
> We can probably get it into 3.4.1.
>

That will be great.  Should I prepare a kernel patch?

Thanks.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]