Skip to content
Permalink
Tree: 6a0246bf72
Commits on Aug 14, 2017
  1. prog: simplify code

    dvyukov committed Aug 14, 2017
    Result of running gofmt -s.
Commits on Aug 12, 2017
  1. sys: describe clone/execve calls

    dvyukov committed Aug 12, 2017
    Update #211
    Update #310
  2. sys: describe chroot/getcwd/chdir/fchdir

    dvyukov committed Aug 12, 2017
    Update #211
Commits on Aug 11, 2017
  1. tools/create-gce-image.sh: explicitly specify target for grub

    dvyukov committed Aug 11, 2017
    On most distributions default grub target is i386-pc, which works.
    However, on some default is x86_64-efi, which fails with:
    
    grub-install: error: cannot find EFI directory.
    
    Explicitly specify i386-pc target.
  2. .travis.yml: test with Go1.8

    dvyukov committed Aug 11, 2017
  3. dashboard/app: various improvements/fixes for email reporting

    dvyukov committed Aug 11, 2017
    Detect when we send first/non-first email for a bug.
    Detect when we send moderation/non-moderation email for a bug.
    Fix setting repro level in email reports.
    Add end-to-end email reporting tests.
Commits on Aug 10, 2017
  1. dashboard/app: fix build again

    dvyukov committed Aug 10, 2017
  2. tools/syz-benchcmp: add execution speed

    dvyukov committed Aug 10, 2017
    Exec total is affected by initial triage/minimize phase,
    so two experiments can have the same execution speed
    in the stable mode, but have constant diff due to the initial phase.
    The one that is higher looks better, but that's not very important.
    Provide execution speed characteristic that is not affected
    by initial phase. It is not displayed by default.
  3. dashboard/app: tell managers when dashboard needs a repro

    dvyukov committed Aug 10, 2017
    Managers can't decide when a repro is required.
    First, there can be bugs with seq>0.
    Second, a repro can be already obtained on another manager.
  4. dashboard/app: don't print resource for log records

    dvyukov committed Aug 10, 2017
    The resource is not informative in this case.
  5. vendor/golang.org/x/net/context/: fix fmt with Go 1.8

    dvyukov committed Aug 10, 2017
  6. dashboard/app: show syzkaller commit for crashes

    dvyukov committed Aug 10, 2017
Commits on Aug 9, 2017
  1. Update executing_syzkaller_programs.md

    dvyukov committed Aug 9, 2017
  2. pkg/repro: minimize fault injection

    dvyukov committed Aug 9, 2017
  3. pkg/repro: fix invalid options minimization

    dvyukov committed Aug 9, 2017
    Repro can generate Sandbox="namespace"/UseTmpDir=false.
    This combination is broken for two reasons:
     - on second and subsequent executions of the program,
       it fails to create syz-tmp dir
     - with Procs>1, it fails right away, because all procs
       try to create syz-tmp dir
    
    Don't generate such combination.
  4. pkg/csource, pkg/repro: filter out invalid options combinations

    dvyukov committed Aug 9, 2017
    We currently have 2 invalid options combinations:
     - collide without threads
     - procs>1 without repeat
    They are invalid in the sense that result of csource.Write
    is the same for them. Filter out these combinations.
    This cuts csource testing time in half and reduces repro minimization time.
  5. sys: commit generated files

    dvyukov committed Aug 9, 2017
  6. sys: fix typo in ETHTOOLGCHANNELS const and diagnose such cases

    dvyukov committed Aug 9, 2017
  7. sys: provide list of intersting MSRs for KVM

    dvyukov committed Aug 9, 2017
  8. prog: reuse defaultArg

    dvyukov committed Aug 9, 2017
    Reuse defaultArg in generateArg. There is code that does the same.
    Also, don't generate pointer value for output arguments.
  9. sys: fix recvmmsg signature

    dvyukov committed Aug 9, 2017
    recvmmsg has timeout argument.
  10. prog: fix restoration of default arguments

    dvyukov committed Aug 9, 2017
    Currently fails on:
     - pointers
     - VMAs
     - structs
     - fixed-size structs
  11. pkg/log: fix tests with -count>0

    dvyukov committed Aug 9, 2017
Commits on Aug 8, 2017
  1. prog: reduce the "uber-mmap" size

    ramosian-glider authored and dvyukov committed Aug 8, 2017
    During minimization we create a single memory mapping that contains all
    the smaller mmap() ranges, so that other mmap() calls can be dropped.
    This "uber-mmap" used to start at 0x7f0000000000 regardless of where the
    smaller mappings were located. Change its starting address to the
    beginning of the first small mmap() range.
  2. dashboard/app: fix build

    dvyukov committed Aug 8, 2017
  3. dashboard/app: output more info about crashes

    dvyukov committed Aug 8, 2017
  4. executor: sandbox with RLIMIT_MEMLOCK

    dvyukov committed Aug 8, 2017
    Locking memory is a reasonably legitimate local DoS vector.
    E.g. bpf maps allow allocation of large chunks of kernel memory
    without RLIMIT_MEMLOCK, which leads to hangups.
    Set RLIMIT_MEMLOCK=8MB in executor.
  5. vm/gce: work around GCE console bug

    dvyukov committed Aug 8, 2017
    Sometimes connects to serial console spuriously fail with:
    Permission denied (publickey)
  6. vendor: update all packages

    dvyukov committed Aug 8, 2017
    google.golang.org/api/compute/v0.beta again changed public interfaces
    which causes breakages in other build environments.
    Update everything to HEAD.
  7. .travis.yml: use go1.9rc1 since aliases trip gofmt for vendored code

    odeke-em authored and dvyukov committed Aug 8, 2017
    For golang/go#21337.
    
    Since the introduction of aliases is in Go1.9 but Go1.9 hasn't
    yet been officially released, let's use go1.9rc1 which is supported
    on Travis CI by their Go version getter gimme
    https://github.com/travis-ci/gimme
    instead of against go1.8.1. This solves the problem on which
    our vendored code is updated using Go1.9* syntax but is running
    against Go1.8* in Travis CI tests.
Commits on Aug 7, 2017
  1. syz-manager: don't ask for repros if reproducing is not enabled

    dvyukov committed Aug 7, 2017
  2. syz-manager: don't save/send to dashboard repros from hub

    dvyukov committed Aug 7, 2017
  3. syz-manager: send more info with repros

    dvyukov committed Aug 7, 2017
    Leave at least some traces of the original crash
    when sending repros to hub.
  4. syz-manager, syz-hub: share repros between managers via hub

    dvyukov committed Aug 6, 2017
    Currently hub allows managers to exchange programs from corpus.
    But reproducers are not exchanged and we don't know if a crash
    happens on other managers as well or not.
    
    Allow hub to exchange reproducers.
    
    Reproducers are stored in a separate db file with own sequence numbers.
    This allows to throttle distribution of reproducers to managers,
    so that they are not overloaded with reproducers and don't lose them on restarts.
    
    Based on patch by Andrey Konovalov:
    #325
    
    Fixes #282
  5. sys: improve ipv6 descriptions

    dvyukov committed Aug 6, 2017
    1. Use proc type for fragment identifiers.
    2. Remove dups from ipv6_types.
    3. Fix ipv6_fragment_ext_header layout.
Older
You can’t perform that action at this time.