首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >open_by_handle_at(2)的用途是什么?

open_by_handle_at(2)的用途是什么?
EN

Stack Overflow用户
提问于 2021-09-13 09:28:37
回答 1查看 56关注 0票数 0

我从CAP_DAC_READ_SEARCH的docker breakout技术那里学到了这个系统调用。

我想知道这个系统调用最初是为了什么而设计的?或者它还有其他典型和常见的用法吗?因为经过一段时间的搜索,我发现open_by_handle_at(2)最重要的用法是从容器中突围出来……

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2021-09-13 12:15:17

来自man open_by_handle

代码语言:javascript
复制
   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.
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/69160351

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档