harmony 鸿蒙Native API Symbols That May Fail to Call Due to Permission Control

2023-06-24 浏览 (901)

Native API Symbols That May Fail to Call Due to Permission Control

Before using the following interfaces, ensure that the application entity has the corresponding permission.

SymbolPossible Cause
mlockallusr namespace isolation or lack of CAP_IPC_LOCK privilege
swaponusr namespace isolation
swapoffusr namespace isolation
stimeusr namespace isolation or lack of CAP_SYS_TIME privilege
settimeofdayusr namespace isolation or lack of CAP_SYS_TIME privilege
adjtimeusr namespace isolation or lack of CAP_SYS_TIME privilege
clock_settimeusr namespace isolation or lack of CAP_SYS_TIME privilege
klogctlusr namespace isolation or lack of CAP_SYS_ADMIN/CAP_SYSLOG privilege

你可能感兴趣的鸿蒙文章

harmony 鸿蒙libc++

harmony 鸿蒙Native API Symbols Not Exported

harmony 鸿蒙libc

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/8706fa4453584261ae74ef0abc3d944a