News for hackers. Stuff that matters.
Re:The perils of transition to 64-bit time_t by AshamedCaptain on Saturday September 28, 2024 @07:09PM (#41683553)
> no matter how many times they get clobbered in the face by the consequences of not learning it.

While I do think that the boundary should be set at the libc level just out of design cleanliness, I fail to see what the "consequence" of not doing so is. You're just changing the instruction binaries use for syscalls from a relative jump to a trap (or whatever), but you still have all the problems with data type sizes, function "versions" and the like which are what this discussion is about.

Re:The perils of transition to 64-bit time_t by dmitrygr on Saturday September 28, 2024 @07:28PM (#41683632)
> I fail to see what the "consequence" of not doing so is.

TFA ?

Re:The perils of transition to 64-bit time_t by AshamedCaptain on Saturday September 28, 2024 @08:08PM (#41683786)
No. How would it benefit TFA _at all_?

For all practical purposes Linux currently has _two_ stable boundaries, libc (glibc) and kernel. If you move it so that the stable boundary is only the kernel, you still have this problem. If you move it so that the stable boundary is only libc, you still have this problem.

In fact, TFA's problem comes from applications passing time_ts around, which is strictly a userspace problem, and the syscall interface is almost entirely ortogonal. Heck, the 32-bit glibc time_t functions probably use the 64-bit time_t syscalls these days...