linux-mips
[Top] [All Lists]

N32 fallocate syscall

To: linux-mips@linux-mips.org
Subject: N32 fallocate syscall
From: "Joseph S. Myers" <joseph@codesourcery.com>
Date: Thu, 18 Dec 2008 00:14:12 +0000 (UTC)
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
The N32 syscall table uses sys_fallocate instead of sys32_fallocate.  
However, glibc expects to be using the syscall version with 32-bit 
arguments on N32, which should work with sys32_fallocate but not 
sys_fallocate.

What should the N32 interface for this syscall be?  My inclination is that 
glibc is right not to do anything special and different from other 32-bit 
ABIs here, and so sys32_fallocate should be used.

(glibc is also expecting the 32-bit version for N64, but that's a clear 
bug in glibc that I'll be fixing.)

-- 
Joseph S. Myers
joseph@codesourcery.com

<Prev in Thread] Current Thread [Next in Thread>