Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-05-21 | Test sockopt const values | Carl Lerche | |
2015-05-21 | Add socket::shutdown function | hoxnox | |
libc::funcs::bsd43::shutdown is used | |||
2015-05-19 | Bump version to v0.3.6 | Carl Lerche | |
2015-05-19 | added getpid and getppid | Markus Jais | |
2015-05-16 | cleaned up mq unit tests | Markus Jais | |
2015-05-13 | docs: fix module documentation for ioctl | Paul Osborne | |
Two problems were fixed: 1. All of the comments for the module were prefixed with `///!` instead of just `//!` 2. There was no newline before lists which is required in markdown, so they were not rendering correctly. | |||
2015-05-12 | ioctl: modify type signatures to match common ioctl usage and libc impls | Paul Osborne | |
The ioctl interface expected by most external parties is that of an unsigned long (c_ulong). The libc crate expects as an int. This change exposes c_ulong (via ioctl_op_t) to external users and casts to c_int before calling the libc function. The only documentation in SUSv3 for ioctl has to do with stream devices. The support documented there is not widely supported (it is not supported by the Linux kernel)[1]. [1] The Linux Programming Interface, Page 86. | |||
2015-05-12 | ioctl: implement generic support for the ioctl syscall and supporting functions | Paul Osborne | |
This commit provides a new implementation for ioctl that is much more generic, allowing for clients to use send any manner of ioctl requests at special files. The implementation provides two main features that help to raise the level of abstraction over that provided by libc. 1. The module now provides functions that provide the same functionality as the linux kernel _IO* macros. These are used frequently in the linux kernel for building ops for ioctls. The use of these helper functions are not required. 2. Functions are provided for the 3 main types of ioctl usage patterns (read, write, and execute). For many subystems, the read() call which returns a Result<T> and the write calls taking a &T provide a nice interface. All of the methods wrapping ioctl are unsafe and will probably need to remain that way unless knowledge of the semantics of every possible ioctl call are added to the nix library. The best that exists for ioctls are some conventions around the op, but even these conventions are really only used for newer devices added to the kernel. This change resolves #108 | |||
2015-05-11 | Get the library to build on freebsd | Andrew J. Stone | |
`cargo build` works. | |||
2015-05-08 | Add lstat | Skyler Hawthorne | |
2015-05-07 | Scope to unix platforms | Carl Lerche | |
2015-05-07 | More multicast support | Carl Lerche | |
2015-05-05 | feat: add execvpe | Qingping Hou | |
2015-04-28 | feat: add chroot syscall | Qingping Hou | |
2015-04-27 | Basic Posix MQ support | Markus Jais | |
2015-04-26 | Bump version to v0.3.5 | Carl Lerche | |
2015-04-24 | sched: add support for arm linux using same cpuset_attribs as android | Paul Osborne | |
The limit of 32 cores may not actually be a limit with arm-linux, but I am not aware of anything in excess of 32 processors out there currently and this is what I have been running for awhile now on a beaglebone black (`--target=arm-unknown-linux-gnueabihf`). This change addresses #95 and relates to #97. | |||
2015-04-24 | Run CI on beta and nightly | Carl Lerche | |
2015-04-24 | FromPrimitive is no more | Florian Hartwig | |
2015-04-20 | Bump version to v0.3.4 | Carl Lerche | |
2015-04-20 | Fix build on Rust nightlies | Carl Lerche | |
2015-04-18 | Added OOB_INLINE socket option | Valerii Hiora | |
2015-04-14 | Make `sigaction` unsafe | Tobias Bucher | |
This is done because interrupted execution has soundness bugs regarding thread-local storage. Fixes #90. | |||
2015-04-11 | Add socketpair | Florian Hartwig | |
2015-04-08 | Bring back eventfd behind a feature flag | Carl Lerche | |
At some point, feature flags will be switched to a conditional build system. | |||
2015-04-07 | Bump version to v0.3.3 | Carl Lerche | |
2015-04-07 | Error on warnings | Carl Lerche | |
2015-04-07 | Add Error::from_errno | Carl Lerche | |
2015-04-06 | Use fcntl:Fd vs. std::os::unix::io::RawFd | Carl Lerche | |
2015-04-06 | Get compiling on Rust 1.0 beta | Carl 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 now | Florian Hartwig | |
2015-04-03 | Fd ist now RawFd | Florian Hartwig | |
2015-04-01 | Bump version to v0.3.2 | Carl Lerche | |
2015-04-01 | Bump dependency versions | Carl Lerche | |
2015-04-01 | Remove usage of std::num::Int | Carl Lerche | |
2015-04-01 | Fix argument order for copy* functions | Florian Hartwig | |
2015-03-31 | Track Rust nightly | Carl Lerche | |
2015-03-28 | Track Rust nightly | Carl Lerche | |
2015-03-25 | Use libc from crates.io | Carl Lerche | |
2015-03-25 | Tweak conversion in test | Carl Lerche | |
2015-03-25 | Fix manifest excludes | Carl Lerche | |
2015-03-25 | Bump version to 0.3.1 | Carl Lerche | |
2015-03-25 | Track Rust master | Carl Lerche | |
2015-03-25 | Bump version to 0.3.0 | Carl Lerche | |
2015-03-24 | Bump rand dev dependency | Carl Lerche | |
2015-03-24 | NixResult -> nix::Result; NixError -> nix::Error | Carl Lerche | |
2015-03-19 | Track Rust nightlies | Carl Lerche | |
2015-03-18 | Implement errno() on NixError | Carl Lerche | |
2015-03-16 | Fix deprecation warnings | Carl Lerche | |
2015-03-16 | Fix on 32bit platforms | Carl Lerche | |