Skip to content
Tree: 19e9088bb7
Commits on Sep 13, 2018
  1. syz-ci: use gmake instead of make on openbsd

    dvyukov committed Sep 13, 2018
    Update #712
  2. sys/linux: prohibit EXT4_IOC_SHUTDOWN

    dvyukov committed Sep 13, 2018
    EXT4_IOC_SHUTDOWN EXT4_IOC_SHUTDOWN on root fs effectively brings the machine down in weird ways.
  3. pkg/report: improve KMSAN report parsing

    dvyukov committed Sep 13, 2018
    Extract guilty frame from stack.
    Add few more ignored functions.
    Add more tests.
Commits on Sep 12, 2018
  1. sys/fuchsia: generate descriptions for garnet services

    dokyungs authored and dvyukov committed Sep 11, 2018
Commits on Sep 11, 2018
  1. sys/linux: add btf descriptions

    dvyukov committed Sep 11, 2018
    Add some new bpf descriptions, most notably btf.
    Not perfect, but something.
  2. pkg/instance: support injected boot for vmm

    dvyukov committed Sep 11, 2018
    If pkg/build produces a kernel, inject it into vmm config too.
    This will allow continuous build with vmm VM type.
    Update #712
  3. syz-ci: de-hardcode kernel object file names

    dvyukov committed Sep 11, 2018
    We used to have this list in syz-ci and syz-managers.
    Now we have kernel object in sys/targets, so use it instead.
    Update #712
  4. syz-ci: de-hardcode list of VMs that support overcommit

    dvyukov committed Sep 11, 2018
    We currently have this list in multiple places (somewhat diverged).
    Specify this "overcommit" property in VM implementations.
    In particular, we also want to allow overcommit for "vmm" type.
    Update #712
  5. pkg/vcs: add openbsd support

    dvyukov committed Sep 11, 2018
    This just says that we want to use git to checkout OpenBSD
    without any special/complex features.
    Update #712
  6. sys/fuchsia: regerenate files

    dvyukov committed Sep 11, 2018
    Regerenate files after the previous commit.
  7. sys/fuchsia: prune unused structs in syscall description generated by…

    dokyungs authored and dvyukov committed Sep 6, 2018
    … fidlgen
    After generating syscall description for fidl files using fidlgen, prune
    all unused structs using the exact same mechanism used by the compiler's
    check for unused structs. This allows the FIDL compiler to support
    modular compilation; it does not need to have global knowledge of
    whether each struct is used or not.
  8. executor: reset oom_score_adj for test process

    dvyukov committed Sep 11, 2018
    oom_score_adj is inherited, so we need to reset it to 0.
  9. dashboard/app: allow some cross-reporting dups

    dvyukov committed Sep 11, 2018
    Allow a special case of cross-reporting duping:
    rom last but one reporting to the last one (which is stable, final destination)
    provided that these two reportings have the same access level and type.
    The rest of the combinations can lead to surprising states and
    information hiding, so we still don't allow them.
    Fixes #569
  10. Add Tobin to CONTRIBUTORS

    tcharding authored and dvyukov committed Sep 11, 2018
    Prior to raising first PR add 'Tobin Harding' to CONTRIBUTORS as directed by
    Signed-off-by: Tobin C. Harding <>
  11. docs: Use 'stretch' in ssh command

    tcharding authored and dvyukov committed Sep 11, 2018
    Recently Debian image was updated to be 'stretch' from 'wheezy'.  The
    ssh command got missed.
    Update the ssh command to use 'stretch' instead of 'wheezy'.
    Signed-off-by: Tobin C. Harding <>
