Anton Lindqvist
912c93d745
executor: fix typo in comment
2018-07-23 11:11:32 +02:00
Anton Lindqvist
e3c4ac00ee
executor: ensure RLIMIT_NOFILE is greater than kInPipeFd
2018-07-23 11:11:32 +02:00
Anton Lindqvist
3f17ab418a
executor: add missing cover_size_ptr field
2018-07-23 11:11:32 +02:00
Hangbin Liu
570df9b277
sys/linux/socket_netlink_route: add specific policies for IFLA_LINKINFO
...
Add interface specified policies for IFLA_LINKINFO. I only added the
interfaces we create in initial setup. Remain other types of interfaces
in the TODO list.
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
2018-07-17 10:08:31 +02:00
Dmitry Vyukov
1376136672
sys/akaros: add a bunch of global files for akaros
2018-07-16 20:30:09 +02:00
Dmitry Vyukov
40cb0c9aa6
sys/akaros: fix signatures of file syscalls
...
Most of them differ and accept path length and/or pid.
2018-07-16 17:39:58 +02:00
Dmitry Vyukov
474681b37b
executor: add timeout for akaros
2018-07-16 17:01:07 +02:00
Dmitry Vyukov
7cfcfa6a73
sys/akaros: disable init_arsc syscall
...
It unconditionally crashes kernel now.
2018-07-16 16:57:35 +02:00
Dmitry Vyukov
92a4950507
pkg/host: add "network devices" feature
...
Linux executor sets up some network devices for testing,
detect when that's supported on the machine and don't
do it if it's not supported.
2018-07-13 12:46:32 +02:00
Dmitry Vyukov
fcdb43e97d
sys/linux: regenerate files
2018-07-13 12:44:14 +02:00
Dmitry Vyukov
f642b4185a
sys/linux: improve fuse descriptions
2018-07-12 12:36:38 +02:00
Dmitry Vyukov
95e7a88b97
sys/linux: implement fuse as normal syscalls
...
Remove syz_fuse* and implement them as normal syscalls.
We not have enough expressive power to form mount options.
2018-07-10 16:18:45 +02:00
Dmitry Vyukov
40ed7e838a
sys/linux: use fmt in filesystem options
...
We currently generate poor formatted intergers,
generate proper integers using the new fmt type.
2018-07-09 21:42:43 +02:00
Dmitry Vyukov
59da9e4393
sys/linux: use negative consts where useful
2018-07-09 20:54:47 +02:00
Dmitry Vyukov
f25e577041
sys/linux: refine 9p descriptions
...
RVERSION needs to use 0xffff tag, otherwise parsing fails.
Use only tags 1 and 2. They are densely allocated,
so most of the time it's 1. And it needs to be correct in
multiple replies for mount to succeed. So limit tag space.
2018-07-08 22:52:24 +02:00
Dmitry Vyukov
7004c9c8a8
executor: tweaks for better 9p testing
...
See the added comments.
2018-07-08 22:52:24 +02:00
Dmitry Vyukov
4bf3b336eb
sys/linux: modernize cgroup descriptions
2018-07-08 22:52:24 +02:00
Dmitry Vyukov
e63a51b4b3
sys/linux: modernize selinux descriptions
2018-07-08 22:52:24 +02:00
Dmitry Vyukov
eb5690a56d
sys/linux: extend 9p descriptions
...
Add actual protocol messages.
2018-07-08 22:52:24 +02:00
Dmitry Vyukov
306ca0571c
prog, pkg/compiler: support fmt type
...
fmt type allows to convert intergers and resources
to string representation.
2018-07-08 22:52:24 +02:00
Dmitry Vyukov
c9a7a4dccd
executor: executor fix fuchsia build
2018-07-07 19:08:38 +02:00
Dmitry Vyukov
4b2ad42d41
sys/linux: refine vfat/msdos options
2018-07-07 16:25:40 +02:00
Julia Hansbrough
ab89aea98e
sys/fuchsia: Update Fuchsia syscalls.
...
Updates cover
* zx_vmo_create
* zx_clock_get_monotonic
* hypervisor- and vCPU-related syscalls
* system_get_features
* some DDK syscalls
2018-07-07 13:56:36 +02:00
Dmitry Vyukov
6c0c0099a0
sys/linux: add 9p descriptions
...
Only mount for now.
2018-07-06 21:31:31 +02:00
Dmitry Vyukov
3439016dc2
sys/akaros: add all syscalls
2018-07-06 20:19:03 +02:00
Dmitry Vyukov
9636bc933e
sys/linux: add mount$bpf
...
Plus some minor assorted fixes.
2018-07-06 15:29:52 +02:00
Dmitry Vyukov
3e6e034413
executor: repair akaros support
2018-07-05 10:44:34 +02:00
Dmitry Vyukov
0dee9249b7
executor: remove unnecessary parens
2018-07-05 10:44:34 +02:00
Dmitry Vyukov
36de6b8b2e
executor: extend debug output and diagnostics
2018-07-05 10:44:34 +02:00
Chi Pham
317fc8ea3e
sys/linux: add rtc description
2018-07-02 17:55:41 +02:00
Dmitry Vyukov
664ef9a3e1
pkg/compiler: check for unused declarations
...
Error on unused structs/unions/resources/flags.
Finds tons of bugs.
2018-06-30 19:34:41 +02:00
Dmitry Vyukov
9054fae016
sys/fuchsia: remove ZX_POL_NEW_EVPAIR
...
It was removed from zircon.
2018-06-30 17:30:05 +02:00
Dmitry Vyukov
b7d8ccf74f
executor: include more headers on fuchsia
...
Since we are taking address of functions in syscall table,
we need all headers even if we don't use them directly.
2018-06-30 17:28:48 +02:00
Dmitry Vyukov
65c456e595
pkg/csource: don't use pthread_cond_timedwait for fuchsia
...
We removed it in executor, do the same in csource.
2018-06-30 13:32:05 +02:00
Dmitry Vyukov
b1f623c853
executor: fix zx_log_read return value
...
It does not return status and breaks fallback signal.
2018-06-30 13:29:55 +02:00
Dmitry Vyukov
5012ddc8eb
prog: detect when flags are a bitmask
2018-06-30 13:27:24 +02:00
Dmitry Vyukov
5739f7bef2
sys/fuchsia: add few new syscalls
2018-06-29 20:55:42 +02:00
Dmitry Vyukov
b6b4ddad63
executor: improve fuchsia fallback coverage
2018-06-29 18:15:07 +02:00
Dmitry Vyukov
9dd8cf63e0
executor, pkg/ipc: support output over pipes
2018-06-29 16:33:07 +02:00
Dmitry Vyukov
346edcb763
executor: fix pid check after fork
2018-06-29 11:45:59 +02:00
Dmitry Vyukov
7b45fa115b
pkg/csource: support fuchsia
...
Lots of assorted heavylifting to support csource on fuchsia.
2018-06-29 10:47:42 +02:00
Dmitry Vyukov
e0755ee02f
sys/fuchsia: add pipe syscall
2018-06-29 09:23:49 +02:00
Dmitry Vyukov
b5f361149e
sys/fuchsia: remove zx_job_set_relative_importance
...
It seems to be removed from zircon.
2018-06-26 18:48:45 +02:00
Dmitry Vyukov
3f9c293199
executor: don't crash during tun setup if ipv6 is not enabled
...
Some options that tun initialization sets up are optional.
Don't fail if they are missing in kernel.
2018-06-26 13:47:21 +02:00
Dmitry Vyukov
2064fc5c91
sys/linux: add 2 custom uids
...
Give fuzzer 2 custom uids to mess with.
Ideally these should be proc, we can't do this for resources.
2018-06-23 11:36:55 +02:00
Dmitry Vyukov
f199f3a27d
sys/linux: fix /dev/urandom descriptions
...
Don't use pseudo syscall without a reason.
Remove duplicate syscall.
2018-06-23 11:25:20 +02:00
Dmitry Vyukov
2b949be2e1
executor: extend error on output overflow
2018-06-22 16:40:45 +02:00
Dmitry Vyukov
c31f96a8c6
executor: rework fallback coverage
...
We have fallback coverage implmentation for freebsd.
1. It's broken after some recent changes.
2. We need it for fuchsia, windows, akaros, linux too.
3. It's painful to work with C code.
Move fallback coverage to ipc package,
fix it and provide for all OSes.
2018-06-22 16:40:45 +02:00
Dmitry Vyukov
ef9ddfbe36
executor: handle case when AF_INET is not enabled
...
No AF_INET is somewhat crazy, but why not.
2018-06-22 16:40:45 +02:00
Dmitry Vyukov
732e4256fb
sys/linux: regenerate consts
...
@evdenis
2018-06-19 12:41:12 +02:00