lkml.org 
[lkml]   [2010]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 64-syscall args on 32-bit vs syscall()
From
Date
On Mon, 2010-03-15 at 15:04 +0000, Jamie Lokier wrote:
> There are several problems with syscall(), not just this - because a
> number of system calls in section 2 of the manual don't map directly
> to kernel syscalls with the same function prototype.
>
> Even fork() has become something complicated in Glibc that doesn't use
> the fork syscall :-(
>
> So anything using syscall() has to be careful on Linux already.
> Changing the 64-bit alignment won't fix the other differences.

It won't fix -all- the problems with syscall(), but it will fix a wagon
of them without breaking existing code that already does the arch
specific breakup on the call site...

Cheers,
Ben.





\
 
 \ /
  Last update: 2010-03-15 21:37    [W:0.078 / U:30.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site