1. 09 8月, 2019 1 次提交
  2. 08 8月, 2019 1 次提交
  3. 18 7月, 2019 4 次提交
  4. 11 7月, 2019 1 次提交
    • D
      network: acquire a pidfile in the driver root directory · c03aef7c
      Daniel P. Berrangé 提交于
      When we allow multiple instances of the driver for the same user
      account, using a separate root directory, we need to ensure mutual
      exclusion. Use a pidfile to guarantee this.
      
      In privileged libvirtd this ends up locking
      
         /var/run/libvirt/network/driver.pid
      
      In unprivileged libvirtd this ends up locking
      
        /run/user/$UID/libvirt/network/run/driver.pid
      
      NB, the latter can vary depending on $XDG_RUNTIME_DIR
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      c03aef7c
  5. 26 6月, 2019 1 次提交
    • D
      network: avoid including sys/sysctl.h on Linux · 3338c40b
      Daniel P. Berrangé 提交于
      The sys/sysctl.h header is only needed on BSD platforms to get
      the sysctlbyname() function declaration. On Linux we talk to
      procfs instead to change sysctls.
      
      Unfortunately a legacy sys/sysctl.h header does exist on Linux
      and including it has recently started triggering a deprecation
      warning from glibc.
      
      Protect its inclusion with a HAVE_SYSCTLBYNAME check instead
      so that it only gets used on platforms where we need that
      function declaration.
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      3338c40b
  6. 17 6月, 2019 12 次提交
  7. 23 5月, 2019 1 次提交
  8. 21 5月, 2019 6 次提交
  9. 30 4月, 2019 1 次提交
  10. 24 4月, 2019 1 次提交
  11. 23 4月, 2019 1 次提交
  12. 18 4月, 2019 4 次提交
  13. 17 4月, 2019 2 次提交
  14. 16 4月, 2019 4 次提交