Commits on Sep 10, 2018
  1. tools/ image for build machine

    blackgnezdo authored and dvyukov committed Sep 10, 2018
    Mostly derived from Go buildlet generator with blessing from bradfitz@.
    Update #712
  2. executor: sandbox with memory/pid cgroups

    dvyukov committed Sep 10, 2018
    Set limit of 32 pids and 200MB per test process.
    This should prevent things like fork bombs and frequent OOMs.
    Fixes #589
  3. pkg/report: improve rcu stall/lockup reports

    dvyukov committed Sep 9, 2018
    During rcu stalls and cpu lockups kernel loops in some part of code,
    usually across several functions. When the stall is detected, traceback
    points to a random stack within the looping code. We generally take
    the top function in the stack (with few exceptions) as the bug identity.
    As the result stalls with the same root would produce multiple reports
    in different functions, which is bad.
    Instead we identify a representative function deeper in the stack.
    For most syscalls it can be the syscall entry function (e.g. SyS_timer_create).
    However, for highly discriminated functions syscalls like ioctl/read/write/connect
    we take the previous function (e.g. for connect the one that points to exact
    protocol, or for ioctl the one that is related to the device).
    Fixes #710
  4. tools/ disable ftrace_dump_on_oops

    dvyukov committed Sep 10, 2018
    We don't have anything useful there.
    But sometimes fuzzer somehow poppulates it with some nonsense,
    and then it all dumped in crashes.
    Disable it.
Commits on Sep 8, 2018
  1. dashboard/app: show managers according to access level

    dvyukov committed Sep 8, 2018
    It is useful to show some info about managers,
    in particular failed builds.
Commits on Sep 7, 2018
  1. tools/ auto-detect block device type

    dvyukov committed Sep 7, 2018
    Currently we choose block device to use (nbd/loop) based on SYZ_VM_TYPE.
    Strictly saying these things are orthogonal.
    losetup is broken on Ubuntu. qemu-nbd is broken on Debian.
    Try to auto-detect what will work based on uname.
  2. dashboard/config: enable more things in linux config

    dvyukov committed Sep 7, 2018
    Enable configs that are enabled in android/chromeos.
Commits on Sep 6, 2018
  1. sys/fuchsia: add Go script that generates fidl descriptions

    dokyungs authored and dvyukov committed Sep 5, 2018
  2. dashboard/config: add smack support

    dvyukov committed Sep 6, 2018
  3. syz-ci: allow manager http address auto-assignment

    dvyukov committed Sep 6, 2018
    Manually assigning http addresses is tedious and error-prone.
  4. pkg/runtest: fixes for fuchsia

    dvyukov committed Sep 6, 2018
    Add simple fuchsia program, the one that is run during image testing.
    Fix csource errno printing for fuchsia.
    Fix creation of executable files (chmod is not implemented on fuchsia).
    Check that we get signal/coverage from all syscalls.
Commits on Sep 5, 2018
  1. tools: update to Debian stretch

    kees authored and dvyukov committed Sep 4, 2018
    This updates the image creation tool to use Debian stretch (current stable)
    instead of wheezy, which is very out of date. The only change needed here
    was a hint to systemd to make the root filesystem read-write after booting.
    Documentation has also been updated.
  2. dashboard/app: allow renaming/bucketing bugs

    dvyukov committed Sep 5, 2018
    Add config hooks that can be used to rename/bucket bugs.
    Fixes #677
  3. dashboard/config: re-enable selinux

    dvyukov committed Sep 5, 2018
    Upstream "selinux: fix mounting of cgroup2 under older policies"
    commit fixes mounting of cgroup2 under wheezy selinux policy.
    So don't disable selinux on start.
    Create separate cmdline arguments that enable selinux and apparmor.
  4. Revert "Makefile: Enable working with symlinked directories"

    dvyukov committed Sep 5, 2018
    This reverts commit 7ce4cd3.
    This breaks syzbot as it executes "cd " which gets it into
    a completely unrelated dir and then it tries to format
    everything there as Go code.
  5. Modify name of private key file as id_rsa does not exist in the context

    mudongliang authored and dvyukov committed Sep 5, 2018
Commits on Sep 4, 2018
  1. syz-ci: wait for current builds before stopping managers

    dvyukov committed Sep 4, 2018
    If update comes in the middle of a long build (bisection),
    we will stop all other managers prematurely (bisection can take a day).
    So wait for current builds to finish before starting shutdown.
    Update #501
  2. pkg/report: refine fuchsia function name regexp

    dvyukov committed Sep 2, 2018
    C++ function names can contain '~'.
Commits on Sep 3, 2018
  1. Update

    dvyukov committed Sep 3, 2018
    clarify KMSAN testing instructions
You can’t perform that action at this time.