SELinux is a solution that allows an x.so to be invoked normally

Smartcard solutions

Moderator: product

youyou
Posts: 36
Joined: Fri Jul 06, 2018 3:42 am
Points :252
Contact:

SELinux is a solution that allows an x.so to be invoked normally

Post by youyou » Mon Jan 14, 2019 10:37 pm

I have encountered many problems before. Because SELinux is on, when executing a program, it will prompt: error while loading Shared libraries: XXX. So: cannot restore segment prot after reloc: Permission denied.

youyou
Posts: 36
Joined: Fri Jul 06, 2018 3:42 am
Points :252
Contact:

Re: SELinux is a solution that allows an x.so to be invoked normally

Post by youyou » Mon Jan 14, 2019 10:37 pm

Method one:
Modify /etc/selinux/config file,
Change the SELINUX = enforcing to SELINUX = disabled.
Then, save, close, and restart the machine.

Method two:
Execute the command chcon-t texrel_shlib_t XXX. So

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 1 guest

JavaCard OS : Disclaimer