summaryrefslogtreecommitdiff
path: root/lib/sys
AgeCommit message (Collapse)Author
2017-08-06Add generated system calls.Ori Bernstein
2017-08-05Add all syscalls for OpenBSD 6.1Ori Bernstein
2017-08-03Add readlink syscallRyan Gonzalez
2017-08-03Add set/getuid and set/getgid syscallsRyan Gonzalez
Also my editor may or may not have stripped some whitespace...
2017-08-01Add autogenerated freebsd syscalls.Ori Bernstein
2017-07-17Convert from `in` to `:`.Ori Bernstein
The winds of change are a-blowin.
2017-07-07Use the correct syscall for kill on OpenBSDCarlin Bingham
2017-06-25Add memfdcreate for linux-x64Michael Forney
2017-06-25Add fallocate for linux-x64Michael Forney
2017-06-25Add newer linux syscall numbersMichael Forney
2017-06-25Add sendmsg/recvmsg for linux-x64Michael Forney
Also, make sockproto int32 so that the level field in cmsghdr has the correct size.
2017-06-25Rename Solsock to Solsocket and make it type sockprotoMichael Forney
This constant is used as a protocol level in getsockopt/setsockopt as well as msghdr. Valid values for level include the same constants used as the protocol argument of socket (IPPROTO_*), so it needs to have the same type so the constants can be used in both functions. The rename is for consistency with the C API.
2017-06-25Use an iovec struct for readv/writevMichael Forney
This avoids the assumption that iovec and byte[:] are laid out the same way in memory.
2017-06-22Remove sigpipe handler.Ori Bernstein
It's useful, but we don't want it by default. Should add a good API for it, though.
2017-06-17Misc 9front fixes.Ori Bernstein
2017-06-12Signals now work right on linux.Ori Bernstein
We weren't calling the restorer. Linux really wants this. Oops.
2017-06-07Add poll flags for OpenBSD.Ori Bernstein
2017-05-24Allow arbitrary functions on bio files.biofuncOri Bernstein
2017-05-22Linux was missing poll events.Ori Bernstein
2017-05-18Add Ocexec.Ori Bernstein
It's useful.
2017-05-16Missing offset argument on FreeBSD.Ori Bernstein
Need a way of testing from one machine on all systems :/
2017-05-16Add pread/pwrite syscalls.Ori Bernstein
2017-05-16Allow for a 7th syscall argument for mmap.EC2 Default User
....but there aren't any 9th ones, right?
2017-04-20Prettier whitespace.Ori Bernstein
2017-03-06Add missing `poll` on OpenBSDOri Bernstein
2017-03-05Merge branch 'master' of git+ssh://git.eigenstate.org/git/ori/mcOri Bernstein
2017-02-17Search for usefiles relative to the output.Ori Bernstein
For most uses, this is equivalent to compiler cwd, but supports out of tree builds better. It also means that builds behave the same way regardless of the directory that the compiler is run from, which is convenient for testing. This also drops support for `.use` suffixes on local uses.
2017-02-16Bulk of porting to NetBSD.Ori Bernstein
This wasn't so bad. Missing: - libthread - auditing all libsys struct types.
2017-02-15Add NetBSD supportKamil Rytarowski
2017-01-17Add the ability to do setenv() on posixy systems.Ori Bernstein
2017-01-12Add more missing system calls.Ori Bernstein
2017-01-10Add some missing open flags on some oses.Ori Bernstein
2017-01-08Add missing open options.Ori Bernstein
2016-12-08OS X signal bitsAyaka Koshibe
2016-12-07Add readv()/writev()Ori Bernstein
Turns out that an iovec is abi compatible with a slice. That makes using it nice.
2016-12-02Fix top of stack pointer on 9front.Ori Bernstein
We weren't setting it up right.
2016-11-22Implement signals on OpenBSDori
2016-11-21Add signals on Linux.Ori Bernstein
...I think it works.
2016-11-21Disable sigpipe by default on posixy systems.Ori Bernstein
Do we ever want it? I can't think of a time when it's the right thing by default.
2016-11-20Fix cut-paste error.Ori Bernstein
I was supposed to copy, not cut.
2016-11-20Fix sysctl signature.Ori Bernstein
The previous one worked, but was really painful to use well for what it was intended.
2016-08-14Remove more duplicate extern defs.Ori Bernstein
2016-08-14Remove double declaration of cenvp.Ori Bernstein
Why do we need two extern declarations? Should this be an error?
2016-07-22make bsearch use unsigned indexes (#118)andrewchambers
2016-07-16Fix mmap offset on OpenBSD (see ↵Ori Bernstein
http://marc.info/?l=openbsd-tech&m=146793252011083&w=2)
2016-05-24Regenerate OpenBSD bootstrapOri Bernstein
2016-05-17New syntax for casts.Ori Bernstein
2016-05-10Regenerate bootstrap for OpenBSDOri Bernstein
2016-05-09Add support for OpenBSD thread spawning.Ori Bernstein
2016-05-08Removed syscall stub from the wrong file.Ori Bernstein