Bug 159125 - unconfined_t not allowed execmod of default_t
Summary: unconfined_t not allowed execmod of default_t
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted (Show other bugs)
(Show other bugs)
Version: rawhide
Hardware: All Linux
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2005-05-30 09:52 UTC by Colin Walters
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version: 1.23.18-2
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-09-04 23:46:30 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
completely allow execmod in targeted (493 bytes, patch)
2005-05-30 09:52 UTC, Colin Walters
no flags Details | Diff

Description Colin Walters 2005-05-30 09:52:44 UTC
I was developing some software on my targeted policy laptop, I use a /scratch
partition which is just labeled as file_t.  This works for nearly everything
except for shared libraries which require execmod.

I've attached a patch which allows execmod of file_type in the targeted policy
when allow_execmod is true.

Comment 1 Colin Walters 2005-05-30 09:52:44 UTC
Created attachment 114966 [details]
completely allow execmod in targeted

Comment 2 Daniel Walsh 2005-06-08 13:24:06 UTC
Since this is a te file that is only used in targeted

 if (allow_execmod) {
allow unconfined_t file_type:file execmod;
is all that is needed.  

Modified in selinux-policy-targeted-1.23.18-2

Note You need to log in before you can comment on or make changes to this bug.