Skip to content
Permalink
Tree: 9ca2afa12c
Commits on Oct 28, 2018
  1. sys/linux: open /dev/media* files

    dvyukov committed Oct 28, 2018
    Also remove the second syscall for opening of /dev/fd*.
  2. dashboard/config: update kernel configs

    dvyukov committed Oct 28, 2018
    Enable:
    CONFIG_BLK_DEV_FD
    CONFIG_CRYPTO_OFB
    CONFIG_VIDEO_VIMC
    CONFIG_VIDEO_VIM2M
    CONFIG_VIDEO_VIVID
    CONFIG_VIDEO_VICODEC
  3. sys/linux: slightly refine perf descriptions

    dvyukov committed Oct 28, 2018
    CPU argument can be -1.
    It makes sense to mmap perf fd.
  4. sys/syz-extract: support missing arch headers

    dvyukov committed Oct 28, 2018
    The latest Linux kernel misses some arch-specific headers on some archs:
    	asm/a.out.h
    	asm/prctl.h
    	asm/mce.h
    Support that.
  5. vm/qemu: don't use e1000 on arm64

    dvyukov committed Oct 28, 2018
    arm64 uses virtio net by default and does not support e1000.
    So don't override the default and use e1000 only for 386/amd64.
  6. pkg/report: fix guilty file extraction

    dvyukov committed Oct 28, 2018
    reportPrefixLen can become wrong after symbolization
    if we symbolize any lines in the prefix.
    Adjust reportPrefixLen during symbolization.
    
    Automatic testing of this is problematic
    because we would need to symbolize which requires
    the object file with debug info.
    Tested manually with syz-symbolize.
  7. vm/qemu: use -cpu host,migratable=off

    dvyukov committed Oct 28, 2018
    This exposes the maximum amount of features to the guest.
    migratable=off exposes features that qemu does not know about too.
  8. sys/linux: floppy interface description

    evdenis authored and dvyukov committed Jun 7, 2018
    For floppy fuzzing you need to enable:
    
    1) CONFIG_BLK_DEV_FD in your kernel configuration
    2) "cmdline": " -fda FLOPPY.img " in syzkaller configuration
    
    Signed-off-by: Denis Efremov <efremov@linux.com>
    Signed-off-by: Alexander Popov <alex.popov@linux.com>
  9. tools/create-openbsd*sh: use cdn.openbsd.org not cloudflare, install …

    blackgnezdo authored and dvyukov committed Oct 28, 2018
    …vmm-firmware
    
    * Use cdn.openbsd.org not cloudflare. Install vmm-firmware explicitly.
    
    * Use cdn.openbsd.org not cloudflare. Install vmm-firmware explicitly.
    
    * set hw.smt=1: the underlying hw on VM is unknown so don't waste SMT.
  10. Update syscall_descriptions.md

    dvyukov committed Oct 28, 2018
    Clarify that running `make clean` each time is not necessary.
Commits on Oct 27, 2018
  1. Update research.md

    dvyukov committed Oct 27, 2018
  2. Update found_bugs.md

    dvyukov committed Oct 27, 2018
Commits on Oct 23, 2018
  1. gometalinter: ignore ALL_CAPS names in sys/openbsd/init.go

    dvyukov committed Oct 23, 2018
    As we do for other OSes as they use OS constant names
    which are usually ALL_CAPS.
  2. Update found_bugs.md

    dvyukov committed Oct 23, 2018
Commits on Oct 19, 2018
  1. sys: check that target consts are defined

    dvyukov committed Oct 19, 2018
    Currently when we get target consts with target.ConstMap["name"]
    during target initialization, we just get 0 for missing consts.
    This is error-prone as we can mis-type a const, or a const may
    be undefined only on some archs (as we have common unix code
    shared between several OSes).
    Check that all the consts are actually defined.
    The check detects several violations, to fix them:
    1. move mremap to linux as it's only defined on linux
    2. move S_IFMT to openbsd, as it's only defined and used on openbsd
    3. define missing MAP_ANONYMOUS for freebsd and netbsd
    4. fix extract for netbsd
Commits on Oct 18, 2018
  1. Added kernel config options for debian stretch

    balbassam authored and dvyukov committed Oct 18, 2018
