PATCH: Add x32 arch_prctl support
H.J. Lu
hjl.tools@gmail.com
Tue May 22 05:06:00 GMT 2012
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.
More information about the Libc-alpha
mailing list