aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/host/host_linux.go
Commit message (Collapse)AuthorAgeFilesLines
* sys/linux: add support for reading partition tablesDmitry Vyukov2018-04-011-0/+2
|
* sys/linux: add support for mounting filesystem imagesDmitry Vyukov2018-03-301-0/+2
|
* sys/linux: add cgroup descriptionsDmitry Vyukov2018-03-251-1/+1
|
* sys/linux: add netlink fou descriptionsDmitry Vyukov2018-03-211-0/+7
|
* all: fix gometalinter warningsDmitry Vyukov2018-03-081-1/+1
| | | | Fix typos, non-canonical code, remove dead code, etc.
* sys/linux: add syz_init_net_socket syscallDmitry Vyukov2018-03-051-24/+23
| | | | | | | | | | | The new pseudo syscall allows opening sockets that can only be created in init net namespace (BLUETOOTH, NFC, LLC). Use it to open these sockets. Unfortunately this only works with sandbox none at the moment. The problem is that setns of a network namespace requires CAP_SYS_ADMIN in the target namespace, and we've lost all privs in the init namespace during creation of a user namespace.
* sys: move test syscalls to a separate targetDmitry Vyukov2017-12-171-2/+0
| | | | | | We have them in linux solely for historical reasons. Fixes #462
* sys/linux: open files from /procDmitry Vyukov2017-11-271-0/+2
|
* sys/linux: remove get_kernel_syms, add quotactl syscallDmitry Vyukov2017-11-201-1/+13
| | | | | | get_kernel_syms does not seem to be present upstream. Describe an old quotactl syscall. Also fix umount/umount2 names in kallsyms.
* executor, pkg/ipc: unify ipc protocol between linux and other OSesDmitry Vyukov2017-10-161-0/+11
| | | | | | | | | | | | | | | | | 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/host: add fuchsia supportDmitry Vyukov2017-09-201-0/+161