Commits on Oct 17, 2018
  1. Pass -debug flag to runsc.

    nlacasse authored and dvyukov committed Oct 17, 2018
    As of commit 3f053259, gVisor sentry panics are no longer sent to the
    stderr for "runsc run" by default, as that stderr belongs exclusively to
    the application.
    
    As a result, syzbot never sees the gVisor panic stack trace, and is only
    reporting errors that occur when waiting for a dead sandbox.
    
    Passing the "-debug" flag to runsc will make the sentry panics visible
    to syzbot again.
  2. Update configuration.md

    mogrein authored and dvyukov committed Oct 17, 2018
    VM parameters are not defined in config.go, I've found them in qemu.go instead.
    Fix for the documentation to make it easier to find all supported parameters for qemu.
Commits on Oct 16, 2018
  1. all: fix code formatting

    dvyukov committed Oct 16, 2018
    Reformat, remove debug leftovers, fix comment style.
Commits on Oct 15, 2018
  1. tools/create-gce-image.sh: create ext4 image without journalling

    dvyukov committed Oct 15, 2018
    We don't need consistent image after reboot since we always reimage.
    We know of some use cases that don't use journalling, but don't know
    of any that use journalling.
  2. sys/linux: prohibit FAN_OPEN_PERM and FAN_ACCESS_PERM

    dvyukov committed Oct 15, 2018
    FAN_OPEN_PERM and FAN_ACCESS_PERM require the program to reply to open requests.
    If that does not happen, the program will hang in an unkillable state forever.
    See the following bug for details:
    https://groups.google.com/d/msg/syzkaller-bugs/pD-vbqJu6U0/kGH30p3lBgAJ
Commits on Oct 12, 2018
  1. Android: Add simple test harness for Sandbox

    zachriggle authored and dvyukov committed Oct 11, 2018
  2. Android: Fix sandbox implementation

    zachriggle authored and dvyukov committed Oct 11, 2018
    My test harness for this code performed some steps that are not
    performed when syz-executor is invoked directy.
    
    Specifcally, we need to operate from a directory under /data/data,
    and have the correct UID/GID set as the owner of the directory.
    
    My test harness now correctly sets these, all sandbox operations
    succeed, and loop() is invoked.
  3. docs/openbsd: update found_bugs.md

    mptre authored and dvyukov committed Aug 29, 2018
Commits on Oct 11, 2018
  1. pkg/report: improve OpenBSD output parsing

    dvyukov committed Oct 11, 2018
    OpenBSD produces \n\r for new lines and split output at 79 column.
    Handle both of these things.
  2. pkg/email, pkg/vcs: test that OpenBSD-style commits are handled

    dvyukov committed Oct 11, 2018
    OpenBSD does not use "first line is title" convention,
    so test that this is parsed properly.
    Also test that multi-line fix/dup commands are properly parsed.
  3. docs/openbsd: use qcow2 disk format in setup

    mptre authored and dvyukov committed Oct 1, 2018
  4. vm/vmm: use derived disks for VMs

    mptre authored and dvyukov committed Oct 1, 2018
    As a result, the boot time is significantly improved since there's no longer any
    need to copy the complete disk.
    
    This feature was recently committed to OpenBSD-current. Any existing base image
    used must be recreated, this time using the qcow2 disk format.
  5. tools/create-openbsd*: Support post-version flip snapshots.

    blackgnezdo authored and dvyukov committed Oct 11, 2018
      * Fixed pkg_add status checking
      * Switched to qcow2 test image
      * Minor GC
Commits on Oct 10, 2018
  1. executor: Fuchsia: Use zx_task_resume_from_exception()

    sgraham authored and dvyukov committed Oct 10, 2018
    zx_task_resume() is deprecated; switch to using
    zx_task_resume_from_exception() instead.
  2. Update setup.md

    dvyukov committed Oct 10, 2018
    Update Go instructions for newer toolchain.
    GOPATH and GOROOT are now optional, and we also need to add GOPATH/bin to PATH.
  3. Update contributing.md

    dvyukov committed Oct 10, 2018
    fix formatting
  4. pkg/report: ignore arch/.*/mm/physaddr.c as guilty file

    dvyukov committed Oct 10, 2018
    This is called from kfree in the added test.
    We already ignore everything related to kmalloc/free
    and e.g. arch/.*/mm/fault.c, so it looks reasonable
    to ignore this one too.
Older
You can’t perform that action at this time.