Skip to content
Permalink
Tree: 985f75cc50
Commits on Jan 22, 2019
  1. sys/openbsd: remove mincore(2) description

    mptre authored and dvyukov committed Jan 21, 2019
    It was recently removed from OpenBSD[1].
    
    [1] https://marc.info/?l=openbsd-cvs&m=154723400730318&w=2
Commits on Jan 21, 2019
  1. pkg/host: enable FeatureComparisons on OpenBSD

    mptre authored and dvyukov committed Jan 21, 2019
Commits on Jan 20, 2019
  1. pkg/host: enable FeatureComparisons on FreeBSD

    tuexen authored and dvyukov committed Jan 20, 2019
    Same as #952, just for FreeBSD.
Commits on Jan 19, 2019
  1. sys/targets: fix shadowed flag variable

    dvyukov committed Jan 19, 2019
    env CGO_ENABLED=1 GOMAXPROCS=1 GOGC=50 gometalinter.v2 ./...
    sys/targets/targets.go:428:⚠️ declaration of "flag" shadows declaration at sys/targets/targets.go:423 (vetshadow)
  2. sys/openbsd: avoid /dev/fd node creation

    mptre authored and dvyukov committed Jan 19, 2019
    Prevent nodes that maps to an already open kcov fd from being created since
    they can corrupt the coverage buffer.
    
    Partial revert of commit 04aed72 with some
    tweaks and testing.
  3. Makefile: enable -Wunused-const-variable

    dvyukov committed Jan 19, 2019
    See discussion in PR #942.
    Extend support for optional flags in sys/targets
    as this flag is not supported by gcc 5.
    Make flags consistent across Makefile and pkg/csource.
  4. executor: unbreak on OpenBSD

    mptre authored and dvyukov committed Jan 17, 2019
    Commit b5df78d ("all: support extra coverage") broke the executor on OpenBSD:
    
      executor/executor.cc:61:11: error: unused variable 'kExtraCoverSize' [-Werror,-Wunused-const-variable]
      const int kExtraCoverSize = 256 << 10;
  5. travis: switch to ubuntu 16.04

    dvyukov committed Jan 19, 2019
    14.04 has way too old gcc.
    In particular this causes build failures like:
    https://travis-ci.org/google/syzkaller/jobs/481342304
    Switch to 16.04.
  6. sys/syz-extract: add -includedirs option

    JoeyJiao authored and dvyukov committed Jan 19, 2019
    Kernel modules are in different directories in some cases,
    so to include the headers in the module dir or other directories
    the includedirs flag is added.
    ex: -includedirs path1/include,path2/include
Commits on Jan 18, 2019
  1. syz-manager: provide config name in Stats

    tuexen authored and dvyukov committed Jan 17, 2019
Commits on Jan 17, 2019
  1. Update found_bugs.md

    dvyukov committed Jan 17, 2019
  2. kcov: some fixes for extra coverage

    xairy committed Jan 17, 2019
    Use PC tracing mode when detecting KCOV_REMOTE_ENABLE support in the kernel.
    
    Also fix kcov_remote_handle_usb argument.
  3. tools/syz-trace2syz/proggen: add support to generate structs like soc…

    shankarapailoor authored and dvyukov committed Jan 17, 2019
    …kaddr_storage_in6
    
    trace2syz has trouble generating structs like sockaddr_storage_in6 which are
    wrappers around other structs like sockaddr_in6 because strace just decodes the
    wrapped struct (sockaddr_in6). This causes trace2syz to generate the addr field
    of sockaddr_storage_in6 from the af_family field of sockaddr_in6 which triggers
    an error. We now try and detect these cases and recursively generate the struct.
  4. docs/syscall_descriptions_syntax.md: update syntax about union

    houjingyi233 authored and dvyukov committed Jan 17, 2019
    * Update syscall_descriptions_syntax.md
    
    * Update syscall_descriptions_syntax.md
    
    * Update syscall_descriptions_syntax.md
  5. executor: remove unused kvm_asm64_vm86

    dvyukov committed Jan 17, 2019
    -Wunused-const-variable shows it.
    No idea now if it should be used or not,
    seems to be the same as kvm_asm32_paged_vm86.
    So let's just remove it.
  6. Revert "sys/openbsd: avoid /dev/fd node creation"

    mptre authored and dvyukov committed Jan 17, 2019
    This reverts commit 77c702c.
    
    A proper fix has instead been committed to OpenBSD[1].
    
    [1] openbsd/src@650b9bc
