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]

Re: [PATCH 00/10] nptl: Fix Race conditions in pthread cancellation (BZ#12683)


On 09/18/2015 11:31 AM, Joseph Myers wrote:
One way is to make the return syscall another type like __syscall_arg_t
>and make the specific implementation for such ports to redefine it to
>a better one if it is required.
I think that's the right logical thing to do to handle such ABIs more
cleanly and reliably.

Whether it's needed for this patch series could be determined by examining
all syscalls.list entries for cancellable syscalls that can be used for
ILP32 configurations with 64-bit registers used in the syscall interface
(that's MIPS n32 and x86_64 x32, and I'm not sure about what the syscall
interface for tilegx32 looks like), to see if any beyond lseek can return
non-error values 2^32  or more.

I believe the tilegx32 syscall ABI uses only 32-bit values, as it was
modeled on the 32-bit x86 compat ABI.

--
Chris Metcalf, EZChip Semiconductor
http://www.ezchip.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]