summaryrefslogtreecommitdiff
path: root/src/mount.rs
AgeCommit message (Collapse)Author
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