The x32 system call ABI
The x32 system call ABI
Posted Sep 1, 2011 12:53 UTC (Thu) by cesarb (subscriber, #6266)In reply to: The x32 system call ABI by and
Parent article: The x32 system call ABI
Why not simply use the 64-bit structures then?
When putting a pointer into these structures, it can simply be zero-extended.
Only memory allocation system calls would need a new flag (to allocate below 4G). Other than these, the kernel does not have to change at all. The rest could be done in userspace.
(The only other change needed in the kernel would be to add a flag in the executable file format to make ASLR use only the lower 32 bits.)
