1. 10 7月, 2013 31 次提交
  2. 09 7月, 2013 5 次提交
  3. 08 7月, 2013 4 次提交
    • P
      selinux: Always generate imagelabel · 2ce63c16
      Peter Krempa 提交于
      The imagelabel SELinux label was only generated when relabeling was
      enabled. This prohibited labeling of files created by libvirt that need
      to be labeled even if relabeling is turned off.
      
      The only codepath this change has direct impact on is labeling of FDs
      passed to qemu which is always safe in current state.
      2ce63c16
    • P
      selinux: Cleanup coding style · e45ee23c
      Peter Krempa 提交于
      e45ee23c
    • J
      Resolve Coverity complaints in tests/securityselinuxlabeltest.c · a443c3a7
      John Ferlan 提交于
      Two complaints of RESOURCE_FREE due to going to cleanup prior to a
      VIR_FREE(line).  Two complaints of FORWARD_NULL due to 'tmp' being
      accessed after a strchr() without first checking if the return was NULL.
      
      While looking at the code it seems that 'line' need only be allocated
      once as the while loop will keep reading into line until eof causing
      an unreported leak since line was never VIR_FREE()'d at the bottom of
      the loop.
      a443c3a7
    • J
      qemu: Set RLIMIT_MEMLOCK when memoryBacking/locked is used · 59cc0fe5
      Jiri Denemark 提交于
      If a domain is configured to have all its memory locked, we need to set
      RLIMIT_MEMLOCK so that QEMU is actually allowed to lock the memory.
      59cc0fe5