summaryrefslogtreecommitdiff
path: root/lib/sys
AgeCommit message (Collapse)Author
2018-08-19Fix futex timeouts and handle futex error codes.iriri
2018-08-14Make timespec/timeval struct members signed to simplify arithmetic.iriri
Every single conversion except for one for OS X is uint64 to int64.
2018-06-30Fix build on OSX: Export missing sys.cstring functionr0.3.1Ori Bernstein
2018-06-27Fix NetBSD build.r0.3.0Ori Bernstein
2018-06-24Add recursive file removal.Ori Bernstein
Also makes `std.remove` remove directories the same way it removes leaf files.
2018-06-22Fix compilation and clean up code.Ori Bernstein
Use "atomic" was needed in the non-OSX platforms, to fix the build. The repated 'extern' declarations were also deleted, turning the declarations in atomic.myr into extern declarations. Semaphores were also cleaned up on Plan 9.
2018-06-23Add semaphores and wrapper for various futexesque system callsiriri
2018-06-15Use chartype functions to determine character type, regenerate bootstrapOri Bernstein
2018-06-06OpenBSD 6.1 doesn't recognize MAP_STACK.Ori Bernstein
2018-04-20Fix OpenBSD 6.1 specialization.Ori Bernstein
2018-03-24Add support for OpenBSD's MAP_STACK mmap flags, use it in libthreadOri Bernstein
2018-03-24Add OpenBSD 6.3 system call support.Ori Bernstein
2018-03-01Fix syscall numbers.Ori Bernstein
2017-12-14Add atexit for 9front.Ori Bernstein
A tad ugly, but a start. Maybe we'll figure something better out soon.
2017-12-13Add renezvous syscall to 9front.Ori Bernstein
Oops, missed this.
2017-10-18Add some ioctls from Linux x86S. Gilles
2017-09-23Implement OpenBSD 6.2 futex mutexes.Ori Bernstein
2017-09-22Missing an FD.Ori Bernstein
2017-09-20Fix tests on NetBSDOri Bernstein
2017-09-12Add syscalls for OpenBSD 6.2Ori Bernstein
2017-09-13Fix off by one for FreeBSD/OpenBSDOri Bernstein
2017-09-13Fix missing syscall args.Ori Bernstein
Shit, bug in the code gen.
2017-09-09Fix gettimeofday() on OSX.Ori Bernstein
They added an arg. We need to as well.
2017-09-09Add missing files.Ori Bernstein
2017-08-27Cope with new syscall ABI.Ori Bernstein
2017-08-27Ordonly/Owronly => Oread/Owrite.Ori Bernstein
2017-08-13Add full Linux support, generated from Linux syscall tables.Ori Bernstein
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?