在Dlopen()API中拒绝许可
Permission denied in dlopen() API
我使用dlopen((api在程序中打开一个共享对象。但是要低于错误:
cannot restore segment prot after reloc: Permission denied
dlopen可能无法重新放置您共享库的文本段。在这种情况下,我们可以更改权限,以动态选择重定位。您需要使用root权限执行以下命令来更改权限。
chcon -t texrel_shlib_t <your lib path here.>
相关文章:
- 访问被拒绝后,c++中的故障保护代码
- IpOpt拒绝解决不受约束的问题
- Termux权限被拒绝
- AWS Lambda C++运行时权限被拒绝
- WinSock2:connect() 提供"连接被拒绝"
- 为什么 KMS drmModeSetCrtc() 在 X11 会话中运行时会失败并被拒绝权限?
- 删除目录函数访问被拒绝
- 模板签名解析为 void(void) 被 GCC 拒绝;这是否有效C++?
- 为什么 Windows 拒绝访问某些进程的名称?
- std::stoi 的版本拒绝任何非数字
- 我在执行任何程序时被拒绝在 devcpp 中访问
- Windows C++:文件夹移动访问被拒绝错误
- AWS AMI 中的 Windows DPAPI 失败,访问被拒绝
- 使用崇高文本 3 进行C++拒绝授予权限?
- C++ 17 文件系统copy_file访问被拒绝
- Clang拒绝类模板的嵌套类仅通过专门化定义的代码是正确的吗
- 拒绝包含某些公共静态数据成员的类型
- 在Dlopen()API中拒绝许可
- 打开Unix,Linux系统呼叫许可,拒绝Arduino Uno
- 在编译我自己的代码时拒绝许可