diff options
author | Eric Paris <eparis@redhat.com> | 2010-07-23 17:44:15 +0200 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-08-02 07:35:09 +0200 |
commit | b424485abe2b16580a178b469917a7b6ee0c152a (patch) | |
tree | d90d4662dd1ad229976354e4caa1a7632fb2a6d3 /security/tomoyo/util.c | |
parent | selinux: place open in the common file perms (diff) | |
download | linux-b424485abe2b16580a178b469917a7b6ee0c152a.tar.xz linux-b424485abe2b16580a178b469917a7b6ee0c152a.zip |
SELinux: Move execmod to the common perms
execmod "could" show up on non regular files and non chr files. The current
implementation would actually make these checks against non-existant bits
since the code assumes the execmod permission is same for all file types.
To make this line up for chr files we had to define execute_no_trans and
entrypoint permissions. These permissions are unreachable and only existed
to to make FILE__EXECMOD and CHR_FILE__EXECMOD the same. This patch drops
those needless perms as well.
Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Stephen D. Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/tomoyo/util.c')
0 files changed, 0 insertions, 0 deletions