Re: RFD: x32 ABI system call numbers

From: Ted Ts'o
Date: Mon Aug 29 2011 - 21:17:47 EST


On Mon, Aug 29, 2011 at 09:01:37PM +0200, Geert Uytterhoeven wrote:
> On Sat, Aug 27, 2011 at 03:42, Linus Torvalds
> <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> > time_t really *should* be 64-bit, the same way "off_t" should be. If
> > it's not, there's something wrong.
>
> Which will break all this non-portable 32-bit-only source code x32 was invented
> for in the first place?
> Someone will pass a time_t or off_t and an innocent pointer to a custom
> printf-alike function to format it like "%u %s" and it will go bang...

Well, for old static binaries, the old syscall ABI would still have to
use 32-bit off_t's and time_t's. And for dynamically linked binaries,
glibc could deal with the compatibility issues with the old ABI,
across the shared library interface, right?

- Ted
--
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/