You need to sign in or sign up before continuing.
  1. 03 12月, 2007 1 次提交
  2. 01 12月, 2007 3 次提交
  3. 30 11月, 2007 2 次提交
    • J
      Detect heap allocation failure; factor out some duplication. · c3c80a18
      Jim Meyering 提交于
      * qemud/qemud.c (tls_port, tcp_port, mdns_name, tls_allowed_ip_list):
        (tls_allowed_dn_list): Remove "const", now that we free these.
        (unix_sock_rw_mask): Rename from unix_sock_rw_perms, so that
        the latter name can be used as a local string variable, so that the
        variable name matches the config attribute name.
        (unix_sock_ro_mask): Rename from unix_sock_ro_perms, likewise.
        (remoteCheckDN, remoteCheckAccess): Adapt to const removal.
        (qemudDispatchServer): Check for heap allocation failure.
        (remoteConfigGetStringList): New function, based on code from Dan Berrangé.
        (CHECK_TYPE): Remove macro.
        (checkType): New function.
        (GET_CONF_INT, GET_CONF_STR): New macros.
        (remoteReadConfigFile): Use new macros to avoid duplication and to
        check for allocation failure.
      * src/conf.h (virConfTypeName): New static inline function.
      c3c80a18
    • R
      Thu Nov 29 17:40:00 GMT 2007 Richard W.M. Jones <rjones@redhat.com> · d63034c0
      Richard W.M. Jones 提交于
      	* configure.in: Added CYGWIN_EXTRA_LDFLAGS, CYGWIN_EXTRA_LIBADD,
      	  CYGWIN_EXTRA_PYTHON_LIBADD, CYGWIN automake conditional.
      	* src/Makefile.am: Extra flags required to build DLL of libvirt
      	  for Cygwin.
      	* python/Makefile.am: Extra flags and rule required to build
      	  Python module for Cygwin.
      d63034c0
  4. 29 11月, 2007 1 次提交
  5. 28 11月, 2007 4 次提交
  6. 27 11月, 2007 1 次提交
    • D
      * configure.in: when configuring with --prefix=/usr i.e. the same · 1338ed4f
      Daniel Veillard 提交于
        prefix as the installed libvirt, use the same localstatedir /var
        (instead of /usr/var) and sysconfdir /etc (instead of /usr/etc) to
        be able to connect to the system daemon, and use the system local
        options
      * src/xs_internal.c: avoid error message when non-root cannot open
        xenstore
      * src/xend_internal.c: avoid error message when non-root cannot
        directly access xend, in those 2 cases the proxy (or remote code)
        should implement the access so there is no need to raise the error
        there.
      Daniel
      1338ed4f
  7. 26 11月, 2007 4 次提交
  8. 22 11月, 2007 1 次提交
  9. 21 11月, 2007 2 次提交
  10. 20 11月, 2007 2 次提交
  11. 17 11月, 2007 2 次提交
  12. 16 11月, 2007 2 次提交
  13. 15 11月, 2007 3 次提交
  14. 14 11月, 2007 3 次提交
    • R
      Wed Nov 14 11:55:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com> · 3ba58f15
      Richard W.M. Jones 提交于
      	* src/stats_linux.c, src/stats_linux.h, src_xen_internal.c:
      	  Abstract out the Linux-specific statistics.  Fixed parsing
      	  of 64 bit numbers.
      	* src/Makefile.am: Updated Makefile for new files.
      3ba58f15
    • R
      Wed Nov 14 11:36:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com> · 88f28d69
      Richard W.M. Jones 提交于
      	* src/libvirt.c and all internal driver interfaces: Parse the
      	  URI only once and pass it to virDrvOpen instead of the
      	  unparsed name string.
      88f28d69
    • J
      Parse integers more carefully, cont'd. · 5d254191
      Jim Meyering 提交于
      * qemud/qemud.c: Replace uses of strtol with uses of xstrtol_i.
        Avoid overflow for very large --timeout=N values.
      * src/nodeinfo.c: In linuxNodeInfoMemPopulate and
        linuxNodeInfoCPUPopulate, use xstrtol_i rather than strtol.
        Unlike in qemud.c, here we allow trailing "isspace", and in
        the case of "cpuinfo cpu MHz", also allow a "." terminator,
        since we ignore the decimal and any following digits.
      * src/internal.h: Define xstrtol_ui, too.
      
      
      Author: Jim Meyering <meyering@redhat.com>
      5d254191
  15. 12 11月, 2007 1 次提交
    • D
      Begin fixing uses of strtol: parse integers more carefully. · a500a479
      Daniel Veillard 提交于
      Patch from Jim Meyering
      * src/internal.h: Include <errno.h>.
        Define new static inline function, xstrtol_i.
      * src/virsh.c: Detect integer overflow in domain ID number
        in vshCommandOptDomainBy. Detect overflow and invalid port
        number suffix in cmdVNCDisplay.
      * src/xend_internal.c: Parse CPU number more carefully in
        xenDaemonDomainGetVcpus.
      * tests/int-overflow: New script. Test for the above-fixed bug.
      * tests/Makefile.am: Add int-overflow to TESTS. Define
        TESTS_ENVIRONMENT, to propagate $abs_top_* variables into the
        int-overflow script. Adapt the "valgrind" rule not to clobber
        new TESTS_ENVIRONMENT.
      Daniel
      a500a479
  16. 09 11月, 2007 3 次提交
  17. 07 11月, 2007 2 次提交
  18. 06 11月, 2007 2 次提交
  19. 05 11月, 2007 1 次提交