summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-01-27Use the net module unconditionallyKamal Marhubi
The functions defined are POSIX and should exist on all platforms nix supports.
2016-01-27Use NixPath for if_nametoindexKamal Marhubi
2016-01-27Use function name as it is used in C.Marc Brinkmann
2016-01-27Added note regarding naming.Marc Brinkmann
2016-01-27Use nix::Result explicitly.Marc Brinkmann
2016-01-27Changed Error type to nix::Error.Marc Brinkmann
2016-01-27Do not use extern, but if_nametoindex from libc instead.Marc Brinkmann
2016-01-27Added if_nametoindex (and necessary module based on Cs net/if.h)Marc Brinkmann
2016-01-25Fix an indentarcnmx
2016-01-25Normalize tabs to spacesarcnmx
2016-01-25Implement NixPath for CStrKamal Marhubi
This makes NixPath more versatile while waiting to see if there will be a NixPath overhaul. Refs https://github.com/carllerche/nix-rust/issues/221
2016-01-25Add everything from poll.h.Utkarsh Kukreti
2016-01-21Use libc constants for signals.Philipp Matthias Schaefer
2016-01-18improve bsd unixes ipv6 supportarthurprs
2016-01-18Update to libc 0.2.4User Vagrant
2016-01-18Disable IPV6_ADD_MEMBERSHIP on freebsdUser Vagrant
2016-01-18allow improper_ctypes for size_tMattis Marjak
2016-01-18fix on macMattis Marjak
2016-01-18update libc to 0.2.2Mattis Marjak
2016-01-18ci: Test on Rust stable, beta, 1.1.0+Kamal Marhubi
refs https://github.com/carllerche/nix-rust/issues/238
2016-01-18Add POSIX function raise()Philipp Matthias Schaefer
2016-01-18Publish SockFlags from nix::sys::signal.Philipp Matthias Schaefer
This brings them in alignment with other things republished from the OS specific nix::sys::signal::signal.
2016-01-18Fix name of MNT_DETACH flagKamal Marhubi
2016-01-18setnsarcnmx
2016-01-15add aarch64 supportBrian Martin
2016-01-13Use tempdir for temporary files in testsKamal Marhubi
2016-01-13Add safe wrappers for getuid, geteuid, getgid, getegidKamal Marhubi
Fixes #213
2016-01-13Fix compiler warnings in testsKamal Marhubi
2015-12-22Fix build on Linux & Rust nightlyCarl Lerche
2015-12-22Fix broken tests on nightlyCarl Lerche
2015-12-22add NSIG constantPhilipp Matthias Schaefer
glibc defines this constant as "the total number of signals defined. Since the signal numbers are allocated consecutively, NSIG is also one greater than the largest defined signal number."
2015-12-22Implement support for getsockopt of peer credentials using the Linux ↵Magnus Hoff
specific SO_PEERCRED
2015-12-22Bump version to 0.5.0-preCarl Lerche
2015-12-04socket(): add protocol argument (breaking change)Alexander Polakov
2015-12-03Bump version to v0.4.2Carl Lerche
2015-12-03add function for handling PTRACE_SETOPTIONS nicelyDavid Roundy
2015-12-03add an implementation of setpgidDavid Roundy
2015-12-03support more flags to waitpid and wait on linuxDavid Roundy
2015-12-03NetBSD tweaks for kqueue supportZachary Tong
2015-12-03Statvfs improvementsBrandon W Maister
* Implement `Default` * Add documentation * Add some convenience wrappers
2015-11-20netbsd supportJeremy Fitzhardinge
2015-11-03Bump libc to 0.1.12.Utkarsh Kukreti
2015-11-03Use `libc::PATH_MAX` in `NixPath::with_nix_path`.Utkarsh Kukreti
2015-10-28Fix handling of sockaddr_un lengthsGeoffrey Thomas
The returned length of AF_UNIX sockaddrs is significant, and generally does not match the length of the entire structure. For filesystem sockets, this is ignorable because the path is also NUL-terminated, but for unbound sockets (e.g., a socketpair) or abstract-namespace sockets (a Linux extension where the address is an arbitrary bytestring), we need to keep track of the length. Fixes #177. Also add a UnixAddr::new_abstract function and some better handling of abstract-namespace socket addresses to fix #169.
2015-10-27Improve Error interoperability with stdJeremy Fitzhardinge
- Add From implementaion for io::Error, so nix::Error can be turned into a std::io::Error. - Add From from Errno - a little more idiomatic than from_errno these days - Implement std::error::Error for nix::Error
2015-10-27Add support for fsync, fdatasyncJeremy Fitzhardinge
2015-10-27Fix some commentsJeremy Fitzhardinge
2015-10-20Only run signalfd tests when feature is setCarl Lerche
2015-10-20Scope test by signalfdCarl Lerche
2015-10-20Move a few bindings behind featuresCarl Lerche