summaryrefslogtreecommitdiff
path: root/src/sys/mod.rs
AgeCommit message (Collapse)Author
2017-07-18Remove signalfd feature in favor of conditional compilationBryant Mairs
Note that this is now only available for Linux as support is missing in libc for Android (see rust-lang/libc#671). As part of this work the SIGUSR2 signal mutex was altered to be a general signal mutex. This is because all signal handling is shared across all threads in the Rust test harness, so if you alter one signal, depending on whether it's additive or may overwrite the mask for other signals, it could break the other ones. Instead of putting this on the user, just broaden the scope of the mutex so that any altering of signal handling needs to use it.
2017-07-17Remove eventfd feature in favor of conditional includeBryant Mairs
2017-07-10Enable termios on iOS and move it to Tier 2Bryant Mairs
2017-07-08Enable ptrace on all Linux platformsGeoffrey Thomas
Nothing that nix currently binds is architecture-specific, and Android supports ptrace just as much as non-Android Linux.
2017-06-04Add pthread_selfking6cong
2016-12-16Add POSIX AIO supportAlan Somers
POSIX AIO is a standard for asynchronous file I/O. Read, write, and fsync operations can all take place in the background, with completion notification delivered by a signal, by a new thread, by kqueue, or not at all. This commit supports all standard AIO functions. However, lio_listio is disabled on macos because it doesn't seem to work, even though the syscall is present. The SigEvent class, used for AIO notifications among other things, is also added. Also, impl AsRef for TimeVal and TimeSpec
2016-12-10Add ioctl support for BSDConrad Kramer
2016-07-13Stop targeting AndroidSergey Bugaev
2016-07-13Add the initial implementation of reboot()Sergey Bugaev
2016-03-14Add context module.Philipp Matthias Schaefer
The module wraps context handling related functions and structs.
2016-02-12linux: Add sendfile(2)Kamal Marhubi
2015-12-03NetBSD tweaks for kqueue supportZachary Tong
2015-12-03Statvfs improvementsBrandon W Maister
* Implement `Default` * Add documentation * Add some convenience wrappers
2015-10-20Move a few bindings behind featuresCarl Lerche
2015-09-28statfs() & fstatfs()Alexander Polakov
2015-09-28quotactl() API for linuxAlexander Polakov
2015-09-28Add sys::select::FdSet and sys::select::select.Utkarsh Kukreti
2015-09-10Add signalfd supportAlex Gulyás
2015-09-09Add/Fix support for DragonFly BSDMichael Neumann
2015-08-25Add memfd functionalityDavid Henningsson
2015-07-03Add support for ptraceJoseph Kain
Closes #138
2015-05-29Basic OpenBSD support.Laurence Tratt
Some of the tests are currently unrunnable, but the basic library is at least buildable.
2015-05-11Get the library to build on freebsdAndrew J. Stone
`cargo build` works.
2015-04-08Bring back eventfd behind a feature flagCarl Lerche
At some point, feature flags will be switched to a conditional build system.
2015-04-06Get compiling on Rust 1.0 betaCarl Lerche
Initially support this by assuming the lowest common denominator. The long term solution is to improve the build system to allow pulling in more specific features that are available on the target system.
2015-03-13Amend some files to make it compile on arm-linux-androideabi.kennytm
2015-03-12Add TimeVal and helpersCarl Lerche
2015-02-25Large cleanup, mostly of socket functionsCarl Lerche
2015-02-21Fix uio and add SockAddr conversionsCarl Lerche
2015-02-17iOS: term support is really redundantValerii Hiora
2015-01-21Add `ioctl`. Only supports the `TIOCGWINSZ` request right now.Utkarsh Kukreti
2015-01-20Add `termios` bindings.Utkarsh Kukreti
2014-10-27Add mmap, shm_open and other mman relativesPhil Vachon
Add various wrappers to make interacting with Rust a bit more pleasant for memory management. Additionally, provide ftruncate(2), which is useful when working with shared memory. Allow managing CPU affinity of a Rust Task living in a system thread.
2014-10-15Bind basic signal constants and functionsYehuda Katz
2014-10-07Add wait bindingsTilde Engineering
2014-10-06Bind stat and fstatTilde Engineering
2014-10-02Track Rust masterCarl Lerche
2014-09-21Bind eventfd()Carl Lerche
2014-08-21Bind kqueue + misc cleanupCarl Lerche
2014-08-20Start binding DarwinCarl Lerche
2014-08-17More socket APIsCarl Lerche
2014-08-17Add unameCarl Lerche
2014-08-16Epoll, rename to nix, misc cleanupCarl Lerche