open_by_handle_at(2)的用法是什么?
What is the usage of open_by_handle_at(2)?
我从 docker 突破技术 CAP_DAC_READ_SEARCH 那里学到了这个系统调用。
我想知道这个系统调用最初是为了什么而设计的?或者它还有其他典型和常见的用法吗?因为经过一段时间的查找,我发现open_by_handle_at(2)最显着的用法是从容器中break out...
These system calls are designed for use by user-space file
servers. For example, a user-space NFS server might generate a
file handle and pass it to an NFS client. Later, when the client
wants to open the file, it could pass the handle back to the
server. This sort of functionality allows a user-space file
server to operate in a stateless fashion with respect to the
files it serves.
我从 docker 突破技术 CAP_DAC_READ_SEARCH 那里学到了这个系统调用。
我想知道这个系统调用最初是为了什么而设计的?或者它还有其他典型和常见的用法吗?因为经过一段时间的查找,我发现open_by_handle_at(2)最显着的用法是从容器中break out...
These system calls are designed for use by user-space file
servers. For example, a user-space NFS server might generate a
file handle and pass it to an NFS client. Later, when the client
wants to open the file, it could pass the handle back to the
server. This sort of functionality allows a user-space file
server to operate in a stateless fashion with respect to the
files it serves.