提交 d9f86187 编写于 作者: H haotuo

Add description for possiable invoke failed of native api symbols

Signed-off-by: Nhaotuo <haotuo@huawei.com>
Change-Id: I7ae1e29b1941fc69ef8199169db1f3efaf426d6b
上级 ec2a3982
# Native Api Symbols That May Invoke Failed Because of Permission Control
| Symbols | Possiable Reason |
| --- | --- |
| mlockall | usr namespace isolation or lack of CAP_IPC_LOCK privilege |
| swapon | usr namespace isolation |
| swapoff | usr namespace isolation |
| stime | usr namespace isolation or lack of CAP_SYS_TIME privilege |
| settimeofday | usr namespace isolation or lack of CAP_SYS_TIME privilege |
| adjtime | usr namespace isolation or lack of CAP_SYS_TIME privilege |
| clock_settime | usr namespace isolation or lack of CAP_SYS_TIME privilege |
| klogctl | usr namespace isolation or lack of CAP_SYS_ADMIN/CAP_SYSLOG privilege |
\ No newline at end of file
......@@ -35,6 +35,8 @@ C standard library includes a set of header files in accordance with standard C
[Native API Symbols Not Exported](musl-peculiar-symbol.md)
[Native Api Symbols That May Invoke Failed Because of Permission Control](musl-permission-control-symbol.md)
## libc++
[libc++](https://libcxx.llvm.org/) is an implementation of the C++ standard library.
......
# Native api中由于权限管控可能调用失败的符号列表
| 符号名 | 调用失败可能的原因 |
| --- | --- |
| mlockall | usr namespace isolation or lack of CAP_IPC_LOCK privilege |
| swapon | usr namespace isolation |
| swapoff | usr namespace isolation |
| stime | usr namespace isolation or lack of CAP_SYS_TIME privilege |
| settimeofday | usr namespace isolation or lack of CAP_SYS_TIME privilege |
| adjtime | usr namespace isolation or lack of CAP_SYS_TIME privilege |
| clock_settime | usr namespace isolation or lack of CAP_SYS_TIME privilege |
| klogctl | usr namespace isolation or lack of CAP_SYS_ADMIN/CAP_SYSLOG privilege |
\ No newline at end of file
......@@ -35,6 +35,8 @@ C标准函数库是在C语言程序设计中,所有符合标准的头文件的
[native api中没有导出的符号列表](musl-peculiar-symbol.md)
[native api由于权限管控可能调用失败的符号列表](musl-permission-control-symbol.md)
## 标准C++库
[libc++](https://libcxx.llvm.org/)是C++标准库的一种实现。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册