Red Hat Bugzilla – Bug 438453
SELinux is preventing /usr/local/matlab2007b/bin/glnxa64/MATLAB from changing the access protection of memory on the heap.
Last modified: 2008-05-21 12:43:15 EDT
Description of problem:
SELinux is preventing /usr/local/matlab2007b/bin/glnxa64/MATLAB from changing
the access protection of memory on the heap.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. start matlab version R2007b
2. open any figure or edit window etc.
The /usr/local/matlab2007b/bin/glnxa64/MATLAB application attempted to change
the access protection of memory on the heap (e,g., allocated using malloc). This
is a potential security problem. Applications should not be doing this.
Applications are sometimes coded incorrectly and request this permission. The
SELinux Memory Protection Tests web page explains how to remove this
requirement. If /usr/local/matlab2007b/bin/glnxa64/MATLAB does not work and you
need it to work, you can configure SELinux temporarily to allow this access
until the application is fixed. Please file a bug report against this package.
chcon -t java_exec_t /usr/local/matlab2007b/bin/glnxa64/MATLAB
Should fix it.
I will try to fix this mapping in U2 policy
Fixed mapping in selinux-policy-2.4.6-128.el5
Fixed in selinux-policy-2.4.6-130.el5
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.