Skip to content
Snippets Groups Projects
  1. Sep 19, 2013
    • Benoît Canet's avatar
      Test: Add a DNS resolver test · 2a1064ce
      Benoît Canet authored
      
      This regression test trigger issue #8
      "Make Java InetAddress.getHostName() work" by exercising the DNS
      resolver on localhost and a dns root server.
      
      The test takes care of specifying NI_NOFQDN to resolve only the
      hostname part of localhost ip.
      
      It appears that the DNS ip is not communicated to the libc by
      core/dhcp.cci: /etc/resolv.conf is not filled.
      
      Test contributed while waiting for an fix idea to implement.
      
      Signed-off-by: default avatarBenoit Canet <benoit@irqsave.net>
      Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
      2a1064ce
    • Pekka Enberg's avatar
      scripts/silenant.py: Fix error message if ant not found · 97cec783
      Pekka Enberg authored
      
      If Apache Ant is not found, the build fails with a cryptic error
      message:
      
        [penberg@localhost osv]$ make
          ANT tests/bench
        Traceback (most recent call last):
          File "scripts/silentant.py", line 14, in <module>
            stderr = subprocess.PIPE)
          File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
            errread, errwrite)
          File "/usr/lib64/python2.7/subprocess.py", line 1308, in _execute_child
            raise child_exception
        OSError: [Errno 2] No such file or directory
        make: *** [all] Error 1
      
      Make it more human friendly:
      
        [penberg@localhost osv]$ make
          ANT tests/bench
        Apache Ant not found. Please install the 'ant' package.
        make: *** [all] Error 1
      
      Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
      97cec783
    • Benoît Canet's avatar
      run.py: give some clues to the user when subprocess.call fail · 6def48d4
      Benoît Canet authored
      
      OSerror exceptions throwed by subprocess.call are made silent using pass.
      Fix this by properly catching the exception and pretty print it.
      
      Signed-off-by: default avatarBenoit Canet <benoit@irqsave.net>
      6def48d4
  2. Sep 18, 2013
  3. Sep 17, 2013
  4. Sep 16, 2013
  5. Sep 15, 2013
    • Or Cohen's avatar
      Replaced libvirt-fuse with zfs-fuse · bc979de7
      Or Cohen authored
      bc979de7
    • Or Cohen's avatar
      Update mgmt index to change SSH ports, removed telnet · c1ba8b15
      Or Cohen authored
      Also, fixed the Java command to forward all arguments to RunJava
      c1ba8b15
    • Nadav Har'El's avatar
      Add copyright statements in tests/ · d6b00348
      Nadav Har'El authored
      Add Cloudius copyright statements to our tests (C++ and Java code).
      d6b00348
    • Nadav Har'El's avatar
      Add copyright statements in libc/ · bec69a62
      Nadav Har'El authored
      Add Cloudius copyright statements in libc/.
      
      One unfortunate problem we have in libc/ is that most of the code there was copied
      from Musl, and Musl is copyrighted and licensed, but individual files do not carry
      any statements - Rich Felker explains in Musl's COPYRIGHT file: "The decision to
      exclude such comments is intentional, as it should be possible to carry around the
      complete source code on tiny storage media."
      
      In the future, we should find all the Musl files and add to each one the line
      Copyright (C) 2005-2013 Rich Felker. But we'll need to do it carefully so as not
      to wrongly attribute non-Musl code to Musl. In the meantime, if we just have
      documentation/LICENSE-musl, and don't claim our own copyright on the musl files,
      I think we're playing fair.
      bec69a62
    • Nadav Har'El's avatar
      Add copyright statement to files in java/ · fd038e7a
      Nadav Har'El authored
      Add Cloudius copyright statement to files in java/. All of these (one C++
      java.cc and the rest Java source code) are our own code.
      fd038e7a
    • Nadav Har'El's avatar
      Add copyright statement to files in include subdirectory · 4a134100
      Nadav Har'El authored
      Added Cloudius copyright statement to our own code in include/.
      Also added include/api/LICENSE saying that these are copied from Musl
      and public domain (according to the Musl COPYRIGHT file).
      4a134100
    • Nadav Har'El's avatar
      Add LICENSE files to the main project · e29aa259
      Nadav Har'El authored
      This patch addes a "LICENSE" file, explaining our copyright status and
      3-clause BSD license.
      
      It also includes in documentation/LICENSE-* the licenses of the four projects
      we copied code from - FreeBSD, Prex, Open Solaris and Musl. Our top-level
      LICENSE file refers to these separate LICENSE files.
      e29aa259
    • Nadav Har'El's avatar
      Add "CONTRIBUTING" file · f198bd01
      Nadav Har'El authored
      Add "CONTRIBUTING" file, with instructions based mostly on Linux's
      "Developer's Certificate of Origin 1.1" (Documentation/SendingPatches).
      f198bd01
    • Nadav Har'El's avatar
      Add copyright statement to files in fs subdirectory · bc213b60
      Nadav Har'El authored
      Added Cloudius copyright statement to source files in fs/ which are our
      own code (and not from Prex or FreeBSD). Also added our copyright statement
      in addition to the original one when I thought we made non-trivial changes
      to the original.
      bc213b60
    • Nadav Har'El's avatar
      Add copyright statement to drivers/* · c0e0ebf2
      Nadav Har'El authored
      Add Cloudius copyright and license statement to drivers/*.
      
      A couple of header files were based on Linux's BSD-licensed header files
      (e.g., include/uapi/linux/virtio_net.h) so they included the BSD license,
      but not any copyright statement, so we can just replace that by our own
      statement of the BSD license.
      c0e0ebf2
    • Nadav Har'El's avatar
      Add copyright statement to core/* · 4c0b39f3
      Nadav Har'El authored
      Added Cloudius copyright statement to core/*.
      
      poll.cc already had a BSD copyright statement, I believe this is a mistake
      (I think Guy wrote this code from scratch), but not wanting to rush to a
      conclusion I'm leaving both copyright statements and we should address this
      issue later.
      4c0b39f3
    • Nadav Har'El's avatar
      Add copyright statement to console/* · 62f3e58d
      Nadav Har'El authored
      Added copyright statement to all Javascript commands for our old CLI, in
      console/*. We should eventually remove this directory, but while it still
      exists, let's add copyright statements.
      62f3e58d
    • Nadav Har'El's avatar
      Add copyright statements in bsd/ · fe9e6a82
      Nadav Har'El authored
      Added our copyright statements to some of the files in the top bsd/
      directory, and in bsd/porting.
      
      I only added our copyright to files which were completely by us - I did
      not attempt to hunt which bsd or solaris files we modified to add our
      copyright to them, I don't think this is important (or, we can do this
      later).
      
      I also found one header file (uma_stub.h) that had large chunks copied from
      freebsd, so I added both the freebsd copyright and ours.
      fe9e6a82
    • Nadav Har'El's avatar
      Add Cloudius copyright to everything in arch/x64 · 6e918b0c
      Nadav Har'El authored
      Add Cloudius copyright to everything in arch/x64. This includes C++ code, assembly
      code, and ld scripts.
      6e918b0c
    • Nadav Har'El's avatar
      Undo destruction of loader.cc · ee8e2ce6
      Nadav Har'El authored
      Sorry, previous commit left loader.cc with only a copyright statement.
      Our copyright is important, but not *that* important!
      I'll be more careful next time...
      ee8e2ce6
    • Nadav Har'El's avatar
      Add copyright statement to code in top-level directory. · c89e6b6d
      Nadav Har'El authored
      Add copyright statement to the source files in the top-level directory (except the
      trivial dummy-shlib.cc).
      
      By the way, I don't think this code really belongs in the top-level directory.
      c89e6b6d
    • Glauber Costa's avatar
      trivial: small fixes to blkfront · 21285383
      Glauber Costa authored
      * %lu => %u when reading flush. The barrier flag had the same bug, but I
      ended up recreating it for flush.
      * Move check of xb_flags to after we check sc->flags != NULL, as spotted by
      Dima
      21285383
Loading