This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Wed, Dec 16, 2015 at 12:12:12PM -0500, Rich Felker wrote: > On Wed, Dec 16, 2015 at 07:01:39AM -0800, H.J. Lu wrote: > > X32 syscall() may return 64-bit integer as lseek, time and times. Its > > return type should be __syscall_slong_t instead of long int. We need > > to properly return 64-bit error value. > > Where is this actually needed? On linux x32, at least lseek, time, and times syscalls return values that cannot be properly stored in a 32-bit long int. If libc syscall wrapper is unable to forward values returned by these syscalls, you hardly can use such a syscall wrapper with __NR_lseek, __NR_time, or __NR_times. -- ldv
Attachment:
pgpMDnqG4XUvd.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |