How is this an API quirk? It's normal and expected behaviour with file-handles in Unix.
How is this an API quirk? It's normal and expected behaviour with file-handles in Unix.
Posted Nov 5, 2025 15:26 UTC (Wed) by paulj (subscriber, #341)In reply to: How is this an API quirk? It's normal and expected behaviour with file-handles in Unix. by corbet
Parent article: Namespace reference counting and listns()
I stand corrected. So these are a new class of handles, distinct from file descriptors, as per open_by_handle_at, and with a separate struct in the kernel it appears. I didn't realise. Thanks.
Posted Nov 5, 2025 15:46 UTC (Wed)
by corbet (editor, #1)
[Link]
They are new with regard to namespaces, but file handles are a fairly old concept; I think they had their origin with NFS many years ago.
How is this an API quirk? It's normal and expected behaviour with file-handles in Unix.
