aboutsummaryrefslogtreecommitdiffstats
path: root/executor/syscalls_netbsd.h
Commit message (Collapse)AuthorAgeFilesLines
* prog, pkg/compiler: support fmt typeDmitry Vyukov2018-07-081-1/+1
| | | | | fmt type allows to convert intergers and resources to string representation.
* prog: detect when flags are a bitmaskDmitry Vyukov2018-06-301-1/+1
|
* executor: rework fallback coverageDmitry Vyukov2018-06-221-0/+2
| | | | | | | | | | 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.
* sys: mark output resources as optDmitry Vyukov2018-06-181-1/+1
| | | | | Mark output resources as opt in preparation for more precise constructor calculation.
* executor: make syscall table and number constantDmitry Vyukov2018-06-071-2/+2
| | | | | | | | | We see some crashes that suggest corruption of the syscall number: invalid command number 1296 (errno 11) invalid command number 107 (errno 110) Make the table and the number constant to prevent corruption.
* sys: move generate files to separate packagesDmitry Vyukov2018-05-051-1/+1
| | | | | | | | | Move generated files to gen subdir. This allows to: 1. Rebuild init.go without rebuilding generated code. 2. Excluding generated files from gometalinter checking. This makes faster and consume less memory. Update #538
* gometalinter: enable package comment checkingDmitry Vyukov2018-05-031-1/+1
| | | | Update #538
* pkg/compiler: don't assign call IDs staticallyDmitry Vyukov2018-02-251-1/+1
| | | | | | IDs change whenever a call is added or removed, this leads to large diffs unnecessarly. Assign IDs dynamically.
* sys: fix descriptions for strickter return type checksDmitry Vyukov2018-02-231-1/+1
| | | | | Mostly remove vma as return from some mm syscalls. This is unnecessary and we never used these.
* prog: rework address allocationDmitry Vyukov2018-02-191-1/+4
| | | | | | | | | | | | 1. mmap all memory always, without explicit mmap calls in the program. This makes lots of things much easier and removes lots of code. Makes mmap not a special syscall and allows to fuzz without mmap enabled. 2. Change address assignment algorithm. Current algorithm allocates unmapped addresses too frequently and allows collisions between arguments of a single syscall. The new algorithm analyzes actual allocations in the program and places new arguments at unused locations.
* sys/syz-sysgen: don't generate syz_ syscall numbersDmitry Vyukov2018-01-131-1/+0
| | | | They don't seem to be used today.
* pkg/compiler: support void typeDmitry Vyukov2018-01-131-1/+1
| | | | | | "void": type with static size 0 mostly useful inside of templates and varlen unions can't be syscall argument
* pkg/compiler: add bitsize typeDmitry Vyukov2018-01-061-1/+1
| | | | This is need for few crypto/xfrm descriptions.
* pkg/compiler: add check that len does not refer to array with varlen elementsDmitry Vyukov2017-11-281-1/+1
| | | | | This [almost] always means a bug in descriptions. Fix all bugs identified by the check.
* Changing the types of members of struct statUtkarsh Anand2017-10-301-1/+1
| | | | As defined in the header files.
* Added a few more syscall descriptions, constsUtkarsh Anand2017-10-301-2/+139
| | | | and other related files.
* Add two new syscalls `shmctl` and `msgctl`Utkarsh Anand2017-10-301-2/+10
|
* Fix the SYS_SEMCTL value issue for NetBSDUtkarsh Anand2017-10-301-11/+11
|
* sys/netbsd: fix mmap signatureDmitry Vyukov2017-10-251-1/+1
| | | | mmap syscall has 7 arguments (one unused padding)
* Lots of changes to sys/netbsd (#397)Utkarsh Anand2017-10-251-0/+54
* Lots of changes to sys/netbsd: - Removed a few syscalls that did not have proper constants defined. - Autogenerated *.const files. - Removed a few types like uid and gid, that were not available. - Ran make generate * Few changes for NetBSD support: - Added sys/netbsd/init.go - Added netbsd to sys/sys.go * Fix order in sys/sys.go * Update documentation for NetBSD