Move mcs_constrained() impementation.

This commit is contained in:
Chris PeBenito 2012-11-28 16:26:05 -05:00
parent c2f056b2f6
commit 910f3f87ac
1 changed files with 28 additions and 28 deletions

View File

@ -3,6 +3,34 @@
## Contains attributes used in MCS policy. ## Contains attributes used in MCS policy.
## </required> ## </required>
########################################
## <summary>
## Constrain by category access control (MCS).
## </summary>
## <desc>
## <p>
## Constrain the specified type by category based
## access control (MCS) This prevents this domain from
## interacting with subjects and operating on objects
## that it otherwise would be able to interact
## with or operate on respectively.
## </p>
## </desc>
## <param name="domain">
## <summary>
## Type to be constrained by MCS.
## </summary>
## </param>
## <infoflow type="none"/>
#
interface(`mcs_constrained',`
gen_require(`
attribute mcs_constrained_type;
')
typeattribute $1 mcs_constrained_type;
')
######################################## ########################################
## <summary> ## <summary>
## This domain is allowed to read files and directories ## This domain is allowed to read files and directories
@ -102,31 +130,3 @@ interface(`mcs_process_set_categories',`
typeattribute $1 mcssetcats; typeattribute $1 mcssetcats;
') ')
########################################
## <summary>
## Constrain by category access control (MCS).
## </summary>
## <desc>
## <p>
## Constrain the specified type by category based
## access control (MCS) This prevents this domain from
## interacting with subjects and operating on objects
## that it otherwise would be able to interact
## with or operate on respectively.
## </p>
## </desc>
## <param name="domain">
## <summary>
## Type to be constrained by MCS.
## </summary>
## </param>
## <infoflow type="none"/>
#
interface(`mcs_constrained',`
gen_require(`
attribute mcs_constrained_type;
')
typeattribute $1 mcs_constrained_type;
')