summaryrefslogtreecommitdiff
path: root/src/sys
AgeCommit message (Collapse)Author
2015-04-24FromPrimitive is no moreFlorian Hartwig
2015-04-20Fix build on Rust nightliesCarl Lerche
2015-04-18Added OOB_INLINE socket optionValerii Hiora
2015-04-14Make `sigaction` unsafeTobias Bucher
This is done because interrupted execution has soundness bugs regarding thread-local storage. Fixes #90.
2015-04-11Add socketpairFlorian Hartwig
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-06Use fcntl:Fd vs. std::os::unix::io::RawFdCarl Lerche
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-04-03'derive(Copy)' needs Clone nowFlorian Hartwig
2015-04-03Fd ist now RawFdFlorian Hartwig
2015-04-01Remove usage of std::num::IntCarl Lerche
2015-04-01Fix argument order for copy* functionsFlorian Hartwig
2015-03-24NixResult -> nix::Result; NixError -> nix::ErrorCarl Lerche
2015-03-19Track Rust nightliesCarl Lerche
2015-03-16Fix on 32bit platformsCarl Lerche
2015-03-14Make sockaddr_storage_to_addr public.Jan Bujak
2015-03-14Derive FromPrimitive for SockType.Jan Bujak
2015-03-14Derive FromPrimitive for AddressFamily.Jan Bujak
2015-03-13Amend some files to make it compile on arm-linux-androideabi.kennytm
2015-03-13Sockopt for broadcast supportValerii Hiora
2015-03-13Expose socket timeoutsCarl Lerche
2015-03-12Add TimeVal and helpersCarl Lerche
2015-03-10Track Rust nightliesCarl Lerche
2015-02-27Further SockAddr & NixPath cleanupCarl Lerche
2015-02-25Large cleanup, mostly of socket functionsCarl Lerche
2015-02-23in_addr conversions + IP_DROP_MEMBERSHIP supportCarl Lerche
2015-02-23Improve ergonomics of getsockopt / setsockoptCarl Lerche
2015-02-22Remove prefix from SockAddr variantsCarl Lerche
2015-02-22Split up socket moduleCarl Lerche
2015-02-22Implement round trip SockAddr conversionsCarl Lerche
2015-02-21Fix uio and add SockAddr conversionsCarl Lerche
2015-02-21Cleanup readv & writev + testsCarl Lerche
2015-02-20Fix a null bug in uname bindingCarl Lerche
2015-02-20Use new ffi:CStr instead of c_str_to_bytes_with_nulSebastian Lauwers
2015-02-17iOS: term support is really redundantValerii Hiora
2015-02-10Add `NixPath`, `NixError`, and `NixResult`.Utkarsh Kukreti
2015-02-06path -> old_pathFlorian Hartwig
2015-02-01Changed options parameter for waitpid to Option<WaitPidFlag>Markus Jais
2015-01-27Fix warnings for `rustc 1.0.0-dev (e365e4c05 2015-01-27 08:40:39)`.Utkarsh Kukreti
2015-01-27Add a `Mode` bitflags and use it instead of `std::io::FilePermission`.Utkarsh Kukreti
These constants are defined in POSIX [1] so we should export them anyways, plus we don't need to depend on `std::io` anymore! [breaking-change] [1]: http://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/stat.h.html
2015-01-21Add `ioctl`. Only supports the `TIOCGWINSZ` request right now.Utkarsh Kukreti
2015-01-20Make `tcgetattr` API more ergonomic.Utkarsh Kukreti
2015-01-20`pub use` all enum variants in `termios`.Utkarsh Kukreti
2015-01-20Add `termios` bindings.Utkarsh Kukreti
2015-01-13changed uint and int to usize and isize respectivelyRick Richardson
2015-01-09Fix a bad cfg on linuxCarl Lerche
2015-01-07more cstr falloutRick Richardson
2015-01-07ToCStr removal falloutValerii Hiora
2015-01-04Fix a few remaining deprecation noticesCarl Lerche
2015-01-03Update to rust masterValerii Hiora
- cstr fallout - deriving -> derive - lib stabilization warnings removal