Skip to content
Permalink
Tree: 764b42c46b
Commits on Dec 5, 2018
  1. pkg/csource: exclude linux/arm64 tests

    dvyukov committed Dec 5, 2018
    I think I misinterpreted the error that episodically happens on ci:
    
    collect2: error: ld terminated with signal 11 [Segmentation fault], core dumped
    compiler invocation: aarch64-linux-gnu-gcc [-Wall -Werror -O1 -g -o /tmp/syz-executor570589071 -pthread -DGOOS_linux=1 -DGOARCH_arm64=1 -x c - -static]
    
    as OOM, but they all involve aarch64-linux-gnu-gcc:
    
    https://travis-ci.org/google/syzkaller/jobs/461827347
    https://travis-ci.org/google/syzkaller/jobs/460226110
    https://travis-ci.org/google/syzkaller/jobs/463564291
    
    So I guess the problem can be with the arm64 toolchain that just crashes randomly.
  2. sys/freebsd: remove linux specific include files for ICMP

    tuexen authored and dvyukov committed Dec 5, 2018
  3. sys/freebsd: improve TCP tests

    tuexen authored and dvyukov committed Dec 5, 2018
    * sys/freebsd: improve TCP tests
    
    Add missing TCP socket options for FreeBSD.
    
    * sys/freebsd: improve TCP tests
    
    Add socket option description for TCP_FASTOPEN.
Commits on Dec 4, 2018
  1. sys/freebsd: improve udp tests

    tuexen authored and dvyukov committed Dec 4, 2018
    Add support for the UDP_ENCAP. Add required includes and
    remove the Linux specific ones.
  2. sys: remove socketpair for AF_INET and AF_INET6

    tuexen authored and dvyukov committed Dec 4, 2018
    * OpebBSD: remove socketpair() for AF_INET and AF_INET6.
    
    socketpair() is only supported on AF_UNIX.
    
    * NetBSD: remove socketpair() for AF_INET and AF_INET6.
    
    socketpair() is only supported for AF_UNIX.
    
    * FreeBSD: remove socketpair() for AF_INET and AF_INET6.
    
    socketpair() only supports AF_UNIX.
    
    * Linux: remove socketpair for AF_INET and AF_INET6.
    
    socketpair only supports AF_UNIX.
    
    * Autogenerated files.
    
    These are manually generated for all platforms you are not
    running on. FreeBSD in this case.
    
    * executor: rebase.
    
    * sys/freebsd: rebase.
    
    * sys/linux: use AF_UNIX based socketpair for nbd.
    
    This was suggested by Dmitry.
    
    Fixes #845
  3. tools/create-openbsd-vmm-worker.sh: shut off pagination in ddb

    blackgnezdo authored and dvyukov committed Dec 4, 2018
Commits on Dec 3, 2018
  1. sys/freebsd: add UDP-Lite descriptions

    tuexen authored and dvyukov committed Dec 3, 2018
  2. pkg/csource: reduce short tests

    dvyukov committed Dec 3, 2018
    pkg/csource test gets OOM-killed on travis:
    https://travis-ci.org/google/syzkaller/jobs/461827347
    https://travis-ci.org/google/syzkaller/jobs/460226110
    
    Add several measures:
     - set GOMAXPROCS=1 to restrict parallel processes
     - remove -g from compiler invocation
     - reduce set of tests run in short mode to compensate for GOMAXPROCS=1
     - also reduce set of tests in full mode as they timeout now
  3. Makefile: constrain gometalinter memory usage

    dvyukov committed Dec 3, 2018
    gometalinter gets OOM-killed on travis:
    https://travis-ci.org/google/syzkaller/jobs/462546388
    
    I've run 4 experiments locally and this combination
    seems to make memory usage slightly better:
    
    GOGC=50 GOMAXPROCS=1 TIME="%e %M" time gometalinter.v2 ./...
    114.35 8274556
    122.54 8293580
    117.85 8349960
    
    GOGC=50 GOMAXPROCS=1 TIME="%e %M" time gometalinter.v2 ./...
    147.45 7512512
    150.13 6820408
    149.26 7909636
    
    GOGC=100 GOMAXPROCS=2 TIME="%e %M" time gometalinter.v2 ./...
    109.73 8332476
    114.91 8563776
    114.54 8478368
    
    GOGC=50 GOMAXPROCS=2 TIME="%e %M" time gometalinter.v2 ./...
    145.43 6726144
    147.40 8247952
    155.56 7815656
  4. docs: update contributing.md

    dvyukov committed Dec 3, 2018
    Clarify commit description guidelines.
  5. sys/targets: use g++ as preprocessor on freebsd

    dvyukov committed Dec 3, 2018
Commits on Dec 2, 2018
  1. vm/gce: close old consolew in Run

    dvyukov committed Dec 2, 2018
    Run can be executed several times on a VM.
  2. vm/gce: use openbsd console diagnostic code for both vmm and gce

    blackgnezdo authored and dvyukov committed Dec 2, 2018
    * openbsd: use console diagnostic code for both vmm and gce.
    
    * gometalinter wants less indentation and more stuff in scope
    
    * Comment no longer applies
  3. docs/openbsd: update found_bugs.md

    mptre authored and dvyukov committed Nov 20, 2018
  4. pkg/csource: use defines from sys/syscall.h on *bsd

    blackgnezdo authored and dvyukov committed Dec 2, 2018
    Fixes #841
  5. tools: set openbsd hostname to instance name for serviceability

    blackgnezdo authored and dvyukov committed Dec 2, 2018
    * openbsd images: set hostname to instance name for serviceability
    
    * openbsd startup scripts insist on EOL characters
