[PATCH 1/8] misc: Add time64 alias for ioctl
Florian Weimer
fweimer@redhat.com
Tue Jul 20 08:52:57 GMT 2021
* Lukasz Majewski:
> So the idea here is to have the distinction for ioctl's when we decide
> to support 64 bit time on 32 bit ports? And as ioctls are often
> multiplexed, we will not be able to distinct the time related struct
> members passed to this syscall?
The idea is this: If we need to add more ioctl rewriting in userspace,
then we can confie that to time64 binaries with this change because they
use a separate function call. Binaries which use the non-time64
interface (especially old binaries which cannot be recompiled) are
totally unaffected by such potential future changes.
If there is no separate time64 symbols, we would have to hope that we
can identify the need to rewrite based on the arguments alone, which is
likely but not guaranteed.
Thanks,
Florian
More information about the Libc-alpha
mailing list