Skip to contentSkip to conversation

Add MATLAB policy to run as a java_exec_t

DISCUSSION Christopher J. PeBenito 1 participant 1 message Mar 1, 2007 1 message not in the archive SELinux security module

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 12 lines · On Mon, 2007-02-26 at 14:50 -0500, [email protected] wrote:

===File /tmp/patches/nsaserefpolicy_policy_modules_apps_java.fc===

policy/modules/apps/java.fc +5 -0
@@ -18,3 +18,8 @@
 /usr/bin/grmic  	--	gen_context(system_u:object_r:java_exec_t,s0)
 /usr/bin/grmiregistry  	--	gen_context(system_u:object_r:java_exec_t,s0)
 /usr/bin/jv-convert  	--	gen_context(system_u:object_r:java_exec_t,s0)
+# MATLAB Policy
+/usr/matlab/bin/(.*/)?MATLAB.	--	gen_context(system_u:object_r:java_exec_t,s0)
+/usr/local/matlab/bin/(.*/)?MATLAB.	--	gen_context(system_u:object_r:java_exec_t,s0)
+/opt/matlab/bin/(.*/)?MATLAB.	--	gen_context(system_u:object_r:java_exec_t,s0)
+/opt/local/matlab/bin/(.*/)?MATLAB.	--	gen_context(system_u:object_r:java_exec_t,s0)
Quoted 1 line

============================================================

Merged with a little reorganization.

Signature · 9 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.