[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Oct files on SELinux

From: Julien Salort
Subject: Oct files on SELinux
Date: Fri, 23 Nov 2012 17:20:38 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (darwin)


I have a strange problem on a CentOS 5-based linux system. I have a
simple Hello-world Oct file that simply octave_stdout a Hello World

If I compile it with:
mkoctfile helloworld.cpp
-> it works

If I compile it with:
g++ -c `mkoctfile -p ALL_CFLAGS` helloworld.cpp
mkoctfile helloworld.o

Then I need to setenforce 0. Otherwise, I get 
cannot restore segment prot after reloc: Permission denied
whenever I try to run the helloworld command.

Do you have an idea on how to work around this problem, without
disabling SELinux ?

Thanks for any pointer...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]