Skip to content
Permalink
Tree: 2064fc5c91
Commits on Jun 23, 2018
  1. sys/linux: add 2 custom uids

    dvyukov committed Jun 23, 2018
    Give fuzzer 2 custom uids to mess with.
    Ideally these should be proc, we can't do this for resources.
  2. sys/linux: fix /dev/urandom descriptions

    dvyukov committed Jun 23, 2018
    Don't use pseudo syscall without a reason.
    Remove duplicate syscall.
  3. pkg/build: support gvisor race binaries

    dvyukov committed Jun 23, 2018
  4. pkg/ipc: add fallback signal only if normal signal is not enabled

    dvyukov committed Jun 23, 2018
    It's possible to get no signal from normal coverage due to dedup,
    in that case we don't want to add fallback coverage
    because it can lead to corpus bloat.
Commits on Jun 22, 2018
  1. vm/gvisor: fix empty runsc_args

    dvyukov committed Jun 22, 2018
  2. syz-fuzzer: prevent not output crashes during machine checking

    dvyukov committed Jun 22, 2018
    Machine checking can be very slow on some machines
    (qemu without kvm, KMEMLEAK linux, etc),
    so print periodic heartbeats for vm.MonitorExecution
    so that it does not decide that we are dead.
  3. vm/gvisor: always give vm all caps

    dvyukov committed Jun 22, 2018
    runsc can crash on nil deref without any caps.
    So give all of them all the time.
  4. pkg/build: save kernel config for gvisor

    dvyukov committed Jun 22, 2018
    gvisor does not use it, but save it verbatim.
    This can be useful to keep some additional description of the build.
  5. vm/gvisor: use timeout for all runsc invocations

    dvyukov committed Jun 22, 2018
    runsc likes to hang dead. Add timeouts to all invocations.
  6. pkg/build: add gvisor support

    dvyukov committed Jun 21, 2018
  7. syz-fuzzer: panic less

    dvyukov committed Jun 22, 2018
    Use log.Fatalf with readable messages instead of panic's.
  8. pkg/build: pave way for multi-OS support

    dvyukov committed Jun 21, 2018
    Unify kernel and image build, that distinction is really uninteresting.
    Define interface that each OS needs to implement.
    Add gvisor stub.
  9. pkg/build: move from pkg/kernel

    dvyukov committed Jun 21, 2018
    Rename pkg/kernel to pkg/build and prepare for multi-OS support.
  10. pkg/report: allow to specify suppressions per OS

    dvyukov committed Jun 21, 2018
    Currently all (linux-specific) suppressions are hardcoded in mgrconfig.
    This is very wrong. Move them to pkg/report and allow to specify per OS.
    Add gvisor-specific suppressions.
    This required a bit of refactoring. Introduce mgrconfig.KernelObj finally.
    Make report.NewReporter and vm.Create accept mgrconfig directly
    instead of passing it as multiple scattered args.
    Remove tools/syz-parse and it always did the same as tools/syz-symbolize.
    Simplify global vars in syz-manager/cover.go.
    Create reporter eagerly in manager. Use sort.Slice more.
    Overall -90 lines removed.
  11. executor: rework fallback coverage

    dvyukov committed Jun 21, 2018
    We have fallback coverage implmentation for freebsd.
    1. It's broken after some recent changes.
    2. We need it for fuchsia, windows, akaros, linux too.
    3. It's painful to work with C code.
    
    Move fallback coverage to ipc package,
    fix it and provide for all OSes.
  12. vm/gvisor: add package

    dvyukov committed Jun 20, 2018
    gvisor package provides support for gVisor, user-space kernel, testing.
    See https://github.com/google/gvisor
  13. pkg/report: move title sanitization from linux to common code

    dvyukov committed Jun 20, 2018
    Stripping dynamic data (addresses, numbers) is required for all OSes.
    Move this code from linux to common code.
  14. syz-fuzzer: use single connection to manager

    dvyukov committed Jun 20, 2018
    This will simplify gvisor support as it's somewhat problematic
    to proxy multiple connections between host and guest.
  15. vm/vmimpl: add vm.Diagnose method

    dvyukov committed Jun 20, 2018
    Diagnose is called on machine hang to try to get
    some additional diagnostic information from it.
    For now it's all stubs.
  16. pkg/report: pass vm type to NewReporter

    dvyukov committed Jun 20, 2018
    For the case when VM type affects output.
    Will be needed for gvisor. It is kinda linux, but kinda not.
  17. vm: pass instance to MonitorExecution

    dvyukov committed Jun 20, 2018
    It may need it later to try to obtain additional
    diagnostic from hanged instances.
  18. executor: handle case when AF_INET is not enabled

    dvyukov committed Jun 20, 2018
    No AF_INET is somewhat crazy, but why not.
Commits on Jun 19, 2018
  1. pkg/host: fix race in test

    dvyukov committed Jun 19, 2018
  2. dashboard/app: fix table sorting on firefox

    dvyukov committed Jun 19, 2018
    Under Firefox 60 browser, sort operation does not work and
    
      ReferenceError: event is not defined
    
    error message is printed in the Web Console window.
    Let's explicitly pass an object reference to the sortTable function.
    
    Credit goes to Tetsuo Handa.
  3. sys/linux: regenerate consts

    dvyukov committed Jun 19, 2018
  4. sys/linux: additional scsi_ioctls of sg device

    evdenis authored and dvyukov committed Jun 18, 2018
    Add previously skipped SCSI_IOCTL_* ioctls in
    the sg rule.
    
    Signed-off-by: Denis Efremov <efremov@linux.com>
Commits on Jun 18, 2018
  1. syz-manager: fix race during reporter init

    dvyukov committed Jun 18, 2018
Older
You can’t perform that action at this time.