Hi - On Thu, Aug 26, 2021 at 11:59:24PM +0200, Mark Wielaard wrote: > [...] > Yes, this seems the right sequence, but don't we still have a little race > condition (if someone runs as root)?
Yeah, I see what you mean, good point. The code should do the open(), and then fstat() the fd. - FChE