Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-06-18 | Fix BSD error | equal-l2 | |
2017-06-18 | Update bitflags to 0.9 | equal-l2 | |
2017-03-18 | Actually mark mmap and related functions as `unsafe` | Kevin Mehall | |
The nix::sys::mman::mmap documentation says > Calls to mmap are inherently unsafe, so they must be made in an unsafe block. however, the function was not actually marked unsafe. * `munmap` should also be `unsafe` for obvious reasons. * `madvise` should be `unsafe` because of the MADV_DONTNEED flag. * `mlock` was already marked `unsafe` * `munlock` and `msync` don't strictly need to be `unsafe` despite taking pointers AFAICT, but are marked `unsafe` for consistency and in case they add additional flags in the future. | |||
2017-02-19 | Fix the style for bitflags! | Mathias Svensson | |
Prefer libc_bitflags! over bitflags!. Prefer libc::CONSTANTS over writing the constant manually. | |||
2017-02-16 | Update bitflags to 0.7 | Simon Sapin | |
2016-07-18 | Fix NetBSD build | Tobias Bucher | |
2016-03-16 | mman: Use libc_bitflags macro for ProtFlags | Kamal Marhubi | |
This serves as an example use of the libc_bitflags macro. | |||
2016-02-25 | Limit MAP_NOSYNC flag to FreeBSD kin | Vasily Kolobkov | |
2016-02-25 | Withdraw MAP_STACK flag from OpenBSD | Vasily Kolobkov | |
2016-02-25 | Use libc | Vasily Kolobkov | |
2016-01-29 | cfg out MAP_32BIT on non-x86 | arcnmx | |
2016-01-28 | Rename to MapFlags and MsFlags. | Philipp Matthias Schaefer | |
2016-01-28 | Convert MS_ flags to bitflags! type. | Philipp Matthias Schaefer | |
2016-01-28 | Convert PROT_ flags to bitflags! type. | Philipp Matthias Schaefer | |
2016-01-28 | Convert MAP_ flags to bitflags! type. | Philipp Matthias Schaefer | |
2016-01-28 | Move errno::Result back to crate root | arcnmx | |
2016-01-28 | Errno::result() | arcnmx | |
2016-01-18 | allow improper_ctypes for size_t | Mattis Marjak | |
2015-11-20 | netbsd support | Jeremy Fitzhardinge | |
2015-09-09 | Add/Fix support for DragonFly BSD | Michael Neumann | |
2015-05-29 | Basic OpenBSD support. | Laurence Tratt | |
Some of the tests are currently unrunnable, but the basic library is at least buildable. | |||
2015-05-28 | Remove std::os::unix::io::RawFd re-export | Carl Lerche | |
2015-05-21 | Fix NixPath yield with CStr instead of OsStr | Carl Lerche | |
As described in #117, the `AsExtStr` trait is defined to return a raw `*const libc::c_char`. Its impl for `OsStr` simply borrowed the byte slice from its `OsStr` argument and cast it to a `*const libc::c_char`, which does not construct a proper null-terminated C string. Given this, the `AsExtStr` is not necessary and is removed. `NixPath` is updated to yield `CStr`. Fixes #117, #120 Thanks to @dead10ck | |||
2015-05-11 | Get the library to build on freebsd | Andrew J. Stone | |
`cargo build` works. | |||
2015-03-24 | NixResult -> nix::Result; NixError -> nix::Error | Carl Lerche | |
2015-03-13 | Amend some files to make it compile on arm-linux-androideabi. | kennytm | |
2015-02-27 | Further SockAddr & NixPath cleanup | Carl Lerche | |
2015-02-10 | Add `NixPath`, `NixError`, and `NixResult`. | Utkarsh Kukreti | |
2015-01-27 | Add 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-13 | changed uint and int to usize and isize respectively | Rick Richardson | |
2015-01-07 | ToCStr removal fallout | Valerii Hiora | |
2015-01-03 | Update to rust master | Valerii Hiora | |
- cstr fallout - deriving -> derive - lib stabilization warnings removal | |||
2014-12-22 | Fixed building on iOS | Valerii Hiora | |
2014-12-17 | added msync, madvise, and requisite constants for macos and linux | Rick Richardson | |
2014-10-27 | Add mmap, shm_open and other mman relatives | Phil Vachon | |
Add various wrappers to make interacting with Rust a bit more pleasant for memory management. Additionally, provide ftruncate(2), which is useful when working with shared memory. Allow managing CPU affinity of a Rust Task living in a system thread. |