Re: [PATCH 1/4] conf: add rawio attribute to disk element of domain XML

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

 



On 01/30/2012 10:08 AM, Taku Izumi wrote:
+        /* cap_sys_rawio check */
+        if (disk->rawio == 1&&
+            (def->process_caps&  (1ULL<<  CAP_SYS_RAWIO)) == 0) {
+            def->process_caps |= (1ULL<<  CAP_SYS_RAWIO);
+            VIR_WARN("domain %s will be granted CAP_SYS_RAWIO", def->name);
+        }
+

This is missing tainting.

Also, I'm not sure that this code (and the tainting) would need to go here or rather in src/qemu.

Paolo

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]