summaryrefslogtreecommitdiff
path: root/src/mount.rs
AgeCommit message (Collapse)Author
2019-05-17Remove a redundant "use libc"Alan Somers
2018-12-08Replace try! with ?Alan Somers
try! is not available in Rust 2018
2017-12-10Migrate more bitflags to use libc_bitflags!Bryant Mairs
2017-12-10Remove internal kernel flagsBryant Mairs
2017-12-04Stop reexporting `Errno` and its variantsJonas Schievink
cc #664 (unsure if this is everything needed)
2017-08-16Match libc_bitflags! syntax to upstream bitflags!Bryant Mairs
2017-06-18Update bitflags to 0.9equal-l2
2017-02-19Fix the style for bitflags!Mathias Svensson
Prefer libc_bitflags! over bitflags!. Prefer libc::CONSTANTS over writing the constant manually.
2017-02-16Update bitflags to 0.7Simon Sapin
2016-04-16mount: Use bindings from libc instead of our ownBrian Pearce
2016-01-28Move errno::Result back to crate rootarcnmx
2016-01-28Errno::result()arcnmx
2016-01-27Bring back mountKamal Marhubi
Fixes https://github.com/carllerche/nix-rust/issues/85
2016-01-18Fix name of MNT_DETACH flagKamal Marhubi
2015-05-21Fix NixPath yield with CStr instead of OsStrCarl 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-03-24NixResult -> nix::Result; NixError -> nix::ErrorCarl Lerche
2015-02-27Temporarily remove mountCarl Lerche
2015-02-27Further SockAddr & NixPath cleanupCarl Lerche
2015-02-10Add `NixPath`, `NixError`, and `NixResult`.Utkarsh Kukreti
2015-02-06path -> old_pathFlorian Hartwig
2015-01-07more cstr falloutRick Richardson
2015-01-03Update to rust masterValerii Hiora
- cstr fallout - deriving -> derive - lib stabilization warnings removal
2014-12-18Add all now needed ';' after macro invocations.Victor Berger
2014-12-15bitflags! derives Copy for you now, so remove our derivings.Jonathan Reem
2014-12-10Fallout of Copy becoming opt-in.Victor Berger
2014-10-10Update static->constTilde Engineering
2014-08-20Start binding DarwinCarl Lerche
2014-08-16Epoll, rename to nix, misc cleanupCarl Lerche
2014-08-15Add mknod, mkdev, and umask APIsCarl Lerche
2014-08-13Add open(), tweak mount functionsCarl Lerche
2014-08-07Initial commitCarl Lerche