[PATCH] [BZ #19371] Properly handle x32 syscall

H.J. Lu hjl.tools@gmail.com
Wed Dec 16 21:31:00 GMT 2015


On Wed, Dec 16, 2015 at 8:38 AM, Florian Weimer <fweimer@redhat.com> wrote:
> On 12/16/2015 05:36 PM, H.J. Lu wrote:
>> On Wed, Dec 16, 2015 at 8:35 AM, Florian Weimer <fweimer@redhat.com> wrote:
>>> On 12/16/2015 04:01 PM, H.J. Lu wrote:
>>>> -extern long int syscall (long int __sysno, ...) __THROW;
>>>> +extern __syscall_slong_t syscall (long int __sysno, ...) __THROW;
>>>
>>> syscall is documented in the manual, so this change needs to be
>>> reflected there in some way.
>>
>> I will send a patch to Linux man pages after it is fixed in glibc.
>
> Sorry, I was talking about manual/startup.texi:
>
> manual/startup.texi:727:@deftypefun {long int} syscall (long int
> @var{sysno}, @dots{})
> manual/startup.texi-728-@safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
> manual/startup.texi-729-
> manual/startup.texi-730-@code{syscall} performs a generic system call.
>

Here is the updated patch.  OK for master?

Thanks.


-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Properly-handle-x32-syscall.patch
Type: text/x-patch
Size: 4713 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20151216/df7dc588/attachment.bin>


More information about the Libc-alpha mailing list