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:
* SELinux userspace 2.8
* Python >= 3.4

View File

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