summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-02-28Use libc constants in sys/signal.rs.Philipp Matthias Schaefer
2016-02-27Add sigwaitZhe Wang
2016-02-25Limit MAP_NOSYNC flag to FreeBSD kinVasily Kolobkov
2016-02-25Withdraw MAP_STACK flag from OpenBSDVasily Kolobkov
2016-02-25Use libcVasily Kolobkov
2016-02-25Fix IPV6 group membership options on OpenBSDVasily Kolobkov
2016-02-25Use libc with OpenBSD kinVasily Kolobkov
2016-02-23Add support for AF_PACKET on linuxHerman J. Radtke III
2016-02-20Auto merge of #274 - abbradar:new-syscalls, r=kamalmarhubiHomu
New syscalls Part of #270
2016-02-20Auto merge of #271 - abbradar:mqueue-fixes, r=kamalmarhubiHomu
mqueue: change types to allow more cases Part of https://github.com/nix-rust/nix/pull/270, fixed according to @kamalmarhubi's comments.
2016-02-20mqueue: change types to allow more casesNikolay Amiantov
2016-02-20select: make FdSet CloneableNikolay Amiantov
2016-02-20select: allow infinite timeoutNikolay Amiantov
2016-02-20unistd: add chown syscallNikolay Amiantov
2016-02-19unistd: add setuid, setgid syscallsNikolay Amiantov
2016-02-14linux: Add splice(2), tee(2), vmsplice(2)Kamal Marhubi
2016-02-12linux: Add sendfile(2)Kamal Marhubi
2016-02-08signal: Allow raw_pointer_derive on SigAction structKamal Marhubi
This will fix the build on pre-1.6.0 Rust.
2016-02-04Let SigHandler derive Clone and CopyPhilipp Matthias Schaefer
and thereby make it usable.
2016-02-04Handle `SA_SIGINFO` flag in the constructor.Philipp Matthias Schaefer
If someone creates so many SigAction structs, that a few extra instructions per object creation create a performance problem, we could still provide an unsafe variant, that let's the user take care of the flag.
2016-02-04Account for the different signal handler types.Philipp Matthias Schaefer
2016-02-04Add comment on IPv6 address endianness.Philipp Matthias Schaefer
2016-02-04IPv6 addresses are always in big endian orderFrank Denis
no matter what the architecture is.
2016-02-01Implement SO_ACCEPTCONN sockoptStanisław Pitucha
Only known on linux, nacl, freebsd
2016-02-01Add SO_TYPE handling in getsockoptStanisław Pitucha
2016-01-29Convert MSG_ flags to bitflags! type.Philipp Matthias Schaefer
2016-01-29Add support for SO_{RCV,SND}BUF(FORCE)? sockoptsFrank Denis
2016-01-29cfg out MAP_32BIT on non-x86arcnmx
2016-01-28Rename to MapFlags and MsFlags.Philipp Matthias Schaefer
2016-01-28Convert MS_ flags to bitflags! type.Philipp Matthias Schaefer
2016-01-28Convert PROT_ flags to bitflags! type.Philipp Matthias Schaefer
2016-01-28Convert MAP_ flags to bitflags! type.Philipp Matthias Schaefer
2016-01-28Convert CLONE_ flags to bitflags! type.Philipp Matthias Schaefer
2016-01-28Use sockaddr_nl from libcKamal Marhubi
2016-01-28Derive all the thingsAlexander Polakov
as suggested by @kamalmarhubi
2016-01-28Fix style suggestions regarding #cfgAlexander Polakov
as pointed out by @kamalmarhubi
2016-01-28Netlink bitsAlexander Polakov
2016-01-28Move errno::Result back to crate rootarcnmx
2016-01-28Errno::result()arcnmx
2016-01-27Avoid stack allocation in with_nix_path for Option::NoneKamal Marhubi
2016-01-27Bring back mountKamal Marhubi
Fixes https://github.com/carllerche/nix-rust/issues/85
2016-01-27Implement NixPath for Option<&T> where T: NixPathKamal Marhubi
2016-01-27Implement NixPath for str and OsStrKamal Marhubi
This is a stop gap improvement until the NixPath reform is figured out. refs #221
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