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

Smartcard solutions

Moderator: product

youyou
Posts: 40
Joined: Fri Jul 06, 2018 3:42 am
Points :278
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: 40
Joined: Fri Jul 06, 2018 3:42 am
Points :278
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

lanzi
Posts: 17
Joined: Fri Sep 28, 2018 3:41 am
Points :102
Contact:

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

Post by lanzi » Thu Mar 21, 2019 5:35 am

Very nice :)

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 1 guest

JavaCard OS : Disclaimer