aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/osutil/osutil_fuchsia.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/osutil: add DiskUsage functionDmitry Vyukov2026-01-091-31/+0
| | | | DiskUsage returns total recursive disk usage of the dir (similar to du -s).
* all: delete dead codeTaras Madan2025-02-101-9/+0
| | | | | go install golang.org/x/tools/cmd/deadcode@latest deadcode -test ./...
* pkg/manager: show bug first timeDmitry Vyukov2025-01-171-0/+5
| | | | | This allows to understand if a bug is new (found in the current run) or old.
* all: go fix everythingDmitry Vyukov2024-04-261-1/+0
|
* tools/syz-testbed: do not send SIGKILL to syz-managersAleksandr Nogikh2021-10-201-1/+1
| | | | | Doing so can result in syz-manager leaking GCE instances. Set PDEATHSIG to SIGTERM instead, so that syz-manager has a change to exit gracefully.
* pkg: update generated files to go 1.17Alexey Kardashevskiy2021-07-071-0/+1
| | | | | | | | | | | "make generate" produces this diff when go 1.17 (go1.17-c95464f0ea3f==upstream) is used. Seems compatible with >=1.16. https://github.com/golang/go/commit/4d2d89ff42ca documents the syntax. https://github.com/golang/go/commit/eeadce2d8713 enforces "ignore" for unsatisfiable tags hence the pkg/csource/gen.go change. Signed-off-by: Alexey Kardashevskiy <aik@linux.ibm.com>
* pkg/osutil: remove appengine tagDmitry Vyukov2020-07-061-1/+1
| | | | | Appengine doesn't provide appengine tag anymore. Resort to use of syscall package for ExitStatus instead.
* tools/syz-env: restrict Makefile parallelism based on RAMDmitry Vyukov2019-07-191-0/+4
| | | | | | | Ensure that we have at least 1GB per Makefile job. Go compiler/linker can consume significant amount of memory (observed to consume at least 600MB). See #1276 for context. Update #1276
* pkg/osutil: kill subprocesses more reliablyDmitry Vyukov2019-03-181-0/+3
| | | | | | | | | | In some cases we start scp, which starts ssh, then kill scp but the ssh subprocess is not killed. As the result cmd.Wait hangs waiting for EOF on the stdout/stderr, which are still kept alive by ssh subprocess. But ssh just hangs forever. Create a process group for each command and kill whole process group. Hopefully this will help.
* pkg/osutil: replace UmountAll with RemoveAllDmitry Vyukov2018-08-041-1/+2
| | | | | | | | In pkg/ipc we don't just want to UmountAll, we want to remove all handling as many cases as possible (mounts, read-only files, etc, similar to executor's remove_dir). So unmounting and removing needs to be a single function, so that it can handle all these cases.
* pkg/ipc: remove abort signal and buffer sizeDmitry Vyukov2018-08-031-4/+0
| | | | | | They were needed for intermediate gvisor support. Now that we have end-to-end support for gvisor, they are not needed anymore. Remove.
* pkg/kernel: sandbox make invocationDmitry Vyukov2017-11-171-0/+8
|
* pkg/osutil: don't leace runaway processesDmitry Vyukov2017-11-161-1/+5
| | | | | | When manager is stopped there are sometimes runaway qemu processes still running. Set PDEATHSIG for all subprocesses. We never need child processes outliving parents.
* executor, pkg/ipc: unify ipc protocol between linux and other OSesDmitry Vyukov2017-10-161-0/+28
| | | | | | | | | | | | | | | | | We currently use more complex and functional protocol on linux, and a simple ad-hoc protocol on other OSes. This leads to code duplication in both ipc and executor. Linux supports coverage, shared memory communication and fork server, which would also be useful for most other OSes. Unify communication protocol and parametrize it by (1) use of shmem or only pipes, (2) use of fork server. This reduces duplication in ipc and executor and will allow to support the useful features for other OSes easily. Finally, this fixes akaros support as it currently uses syz-stress running on host (linux) and executor running on akaros.
* pkg/osutil: windows portDmitry Vyukov2017-09-251-8/+0
|
* all: more assorted fuchsia supportDmitry Vyukov2017-09-221-0/+17