(stat(...) == -1 || faccessat(...) == -1) && errno == EINTR ?!??

Godmar Back godmar@gmail.com
Sun Feb 14 22:04:28 GMT 2021


I don't know if this qualifies as "breaking userland" or "this has
never worked."

You could use systemtap to patch the kernel to see if you can trap the
path where they're returning `EINTR`.
I recently came across a blog post:
https://engineering.skroutz.gr/blog/uncovering-a-24-year-old-bug-in-the-linux-kernel/
where some people did that and found a bug in the TCP code. Very
impressive.


More information about the Libc-help mailing list