x32 and width of blksize_t, suseconds_t

From: Paul Eggert
Date: Fri Mar 16 2012 - 04:19:27 EST


Come to think of it, the proposed x32 patch may have issues
with blksize_t and suseconds_t as well. POSIX says that an x32
implementation must support at least one programming environment
(presumably settable via a feature test macro) where blksize_t
and suseconds_t are no wider than 'long'; see
<http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_types.h.html>.
But if I understand things correctly, x32 glibc would
define these to be 'long long'. This issue affects system
calls such as 'stat' and 'select'.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/