Re: [libvirt] [PATCH] selinux: Don't mask errors of virSecuritySELinuxGenNewContext

2013-04-24 Thread Osier Yang
On 24/04/13 20:43, Peter Krempa wrote: virSecuritySELinuxGenNewContext() reports sensible errors but at virSecuritySELinuxGenSecurityLabel() the error is masked with a non-specific one. --- src/security/security_selinux.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --g

[libvirt] [PATCH] selinux: Don't mask errors of virSecuritySELinuxGenNewContext

2013-04-24 Thread Peter Krempa
virSecuritySELinuxGenNewContext() reports sensible errors but at virSecuritySELinuxGenSecurityLabel() the error is masked with a non-specific one. --- src/security/security_selinux.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/security/security_selinux.c b/src/