This looks odd to me, considering openat2 already has RESOLVE_BENEATH.
Does RESOLVE_BENEATH have no counterpart in kernel and implemented purely in userspace?
Does RESOLVE_BENEATH have no counterpart in kernel and implemented purely in userspace?
Comment