[libvirt] [PATCH v2 1/3] Use standard naming prefix for SELinux driver function names
Eric Blake
eblake at redhat.com
Fri Jul 20 17:06:40 UTC 2012
On 07/20/2012 10:59 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
> The function names in the SELinux driver all start with
> SELinux or 'mcs' as a prefix. Sanitize this so that they
> all use 'virSecuritySELinux' as the prefix
>
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
> src/security/security_selinux.c | 394 ++++++++++++++++++++-------------------
> 1 file changed, 198 insertions(+), 196 deletions(-)
Mechanical. ACK.
> @@ -487,12 +489,12 @@ SELinuxSecurityDriverClose(virSecurityManagerPtr mgr)
> }
>
>
> -static const char *SELinuxSecurityGetModel(virSecurityManagerPtr mgr ATTRIBUTE_UNUSED)
> +static const char *virSecuritySELinuxSecurityGetModel(virSecurityManagerPtr mgr ATTRIBUTE_UNUSED)
For hunks like this, do you want to reformat to:
static const char *
virSecuritySELinuxSecurityGetModel(virSecurityManagerPtr mgr
ATTRIBUTE_UNUSED)
to avoid the long lines? But that's cosmetic, and doesn't get in the
way of my ack.
--
Eric Blake eblake at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120720/2c2270a9/attachment-0001.sig>
More information about the libvir-list
mailing list