[Bug 269780] O_RESOLVE_BENEATH succeeds on ".." on "/"

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 19 Apr 2023 08:17:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269780

Val Packett <val@packett.cool> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |val@packett.cool

--- Comment #5 from Val Packett <val@packett.cool> ---
(In reply to Konstantin Belousov from comment #1)

It's not like the consequences are huge, but

- right now if there is a requirement to have consistent behavior in this
obscure case across platforms, it's annoying to implement (every open call
would need to waste a syscall probing whether the fd is the root like this, and
falling back to a manual userspace implementation if that's the case)
- inside FreeBSD itself we might want the same consistency for implementing
RESOLVE_BENEATH in Linuxulator?

-- 
You are receiving this mail because:
You are the assignee for the bug.