Skip to content
Permalink
Tree: 2dc4378f02
Commits on Aug 19, 2018
  1. prog: don't add fallback signal after seccomp

    dvyukov committed Aug 19, 2018
    seccomp filter can produce arbitrary errno values for subsequent syscalls.
    Don't trust anything afterwards.
  2. pkg/build: update gvisor race build process

    dvyukov committed Aug 19, 2018
    Use separate target as this is something that can be upstreamed.
Commits on Aug 18, 2018
  1. executor: fix gcc warnings in fuchsia generated code

    dvyukov committed Aug 18, 2018
    gcc complains about function declarations not being prototypes,
    signed/unsigned cast mismatch and casts between incompatible functions.
    Fix them.
  2. pkg/vcs: use garnet instead of topaz layer for fuchsia

    dvyukov committed Aug 18, 2018
    Topaz contains end user applications that are not interesting for us
    and only increase build time. The applications also consume lots of memory,
    so switching to garnet should leave more memory for the fuzzer
    (maybe eliminate some OOMs).
  3. vm/vmm: support for vmm found on OpenBSD (#678)

    mptre authored and dvyukov committed Aug 18, 2018
    vm/vmm: add vmm implementation found on OpenBSD
Commits on Aug 17, 2018
  1. sys/fuchsia: semi-automatically generated FIDL launcher description

    dokyungs authored and dvyukov committed Aug 16, 2018
  2. [fuchsia] Change QEMU args to use multiboot shim.

    flowerhack authored and dvyukov committed Aug 15, 2018
  3. [doc] Update contributing instructions.

    flowerhack authored and dvyukov committed Aug 17, 2018
    Details how to run tests and how to work around gofmt bug.
Commits on Aug 14, 2018
  1. sys/linux: add uinput support

    dvyukov committed Aug 14, 2018
  2. sys/linux: add uhid support

    dvyukov committed Aug 14, 2018
  3. pkg/build: build asan-ified fuchsia

    dvyukov committed Aug 14, 2018
    Building with asan is useful to detect any bugs in C/C++ services.
Commits on Aug 10, 2018
  1. pkg/compiler: prohibit subargs

    dvyukov committed Aug 10, 2018
  2. dashboard/config: enable KMSAN in KMSAN config

    dvyukov committed Aug 10, 2018
    Somehow it ended up being turned off.
Commits on Aug 9, 2018
  1. executor: fix FS_XFLAG_IMMUTABLE for 32-bit mode

    dvyukov committed Aug 9, 2018
    FS_IOC_FSSETXATTR is not supported in compat mode, use FS_IOC_SETFLAGS instead.
  2. pkg/csource: fix 32-bit syscall calls

    dvyukov committed Aug 9, 2018
    syscall accepts args as ellipsis, resources are uint64
    and take 2 slots without the cast, which is wrong.
    Cast resources to long when passing to syscall.
  3. executor: fix cgroups

    dvyukov committed Aug 9, 2018
    1. Create per-proc cgroup in executor.
    2. Setup cgroups after chdir into test dir
       (it assumes relative paths against test dir).
    3. Add test.
  4. executor: mount binfmt_mist

    dvyukov committed Aug 9, 2018
    We forgot to mount binfmt_misc. Mount it. Add a test.
    Increase per-call timeout, otherwise last execve timesout.
    Fix csource waiting for call completion at the end of program.
  5. executor: clean up immutable dirs

    dvyukov committed Aug 8, 2018
    Turns out dirs can be immutable too.
    
    Update #650
  6. executor: remove unnecessary hooks on fuchsia

    dvyukov committed Aug 8, 2018
    These are not needed now.
Commits on Aug 8, 2018
  1. sys/fuchsia: add syscall description for binding channels to Launcher

    dokyungs authored and dvyukov committed Aug 3, 2018
  2. executor: manually define struct fsxattr

    dvyukov committed Aug 8, 2018
    It should be in <linux/fs.h> but is not there on some distros/arches as expected.
    
    Travis build fails with:
    
          		<stdin>: In function ‘remove_dir’:
            		<stdin>:152:13: error: variable ‘attr’ has initializer but incomplete type
            		<stdin>:152:13: error: excess elements in struct initializer [-Werror]
            		<stdin>:152:13: error: (near initialization for ‘attr’) [-Werror]
            		<stdin>:152:21: error: storage size of ‘attr’ isn’t known
            		<stdin>:153:20: error: ‘FS_IOC_FSSETXATTR’ undeclared (first use in this function)
            		<stdin>:153:20: note: each undeclared identifier is reported only once for each function it appears in
            		<stdin>:152:21: error: unused variable ‘attr’ [-Werror=unused-variable]
            		cc1: all warnings being treated as errors
    
    https://travis-ci.org/google/syzkaller/jobs/413574080
  3. executor: clean up immutable files

    dvyukov committed Aug 8, 2018
    Fixes #650
  4. pkg/runtest: assorted improvements

    dvyukov committed Aug 8, 2018
    Support checking "blocked"/"unfinished" flags for calls.
    Support test constanints, e.g. "requires: threaded" or "requires: -sandbox=setuid".
    Some improvements in tools/syz-runtest.
    
    Update #603
  5. pkg/csource: don't do checkpoint/reset net with setuid sandbox

    dvyukov committed Aug 8, 2018
    Missing part of
    "executor: don't checkpoint/reset net namespace with setuid sandbox"
  6. prog: collect all prog comments

    dvyukov committed Aug 8, 2018
    Parse and collect and prog comments.
    Will be needed for runtest annotations
    (e.g. "requires threaded mode", etc).
  7. executor: remap cover fd's to higher values

    dvyukov committed Aug 8, 2018
    Remap cover fd's to 24x range to prevent interference
    with fd's used during fuzzing and also to make
    fd number consistent with/without cover enabled.
  8. executor: don't checkpoint/reset net namespace with setuid sandbox

    dvyukov committed Aug 8, 2018
    After setuid the process won't have rights to reset net namespace,
    but it should not be able to change it during fuzzing too.
    So just skip that part.
  9. executor: checkpoint net namespace in the right namespace

    dpa-g authored and dvyukov committed Aug 3, 2018
    With checkpoint_net_namespace moved to setup_common,
    and Android fuzzing session terminates prematurely due to
    ipv4_tables not being initialized at this time.
    Moving the call back to loop fixes this behavior.
Commits on Aug 5, 2018
  1. executor: check write return value

    dvyukov committed Aug 5, 2018
    gcc complains:
    
    error: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Werror=unused-result]
    
    Also fix includes.
Commits on Aug 4, 2018
  1. syz-manager: fix number of syscalls in web ui

    dvyukov committed Aug 4, 2018
  2. executor: abort fuse connection

    dvyukov committed Aug 4, 2018
    If the test process is not dying after 100ms,
    abort all fuse connections in the system.
    This gets rid at least of simple fuse deadlocks,
    let's see how well this works in all cases.
Older
You can’t perform that action at this time.