Elektrine lite

← Feed

@madcoder@infosec.exchange

Post #3971753

2026-07-20 22:52 UTC

@jann@infosec.exchange right I get it, and the complexity added in XNU so that when you close a file it breaks a blocking read() with an EBADF error is somewhat annoying to maintain. but I think that from a synchronization and/or file descriptor management bugs (such as double-close etc...) it's a much nicer behavior. but oh well, I don't disagree that it's about papering over userspace being silly though.

Replies (1)

  • @madcoder@infosec.exchange 2026-07-20 22:59

    @jann@infosec.exchange if I had my way, races like that should cause process termination reliably because you're a bad person and you don't know what you're doing and all you deserve in front of such UB is a quick and fast death. but oh well.

    Open ##3971867