Re: [PATCH 12/16] syscall.2: elaborate x32 ABI specifics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Oct 14, 2018 at 4:49 PM Michael Kerrisk (man-pages)
<mtk.manpages@xxxxxxxxx> wrote:
> You say here "every other ABI". Do you mean rather, every other *32-bit* ABI?

Nope every other ABI including 64-bit ones, one of the specifics of
these new p{read,write}v2 syscalls is that they usually take 64-bit
offset in a pair of registers in an attempt to avoid the whole
"passing a 64-bit value on 32-bit ABIs" conundrum, see[1][2][3][4].

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/read_write.c?h=v4.18#n1127
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/read_write.c?h=v4.18#n1051
[3] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/x86/entry/syscalls/syscall_64.tbl?h=v4.18#n387
[4] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/x86/entry/syscalls/syscall_64.tbl?h=v4.18#n387
-- 
Eugene Syromyatnikov
mailto:evgsyr@xxxxxxxxx
xmpp:esyr@jabber.{ru|org}



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux