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

Re: [libvirt] [PATCH 2/3] Separate MCS range parsing from MCS range checking



On 03/13/2013 12:04 PM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange redhat com>
> 
> Pull the code which parses the current process MCS range
> out of virSecuritySELinuxMCSFind and into a new method
> virSecuritySELinuxMCSGetProcessRange.
> 
> Signed-off-by: Daniel P. Berrange <berrange redhat com>
> ---
>  src/security/security_selinux.c | 135 ++++++++++++++++++++++++----------------
>  1 file changed, 80 insertions(+), 55 deletions(-)
> 

ACK.

> +    for (;;) {
> +        int c1 = virRandomInt(catRange);
> +        int c2 = virRandomInt(catRange);
> +
> +        VIR_DEBUG("Try cat %s:c%d,c%d", sens, c1+catMin, c2+catMin);

Cosmetic: spaces around '+'

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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