1. 28 6月, 2023 3 次提交
  2. 26 6月, 2023 2 次提交
  3. 21 6月, 2023 1 次提交
    • K
      executor: include missing linux/falloc.h · 79782afc
      Khem Raj 提交于
      Its needed for FALLOC_FL_ZERO_RANGE which needs this header, it works
      with glibc because fcntl.h includes this header indirectly, however the
      failure comes to fore with musl C library where this header is not
      included indirectly by other system headers, therefore include it as
      required.
      
      Fixes
      In file included from executor/common.h:505:
      executor/common_linux.h:5604:16: error: use of undeclared identifier 'FALLOC_FL_ZERO_RANGE'
              fallocate(fd, FALLOC_FL_ZERO_RANGE, 0, SWAP_FILE_SIZE);
                            ^
      79782afc
  4. 20 6月, 2023 1 次提交
  5. 19 6月, 2023 4 次提交
  6. 16 6月, 2023 2 次提交
    • L
      pkg/vcs: force git branch checkout · f3921d4d
      Liz Prucka 提交于
      We are currently seeing errors that there are "untracked working
      tree files which would be overrwritten by checkout".
      
      This error occurs when files of the same path differ between branches,
      regardless of whether the repository is clean or not.
      
      Forcing FETCH_HEAD checkout, then moving repair() to after checkout
      to clean repository to the current checkout.
      
      Additionally, added a second "force" to git clean to clean directories
      with '.git' subdirectories.
      f3921d4d
    • A
      ipc: handle a case when c.cmd.ProcessState is nil (#3967) · b27a1755
      Andrei Vagin 提交于
      This can happen when c.cmd.Wait returns an error.
      Signed-off-by: NAndrei Vagin <avagin@google.com>
      b27a1755
  7. 15 6月, 2023 8 次提交
    • Z
      syz-cover: accept canonical module info (#3964) · 6d01f208
      zsm-oss 提交于
      * syz-manager: endpoint to display canonical modules
      
      Add a "/modules" endpoint that displays canonical module
      information.
      
      * tools/syz-cover: accept module info
      
      Add support to syz-cover to generate coverage reports for drivers that
      are built as kernel modules.
      
      At the moment, ReportGenerator instances are created with no
      []host.KernelModule information. As a result, discoverModulesLinux()
      does not process kernel modules, only the vmlinux.
      
      Add a "-modules" flag that accepts module info. This info
      can be fetched from the web UI at "/modules".
      
      Usage:
      $ ./bin/syz-cover -arch arm64 -kernel_obj ${KOBJ} -kernel_src ${KSRC} \
      	-json ~/report.json -modules ~/modules \
      	~/rawcover
      6d01f208
    • A
      all: support swap feature on Linux · 757d26ed
      Aleksandr Nogikh 提交于
      If the feature is supported on the device, allocate a 128MB swap file
      after VM boot and activate it.
      757d26ed
    • A
      dashboard/config: enable CONFIG_ZSWAP_DEFAULT_ON · 90d4044e
      Aleksandr Nogikh 提交于
      90d4044e
    • S
      pkg/vcs: search cherry-picks by title · 6d79604c
      Space Meyer 提交于
      We sometimes cherry-pick fixes to a bisected branch, for issues that
      make large parts of history untestable. Previously we cherry-picked
      if the fix commit hash isn't already present.
      
      This is incorrect, as forks / lts trees may already cherry-picked the
      fix. In this case the fix would be present, but not have the expected
      hash. Unfortunately git doesn't have Change-Ids like gerrit, so there
      is no great way to check if a fix is already present.
      
      Instead we now just check whether any commit with the expected title
      is present.
      6d79604c
    • A
      pkg/bisect: skip commits with too many boot/test errors · 4c2028c3
      Aleksandr Nogikh 提交于
      If there are only a few non-crashed results among many boot/test errors,
      we cannot really be sure that the commit is good. It might be that the
      reproducer is not 100% reliable and we just needed more runs.
      
      Require > 50% of runs to be successful in order to claim that the
      revision is good. Otherwise skip it.
      4c2028c3
    • A
      executor: move setup_ext() below other features · 4f4c106e
      Aleksandr Nogikh 提交于
      It makes these extentions much more flexible as they can now also
      customize what other features set up.
      4f4c106e
    • A
      tools/syz-bisect: support Linker parameter · ff5fb304
      Aleksandr Nogikh 提交于
      ff5fb304
    • A
      executor: use exitf instead of fail outside of setup sequence (#3959) · ee64538c
      Andrei Vagin 提交于
      We have a long history of executor managing to corrupt itself in various
      interesting ways (e.g. using read with a pointer pointing to some
      global/stack variable and then kernel overwrites it). Or rt_sigreturn
      can corrupt other registers which won't cause immediate SIGSEGV, but
      rather some random behavior later.  This is the race we can't win.
      
      We can't rely on memory consistency when the test already started, so we
      should use exitf instead of fail outside of setup sequence (and relying
      more on unit testing to ensure that executor works as expected for sane
      programs).
      Suggested-by: NDmitry Vyukov <dvyukov@google.com>
      Signed-off-by: NAndrei Vagin <avagin@google.com>
      ee64538c
  8. 14 6月, 2023 2 次提交
  9. 13 6月, 2023 2 次提交
  10. 12 6月, 2023 3 次提交
    • S
      dashboard: add fake admin namespace to ns dropdown · 749afb64
      Space Meyer 提交于
      The dropdown is the only UI element that lets users exit the admin
      page, so removing it from the admin page is not advisable. However
      since the admin page is not a real namespace, the dropdown will display
      the name of the first namespace, when visiting the admin page. This
      confuses new users.
      749afb64
    • S
      dashboard: allow admins to retry individual bisections · 2d0582f6
      Space Meyer 提交于
      Changes to our rootfs, compilers or bisection logic regularly cause
      regressions in our bisection accuracy. Retrying them currently entails
      fiddling with the GCP datastore directly or mass deleting all failed
      bisections.
      
      This change will allow us to retry specific bisections with a single
      click.
      2d0582f6
    • L
      syz-manager, pkg/cover: normalize signals between VM instances · aaed0183
      Liz Prucka 提交于
      Adjust signal creation in syz-executor so hash
      is independent of module offsets. This allows
      for canonicalization of the signal between VMs.
      
      Added signals to canonicalization/decanonicalization
      between instances.
      
      Coverts serialized Signal values as they have already
      been serialized in rpc.go. Added a function in signal.go
      to update serial signal elements.
      aaed0183
  11. 09 6月, 2023 3 次提交
  12. 07 6月, 2023 6 次提交
  13. 01 6月, 2023 1 次提交
  14. 31 5月, 2023 2 次提交