Move open, audit_access, and execmod to file common.

Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
This commit is contained in:
Chris PeBenito 2019-10-25 15:45:31 -04:00
parent 69cd9b4614
commit e5dbe75276
2 changed files with 6 additions and 29 deletions

View File

@ -1,3 +1,6 @@
Reference Policy has the following runtime requirements:
* Linux kernel >= 2.6.34
Reference Policy has the following build requirements: Reference Policy has the following build requirements:
* SELinux userspace 2.8 * SELinux userspace 2.8
* Python >= 3.4 * Python >= 3.4

View File

@ -28,6 +28,9 @@ common file
swapon swapon
quotaon quotaon
mounton mounton
open
audit_access
execmod
} }
@ -208,9 +211,6 @@ inherits file
reparent reparent
search search
rmdir rmdir
open
audit_access
execmod
} }
class file class file
@ -218,52 +218,26 @@ inherits file
{ {
execute_no_trans execute_no_trans
entrypoint entrypoint
execmod
open
audit_access
} }
class lnk_file class lnk_file
inherits file inherits file
{
open
audit_access
execmod
}
class chr_file class chr_file
inherits file inherits file
{ {
execute_no_trans execute_no_trans
entrypoint entrypoint
execmod
open
audit_access
} }
class blk_file class blk_file
inherits file inherits file
{
open
audit_access
execmod
}
class sock_file class sock_file
inherits file inherits file
{
open
audit_access
execmod
}
class fifo_file class fifo_file
inherits file inherits file
{
open
audit_access
execmod
}
class fd class fd
{ {