未验证 提交 2d8847be 编写于 作者: O openharmony_ci 提交者: Gitee

!14840 添加musl native api中可能由于权限管控调用失败的符号文档说明

Merge pull request !14840 from haotuo/add_musl_permisson_control_api_md
# 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.
先完成此消息的编辑!
想要评论请 注册