Re: [patch] refpolicy: add capability2 class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2008-02-07 at 11:29 -0500, Stephen Smalley wrote:
> Add the capability2 class to policy for capabilities 32-63.
> 
> Signed-off-by:  Stephen Smalley <sds@xxxxxxxxxxxxx>

Merged.

> ---
> 
>  refpolicy/policy/flask/access_vectors   |    6 ++++++
>  refpolicy/policy/flask/security_classes |    3 +++
>  2 files changed, 9 insertions(+)
> 
> 
> Index: refpolicy/policy/flask/security_classes
> ===================================================================
> --- refpolicy/policy/flask/security_classes	(revision 2594)
> +++ refpolicy/policy/flask/security_classes	(working copy)
> @@ -109,4 +109,7 @@
>  # network peer labels
>  class peer
>  
> +# Capabilities >= 32
> +class capability2
> +
>  # FLASK
> Index: refpolicy/policy/flask/access_vectors
> ===================================================================
> --- refpolicy/policy/flask/access_vectors	(revision 2594)
> +++ refpolicy/policy/flask/access_vectors	(working copy)
> @@ -347,6 +347,7 @@
>  class capability
>  {
>  	# The capabilities are defined in include/linux/capability.h
> +	# Capabilities >= 32 are defined in the capability2 class.
>  	# Care should be taken to ensure that these are consistent with
>  	# those definitions. (Order matters)
>  
> @@ -384,6 +385,11 @@
>  	setfcap
>  }
>  
> +class capability2 
> +{
> +	mac_override	# unused by SELinux
> +	mac_admin	# unused by SELinux
> +}
>  
>  #
>  # Define the access vector interpretation for controlling
> 
-- 
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux