On Sat, 31 Dec 2022 19:05:20 +0100, Mark Kettenis wrote: > Bad idea. The setitimer(2) interface is marked as "OB XSI" in POSIX, > which means that it is considerent "Obsolescent" and may be removed in > a future version of POSIX. Since we want ssh to be as portable as > possible we shouldn't use it there. Especially for something that > really is just a cosmetic "fix".
I considered this but I can't think of any platform that OpenSSH supports which doesn't have setitimer(2). The reality is that even if POSIX removes setitimer(2), systems that already implement it will not remove it. So I think the only concern is some theoretical future POSIX system. - todd