Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-01-18 | improve bsd unixes ipv6 support | arthurprs | |
2016-01-18 | Update to libc 0.2.4 | User Vagrant | |
2016-01-18 | Disable IPV6_ADD_MEMBERSHIP on freebsd | User Vagrant | |
2016-01-18 | allow improper_ctypes for size_t | Mattis Marjak | |
2016-01-18 | fix on mac | Mattis Marjak | |
2016-01-18 | update libc to 0.2.2 | Mattis Marjak | |
2016-01-18 | Add POSIX function raise() | Philipp Matthias Schaefer | |
2016-01-18 | Publish 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-18 | Fix name of MNT_DETACH flag | Kamal Marhubi | |
2016-01-18 | setns | arcnmx | |
2016-01-15 | add aarch64 support | Brian Martin | |
2016-01-13 | Add safe wrappers for getuid, geteuid, getgid, getegid | Kamal Marhubi | |
Fixes #213 | |||
2015-12-22 | Fix build on Linux & Rust nightly | Carl Lerche | |
2015-12-22 | Fix broken tests on nightly | Carl Lerche | |
2015-12-22 | add NSIG constant | Philipp 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-22 | Implement support for getsockopt of peer credentials using the Linux ↵ | Magnus Hoff | |
specific SO_PEERCRED | |||
2015-12-04 | socket(): add protocol argument (breaking change) | Alexander Polakov | |
2015-12-03 | add function for handling PTRACE_SETOPTIONS nicely | David Roundy | |
2015-12-03 | add an implementation of setpgid | David Roundy | |
2015-12-03 | support more flags to waitpid and wait on linux | David Roundy | |
2015-12-03 | NetBSD tweaks for kqueue support | Zachary Tong | |
2015-12-03 | Statvfs improvements | Brandon W Maister | |
* Implement `Default` * Add documentation * Add some convenience wrappers | |||
2015-11-20 | netbsd support | Jeremy Fitzhardinge | |
2015-11-03 | Use `libc::PATH_MAX` in `NixPath::with_nix_path`. | Utkarsh Kukreti | |
2015-10-28 | Fix handling of sockaddr_un lengths | Geoffrey 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-27 | Improve Error interoperability with std | Jeremy 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-27 | Add support for fsync, fdatasync | Jeremy Fitzhardinge | |
2015-10-27 | Fix some comments | Jeremy Fitzhardinge | |
2015-10-20 | Move a few bindings behind features | Carl Lerche | |
2015-10-16 | Fix memory issue with exec family of fns | Carl Lerche | |
2015-10-07 | Add sys::select::FdSet::clear. | Utkarsh Kukreti | |
2015-10-06 | Add support for sendmsg(2), recvmsg(2), and cmsg(3) | Geoffrey Thomas | |
The best specification for control message layout appears to be [RFC 2292, section 4](https://tools.ietf.org/html/rfc2292#section-4), despite this not being a wire protocol. These definitions have also been checked against glibc 2.19 <bits/socket.h> and Linux 4.0 <linux/socket.h>, and tested on Debian 8.1 and FreeBSD 10.2 x86_64. The API differs a bit from the cmsg(3) API for type-safety reasons (and also because the cmsg(3) API is terrible). See test/sys/test_socket.rs for an example. Only supports SCM_RIGHTS at the moment. Fixes #88. | |||
2015-09-28 | statfs() & fstatfs() | Alexander Polakov | |
2015-09-28 | sys/event: add kevent_ts to better expose kevent timeout | Luca Barbieri | |
This allows to specify no timeout and allows to specify any timespec timeout. | |||
2015-09-28 | added convenience functions for setting O_NONBLOCK on message queues | Markus Jais | |
2015-09-28 | quotactl() API for linux | Alexander Polakov | |
2015-09-28 | Revert "Add support for sendmsg(2), recvmsg(2), and cmsg(4)" | Carl Lerche | |
This reverts commit 046af7d1ba82506f9bc48e62ac0584361025fc02. | |||
2015-09-28 | Add sys::select::FdSet and sys::select::select. | Utkarsh Kukreti | |
2015-09-24 | Add support for sendmsg(2), recvmsg(2), and cmsg(4) | Geoffrey Thomas | |
The best specification for control message layout appears to be [RFC 2292, section 4](https://tools.ietf.org/html/rfc2292#section-4), despite this not being a wire protocol. These definitions have also been checked against glibc 2.19 <bits/socket.h> and Linux 4.0 <linux/socket.h>, and tested on Debian 8.1 and FreeBSD 10.2 x86_64. The API differs a bit from the cmsg(4) API for type-safety reasons (and also because the cmsg(4) API is terrible). See test/sys/test_socket.rs for an example. Only supports SCM_RIGHTS at the moment. Fixes #88. | |||
2015-09-15 | ioctl: only run ioctl doctest under linux | Paul Osborne | |
2015-09-15 | ioctl: correct documentation and add example ioctl! code | Paul Osborne | |
2015-09-15 | ioctl: make ioctl functions public | Paul Osborne | |
Consumers of the API may control visibility by means of a module. The following is a useful pattern that may be used by implementors (here for a couple of i2cdev ioctl definitions): mod ioctl { ioctl!(bad set_i2c_slave_address with super::I2C_SLAVE); ioctl!(bad i2c_smbus with super::I2C_SMBUS); } This resolves #184. | |||
2015-09-15 | ioctl: clean up source file for ioctls | Paul Osborne | |
Readability was unecessarily impaired via a myriad of attributes to hide constants from the documentation. If these attributes are exposed publically, including them in the documentation makes sense. | |||
2015-09-10 | Add signalfd support | Alex Gulyás | |
2015-09-09 | Add/Fix support for DragonFly BSD | Michael Neumann | |
2015-09-03 | added support and tests for mq_setattr | Markus Jais | |
2015-09-03 | Fix test failures on FreeBSD | Geoffrey Thomas | |
2015-09-03 | Make tests compile on FreeBSD | Geoffrey Thomas | |
Add <sys/types.h>, which GNU is generally lenient about requiring, and drop the spurious errno "ETYPE" which is nowhere to be seen in the source tree (or in Apple's <errno.h>, either). | |||
2015-09-03 | Fix the struct packing of EpollEvent | Alex Gulyás | |
2015-08-25 | Add memfd functionality | David Henningsson | |