Commits on Jan 16, 2019
  1. all: detect extra coverage support

    xairy committed Jan 16, 2019
    Based on whether the kernel supports KCOV_REMOTE_ENABLE ioctl.
  2. all: support extra coverage

    xairy committed Nov 22, 2018
    Right now syzkaller only supports coverage collected from the threads that
    execute syscalls. However some useful things happen in background threads,
    and it would be nice to collect coverage from those threads as well.
    
    This change adds extra coverage support to syzkaller. This coverage is not
    associated with a particular syscall, but rather with the whole program.
    Executor passes extra coverage over the same ipc mechanism to syz-fuzzer
    with syscall number set to -1. syz-fuzzer then passes this coverage to
    syz-manager with the call name "extra".
    
    This change requires the following kcov patch:
    xairy/linux#2
  3. sys/freebsd: add SCTP syscalls

    msvoelker authored and dvyukov committed Jan 16, 2019
    * sys/freebsd: Add SCTP syscalls
    
    * sys/freebsd: SCTP syscalls updated
    
    * sys/freebsd: SCTP syscalls fixed
  4. tools/syz-trace2syz/proggen: add support for open, openat, syz_open_d…

    shankarapailoor authored and dvyukov committed Jan 15, 2019
    …ev variants
    
    Add support to accurately select variants for open and openat system calls.
    This is needed because in order to accurately select ioctl variants we need
    to use device resource types. The device resource types can only be created
    by syz_open_dev and openat variants.
  5. pkg/mgrconfig: do not serialize optional fields

    dvyukov committed Jan 16, 2019
    Since we now show manager config on web page, make it leaner.
  6. syz-manager: add repo version and config link on stats page

    JoeyJiao authored and dvyukov committed Jan 16, 2019
  7. Update found_bugs.md

    dvyukov committed Jan 16, 2019
Commits on Jan 15, 2019
  1. pkg/report: more tuning for trusty reports

    dvyukov committed Jan 15, 2019
    Update #933
  2. vm/qemu: Disable VGA on ppc64le

    ajdlinux authored and dvyukov committed Dec 18, 2018
    Disable qemu VGA output on ppc64le. The current pseries console code in
    the kernel has a bunch of bugs, and if you don't disable VGA syzkaller
    won't see console output.
    
    Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
  3. vm/qemu: Enable KVM on ppc64le

    ajdlinux authored and dvyukov committed Jan 11, 2019
    ppc64le supports KVM, let's use it.
    
    This obviously won't work on an x86 host, but at present there are issues
    using syzkaller on ppc64le with qemu in TCG mode anyway.
    
    Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
  4. pkg/host: Support extracting kallsyms on ppc64le

    ajdlinux authored and dvyukov committed Jan 11, 2019
    Add a regex for syscall symbol extraction on ppc64le. ppc64le doesn't have
    any special arch prefix.
    
    Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
  5. Update found_bugs.md

    dvyukov committed Jan 15, 2019
  6. Update executing_syzkaller_programs.md

    dvyukov committed Jan 15, 2019
    -cover=0 is the default now
    -procs=16 looks too high, syzbot uses 6-8 so let's suggest 8
Commits on Jan 14, 2019
  1. Makefile: fix double $(GO) $(GO)

    dvyukov committed Jan 14, 2019
  2. sys/linux: add trusty support

    dvyukov committed Jan 10, 2019
    Add support for trusty tipc devices and several trusty app ports.
    
    Update #933
  3. sys/linux: Add syscalls to read from sockets for crypto operations

    Zubin Mithra authored and dvyukov committed Jan 10, 2019
    sockaddr_alg with salg_type as "skcipher", "aead", "hash" and "rng"
    support for reading from these sockets. Add read descriptions to
    socket_alg.txt.
  4. docs/trusty: add instructions on building trusty

    dvyukov committed Jan 14, 2019
    Update #933
  5. tools/syz-trace2syz/proggen: deleting unnecessary code in genSockaddr…

    shankarapailoor authored and dvyukov committed Jan 14, 2019
    …Storage()
    
    genSockaddrStorage() determines the correct sockaddr_storage union option when we
    cannot identify the system call variant. We used to have custom logic per system
    call which was not tested and is actually unnecessary. This patch deletes that
    code and adds a test to make sure there are no regressions.
Older
You can’t perform that action at this time.