Closed eminence closed 1 year ago
@bobrik does this look OK to you?
I think we can also just not pass any flags (pass AtFlags::empty()
) and that would work too and be easier to follow.
Ah, good point. I somehow had it in my head that the SYMLINK_NOFOLLOW
part was relevant here, but that's not true. So AtFlags::empty()
sounds like the way to go here. Thanks
It was reported (#241) that old kernels (2.6) will return a failure if SYMLINK_NOFOLLOW is used, so lets check for errors here.