| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | executor: disable clang-format for some parts | Dmitry Vyukov | 2018-07-27 | 1 | -8/+8 |
| | | | | | | clang-format badly mishandles this part, moreover different versions mishandle it differently. | ||||
| * | pkg/csource: add option to trace syscall results | Dmitry Vyukov | 2018-07-27 | 1 | -0/+11 |
| | | | | | This will be needed for testing of generated programs. | ||||
| * | pkg/csource: tidy generated code | Dmitry Vyukov | 2018-07-27 | 8 | -33/+143 |
| | | | | | | | | | | | | 1. Remove unnecessary includes. 2. Remove thunk function in threaded mode. 3. Inline syscalls into main for the simplest case. 4. Define main in common.h rather than form with printfs. 5. Fix generation for repeat mode (we had 2 infinite loops: in main and in loop). 6. Remove unused functions (setup/reset_loop, setup/reset_test, sandbox_namespace, etc). | ||||
| * | executor: simplify event_timedwait | Dmitry Vyukov | 2018-07-27 | 2 | -30/+19 |
| | | | | | | | We always have current_time_ms in event_timedwait so use it instead of manual clock_gettime calls which tend to be bulkier. | ||||
| * | executor: ignore unshare errors in setuid sandbox | Dmitry Vyukov | 2018-07-27 | 1 | -4/+8 |
| | | | | | We already do this in sandbox=none, but forgot about setuid. | ||||
| * | executor: remove unused file | Dmitry Vyukov | 2018-07-25 | 1 | -240/+0 |
| | | | | | Leftover after "executor: overhaul". | ||||
| * | executor: fix strict aliasing violations | Dmitry Vyukov | 2018-07-24 | 1 | -7/+16 |
| | | | | | | | | | | test_copyin does bad things. Fix that. executor/test.h: In function ‘int test_copyin()’: executor/common.h:299:16: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] *(type*)(addr) = (type)(val); \ ^ | ||||
| * | executor: overhaul | Dmitry Vyukov | 2018-07-24 | 35 | -7252/+6620 |
| | | | | | | | | | | | | | | | | | | Make as much code as possible shared between all OSes. In particular main is now common across all OSes. Make more code shared between executor and csource (in particular, loop function and threaded execution logic). Also make loop and threaded logic shared across all OSes. Make more posix/unix code shared across OSes (e.g. signal handling, pthread creation, etc). Plus other changes along similar lines. Also support test OS in executor (based on portable posix) and add 4 arches that cover all execution modes (fork server/no fork server, shmem/no shmem). This change paves way for testing of executor code and allows to preserve consistency across OSes and executor/csource. | ||||
| * | executor: fix typo in comment | Anton Lindqvist | 2018-07-23 | 1 | -1/+1 |
| | | |||||
| * | executor: ensure RLIMIT_NOFILE is greater than kInPipeFd | Anton Lindqvist | 2018-07-23 | 1 | -0/+6 |
| | | |||||
| * | executor: add missing cover_size_ptr field | Anton Lindqvist | 2018-07-23 | 2 | -0/+2 |
| | | |||||
| * | sys/linux/socket_netlink_route: add specific policies for IFLA_LINKINFO | Hangbin Liu | 2018-07-17 | 1 | -5/+5 |
| | | | | | | | | | 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> | ||||
| * | sys/akaros: add a bunch of global files for akaros | Dmitry Vyukov | 2018-07-16 | 1 | -2/+146 |
| | | |||||
| * | sys/akaros: fix signatures of file syscalls | Dmitry Vyukov | 2018-07-16 | 1 | -1/+1 |
| | | | | | Most of them differ and accept path length and/or pid. | ||||
| * | executor: add timeout for akaros | Dmitry Vyukov | 2018-07-16 | 1 | -1/+13 |
| | | |||||
| * | sys/akaros: disable init_arsc syscall | Dmitry Vyukov | 2018-07-16 | 1 | -3/+2 |
| | | | | | It unconditionally crashes kernel now. | ||||
| * | pkg/host: add "network devices" feature | Dmitry Vyukov | 2018-07-13 | 2 | -1/+11 |
| | | | | | | | 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. | ||||
| * | sys/linux: regenerate files | Dmitry Vyukov | 2018-07-13 | 1 | -3/+3 |
| | | |||||
| * | sys/linux: improve fuse descriptions | Dmitry Vyukov | 2018-07-12 | 1 | -15/+125 |
| | | |||||
| * | sys/linux: implement fuse as normal syscalls | Dmitry Vyukov | 2018-07-10 | 2 | -87/+25 |
| | | | | | | Remove syz_fuse* and implement them as normal syscalls. We not have enough expressive power to form mount options. | ||||
| * | sys/linux: use fmt in filesystem options | Dmitry Vyukov | 2018-07-09 | 1 | -5/+5 |
| | | | | | | We currently generate poor formatted intergers, generate proper integers using the new fmt type. | ||||
| * | sys/linux: use negative consts where useful | Dmitry Vyukov | 2018-07-09 | 1 | -5/+5 |
| | | |||||
| * | sys/linux: refine 9p descriptions | Dmitry Vyukov | 2018-07-08 | 1 | -5/+5 |
| | | | | | | | | 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. | ||||
| * | executor: tweaks for better 9p testing | Dmitry Vyukov | 2018-07-08 | 1 | -3/+13 |
| | | | | | See the added comments. | ||||
| * | sys/linux: modernize cgroup descriptions | Dmitry Vyukov | 2018-07-08 | 1 | -5/+5 |
| | | |||||
| * | sys/linux: modernize selinux descriptions | Dmitry Vyukov | 2018-07-08 | 1 | -5/+5 |
| | | |||||
| * | sys/linux: extend 9p descriptions | Dmitry Vyukov | 2018-07-08 | 1 | -10/+195 |
| | | | | | Add actual protocol messages. | ||||
| * | prog, pkg/compiler: support fmt type | Dmitry Vyukov | 2018-07-08 | 6 | -54/+98 |
| | | | | | | fmt type allows to convert intergers and resources to string representation. | ||||
| * | executor: executor fix fuchsia build | Dmitry Vyukov | 2018-07-07 | 1 | -0/+1 |
| | | |||||
| * | sys/linux: refine vfat/msdos options | Dmitry Vyukov | 2018-07-07 | 1 | -5/+5 |
| | | |||||
| * | sys/fuchsia: Update Fuchsia syscalls. | Julia Hansbrough | 2018-07-07 | 1 | -4/+38 |
| | | | | | | | | | | Updates cover * zx_vmo_create * zx_clock_get_monotonic * hypervisor- and vCPU-related syscalls * system_get_features * some DDK syscalls | ||||
| * | sys/linux: add 9p descriptions | Dmitry Vyukov | 2018-07-06 | 1 | -10/+40 |
| | | | | | Only mount for now. | ||||
| * | sys/akaros: add all syscalls | Dmitry Vyukov | 2018-07-06 | 2 | -23/+58 |
| | | |||||
| * | sys/linux: add mount$bpf | Dmitry Vyukov | 2018-07-06 | 1 | -10/+15 |
| | | | | | Plus some minor assorted fixes. | ||||
| * | executor: repair akaros support | Dmitry Vyukov | 2018-07-05 | 2 | -57/+110 |
| | | |||||
| * | executor: remove unnecessary parens | Dmitry Vyukov | 2018-07-05 | 1 | -1/+1 |
| | | |||||
| * | executor: extend debug output and diagnostics | Dmitry Vyukov | 2018-07-05 | 1 | -1/+2 |
| | | |||||
| * | sys/linux: add rtc description | Chi Pham | 2018-07-02 | 1 | -10/+125 |
| | | |||||
| * | pkg/compiler: check for unused declarations | Dmitry Vyukov | 2018-06-30 | 2 | -14/+27 |
| | | | | | | Error on unused structs/unions/resources/flags. Finds tons of bugs. | ||||
| * | sys/fuchsia: remove ZX_POL_NEW_EVPAIR | Dmitry Vyukov | 2018-06-30 | 1 | -2/+2 |
| | | | | | It was removed from zircon. | ||||
| * | executor: include more headers on fuchsia | Dmitry Vyukov | 2018-06-30 | 1 | -0/+2 |
| | | | | | | Since we are taking address of functions in syscall table, we need all headers even if we don't use them directly. | ||||
| * | pkg/csource: don't use pthread_cond_timedwait for fuchsia | Dmitry Vyukov | 2018-06-30 | 1 | -25/+8 |
| | | | | | We removed it in executor, do the same in csource. | ||||
| * | executor: fix zx_log_read return value | Dmitry Vyukov | 2018-06-30 | 1 | -1/+4 |
| | | | | | It does not return status and breaks fallback signal. | ||||
| * | prog: detect when flags are a bitmask | Dmitry Vyukov | 2018-06-30 | 7 | -13/+13 |
| | | |||||
| * | sys/fuchsia: add few new syscalls | Dmitry Vyukov | 2018-06-29 | 1 | -4/+14 |
| | | |||||
| * | executor: improve fuchsia fallback coverage | Dmitry Vyukov | 2018-06-29 | 1 | -2/+2 |
| | | |||||
| * | executor, pkg/ipc: support output over pipes | Dmitry Vyukov | 2018-06-29 | 3 | -36/+65 |
| | | |||||
| * | executor: fix pid check after fork | Dmitry Vyukov | 2018-06-29 | 1 | -2/+2 |
| | | |||||
| * | pkg/csource: support fuchsia | Dmitry Vyukov | 2018-06-29 | 6 | -43/+382 |
| | | | | | Lots of assorted heavylifting to support csource on fuchsia. | ||||
| * | sys/fuchsia: add pipe syscall | Dmitry Vyukov | 2018-06-29 | 1 | -4/+6 |
| | | |||||
