[refpolicy] [PATCH v2 2/3] Associate the new xattrfs attribute to fs_t and some pseudo-fs

Laurent Bigonville bigon at debian.org
Mon Mar 24 09:47:06 EDT 2014


Le Sat, 22 Mar 2014 13:06:10 +0100,
Laurent Bigonville <bigon at debian.org> a écrit :

[...]
> b/policy/modules/kernel/filesystem.te index 4207e8f..a8a54d2 100644
> --- a/policy/modules/kernel/filesystem.te
> +++ b/policy/modules/kernel/filesystem.te
> @@ -17,6 +17,7 @@ attribute xattrfs;
>  #
>  type fs_t;
>  fs_type(fs_t)
> +typeattribute fs_t xattrfs;
>  sid fs gen_context(system_u:object_r:fs_t,s0)
>  
>  # Use xattrs for the following filesystem types.

This should probably be changed to use the new fs_xattr_type() of
course, or set the attribute directly as it's local.

[...]

I can post a v3 of the patch if you want


More information about the refpolicy mailing list