aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor_bsd.cc
Commit message (Collapse)AuthorAgeFilesLines
* executor: introduce uint64/32/16/8 typesDmitry Vyukov2017-12-271-11/+11
| | | | | | | | | | | | | | | The "define uint64_t unsigned long long" were too good to work. With a different toolchain I am getting: cstdint:69:11: error: expected unqualified-id using ::uint64_t; ^ executor/common.h:34:18: note: expanded from macro 'uint64_t' Do it the proper way: introduce uint64/32/16/8 types and use them. pkg/csource then does s/uint64/uint64_t/ to not clutter code with additional typedefs.
* executor: small fixes for netbsdDmitry Vyukov2017-10-251-1/+5
| | | | | | | | | | RLIMIT_AS auses frequent random aborts on netbsd. Reason unknown. Disable it for now. Documentation says that __syscall should be used for syscalls with 64-bit arguments. On amd64 most syscalls have 64-bit arguments (incl mmap), so switch to it.
* executor: fix netbsd syscallsDmitry Vyukov2017-10-251-1/+9
| | | | | | executor_netbsd.cc was including syscalls_freebsd.h, which completely messed up syscall numbers and names. Include the right syscalls header.
* executor: fix mkdtemp return value checkDmitry Vyukov2017-10-251-1/+1
| | | | mkdtemp return NULL on failure.
* all: basic building on netbsdDmitry Vyukov2017-10-231-0/+174
This just makes make TARGETOS=netbsd succeed. We don't yet have prog target for netbsd.