Commits on Dec 1, 2018
  1. executor: add support for tap interfaces on FreeBSD

    tuexen authored and dvyukov committed Dec 1, 2018
Commits on Nov 30, 2018
  1. openbsd: repair pkg/csource_test

    blackgnezdo authored and dvyukov committed Nov 30, 2018
  2. pkg/report: suppress another gvisor OOM

    dvyukov committed Nov 30, 2018
  3. vm/qemu: improve debug output

    tuexen authored and dvyukov committed Nov 30, 2018
    * vm/qemu: Improve debug output.
    
    When running in debug mode, the number of VMs is reduced to 1.
    State this in the debug output.
    
    * vm/qemu: Don't start debug output with a capital letter.
    
    As requested by Dimitry.
    
    * vm: Provide debug message when reduing number of VMs.
    
    Apply this change to all affected platforms for consistency.
    Suggested by Dmitry.
    
    * Add myself to AUTHORS/CONTRIBUTORS files.
    
    * vm: Fix compilation issues missed in earlier commit.
    
    * vm: Use logging to write debug message.
  4. removing trace2syz constants and moving rand_addr as the first ipv4_a…

    shankarapailoor authored and dvyukov committed Nov 27, 2018
    …ddr option
  5. FreeBSD: Fix make extract

    tuexen authored and dvyukov committed Nov 30, 2018
    * FreeBSD: Fix make extract.
    
    A header was missing...
    
    * FreeBSD: Fix make extract
    
    Changes in generated files.
  6. executor: Use correct macros.

    tuexen authored and dvyukov committed Nov 30, 2018
    Suggested by Dmitry Vyukov.
  7. executor: Fix compilation on FreeBSD.

    tuexen authored and dvyukov committed Nov 30, 2018
    This is an autogenerated file, but it seem that changes to it
    resulting from changes in executor/common_bsd.h must also be
    committed.
    e
  8. Whitespace change.

    tuexen authored and dvyukov committed Nov 30, 2018
  9. executor: Fix compilation on FreeBSD

    tuexen authored and dvyukov committed Nov 30, 2018
    Fix the compilation on FreeBSD when not supporting the tun
    interface.
  10. vm/qemu: Allow empty qemu-args.

    tuexen authored and dvyukov committed Nov 30, 2018
    Allow setting qemu_args to "" in the config file. This is needed
    when running qemu from the qemu-devel package on FreeBSD, which
    does not support the -enable-kvm option.
    Without this patch, an entry "" is added to the list of command
    line parameters, which breaks the starting of the qemu instances.
Commits on Nov 29, 2018
  1. sys/fuchsia: fix task syscalls.

    mvanotti authored and dvyukov committed Nov 28, 2018
    This commit fixes two issues related to the task syscalls.
    
    The zx_task_resume syscall has been recently removed from zircon[0]. It
    has been deprecated for some time already. This commit removes the
    syscall.
    
    The `ZX_EXCEPTION_PORT_UNBIND_QUIETLY` option for the syscall
    `zx_task_bind_exception_port` has been removed recently as well[1]. This
    commit removes that option from tasks.txt.
    
    To test this change, I followed the procedure for building syzkaller for
    fuchsia:
    
    ```shell
    $ make extract TARGETOS=fuchsia SOURCEDIR=${FUCHSIADIR}
    $ make generate
    $ make TARGETOS=fuchsia TARGETARCH=amd64 SOURCEDIR=${FUCHSIADIR}
    ```
    
    I excluded the changes from make extract. This commit only has the
    generated files from make generate.
    
    [0]: https://fuchsia-review.googlesource.com/c/zircon/+/228712
    [1]: https://fuchsia-review.googlesource.com/c/zircon/+/228658
Commits on Nov 27, 2018
  1. tools/create-openbsd-gce-ci.sh: simplification due to workers on GCE

    Greg Steuck authored and dvyukov committed Nov 25, 2018
  2. prog: prevent sandbox escaping files from entering s.files

    blackgnezdo authored and dvyukov committed Nov 27, 2018
  3. openbsd: run on gce

    blackgnezdo authored and dvyukov committed Nov 27, 2018
    * build/openbsd: minor cleanup (use tuples instead of maps)
    
    * Grammar nits in comments.
    
    * Simplify openbsd.Create, will defer when there's more than one error exit.
    
    * pkg/build: Support copying kernel into GCE image
    
    * Simple test for openbsd image copy build.
    
    * Cleanup in case something failed before.
    
    * Support multi-processor VMs on GCE.
    
    * More debug
    
    * Reformat
    
    * OpenBSD gce image needs to be raw.
    
    * GC
    
    * Force format to GNU directly on Go 1.10 or newer.
    
    * Use vmType passed as a parameter inside openbsd.go
    
    * gofmt
    
    * more fmt
    
    * Can't use GENERIC.mp just yet.
    
    * capitalize
    
    * Copyright
Commits on Nov 26, 2018
  1. Update found_bugs.md

    dvyukov committed Nov 26, 2018
Commits on Nov 25, 2018
  1. reordering unions for trace2syz

    shankarapailoor authored and dvyukov committed Nov 24, 2018
Commits on Nov 24, 2018
  1. removing trace2syz constants

    shankarapailoor authored and dvyukov committed Nov 23, 2018
Commits on Nov 23, 2018
  1. dashboard/app: purge old repros

    dvyukov committed Nov 23, 2018
    We have some bugs with insane amount of repros.
    So many that new crashes don't show up on dashboard at all.
    Purge old repros too. There is no need to keep more than 40.
Older
You can’t perform that action at this time.