summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
AgeCommit message (Collapse)Author
2017-08-01add socket constants already present in libcNicolas Dusart
2017-07-30Merge #672bors[bot]
672: add poll module in Android r=Susurrus `poll` functions are defined in Android as well. libc is missing some constant, but once rust-lang/libc#663 is merged, it'll be good to merge here. Closes #711
2017-07-26add poll module for all platformsNicolas Dusart
2017-07-25Add a changelog entryMarcin Mielniczuk
2017-07-25Bump version to 0.10.0-preAlan Somers
2017-07-25Release 0.9.0Alan Somers
2017-07-25Add CHANGELOG entry for PR #661Alan Somers
2017-07-25Add WaitStatus::PtraceSyscall for use with PTRACE_O_TRACESYSGOODGeoffrey Thomas
The recommended way to trace syscalls with ptrace is to set the PTRACE_O_TRACESYSGOOD option, to distinguish syscall stops from receiving an actual SIGTRAP. In C, this would cause WSTOPSIG to return SIGTRAP | 0x80, but nix wants to parse that as an actual signal. Add another wait status type for syscall stops (in the language of the ptrace(2) manpage, "PTRACE_EVENT stops" and "Syscall-stops" are different things), and mask out bit 0x80 from signals before trying to parse it. Closes #550
2017-07-25Update changelogBryant Mairs
2017-07-23Bump version to 0.10.0-preAlan Somers
2017-07-23Release 0.9.0Alan Somers
2017-07-23Add CHANGELOG entry for PR #661Alan Somers
2017-07-21Add WaitStatus::PtraceSyscall for use with PTRACE_O_TRACESYSGOODGeoffrey Thomas
The recommended way to trace syscalls with ptrace is to set the PTRACE_O_TRACESYSGOOD option, to distinguish syscall stops from receiving an actual SIGTRAP. In C, this would cause WSTOPSIG to return SIGTRAP | 0x80, but nix wants to parse that as an actual signal. Add another wait status type for syscall stops (in the language of the ptrace(2) manpage, "PTRACE_EVENT stops" and "Syscall-stops" are different things), and mask out bit 0x80 from signals before trying to parse it. Closes #550
2017-07-19Update changelogBryant Mairs
2017-07-18Update changelogBryant Mairs
2017-07-15Merge #630bors[bot]
630: Add wrappers for sysconf(3), pathconf(2), and fpathconf(2) r=asomers
2017-07-15Add sysconf(3), pathconf(2), and fpathconf(2)Alan Somers
2017-07-10Update changelog for termios PRBryant Mairs
2017-07-10Cleanup the changelogBryant Mairs
2017-07-10Fix sendmsg on macOS when passing a zero entry cmsgs array.Matthew Gregan
2017-07-08Enable ptrace on all Linux platformsGeoffrey Thomas
Nothing that nix currently binds is architecture-specific, and Android supports ptrace just as much as non-Android Linux.
2017-07-07sys/statfs: use statfs from libcJörg Thalheim
the previous definition were linux specific.
2017-07-05We need to pass by value and not by pointer for writing ioctlsBastian Köcher
2017-07-04Make Android a Tier 2 targetroblabla
2017-07-04Allow nix to compile on android targetsroblabla
2017-07-02Newtypes for uid_t, gid_t and pid_t.Martin Habovštiak
2017-06-15Change sched_setaffinity's PID argument to pid_tJulian Squires
The officially documented type, and the type in sched.h, for this argument is pid_t.
2017-06-13Added ptrace utilities.Daniel McKenna
Some ptrace functions return structures through the data argument. This commit adds utilities to return data through this mechanism and function specialisations for a few of these functions (getting event messages or the siginfo_t struct). Once the next version of libc is released these utilities will be expanded to include the fpregs and user_regs structs. Ptrace requests that are now satisfied by a more specific public function will return an unsupported operation error. This has involved adding an UnsupportedOperation to the nix::Error enum and removed the mapping from Error to Errno and from Error to std::io::Error.
2017-06-12Add openpty()Kelvin Ly
2017-06-04Add pthread_selfking6cong
2017-06-01Add SigAction gettersHenning Ottesen
* SigAction::flags() * SigAction::mask() * SigAction::handler()
2017-05-16Add various pty functionsBryant Mairs
* grantpt * ptsname/ptsname_r * posix_openpt * unlockpt
2017-04-17Merge #564bors[bot]
564: select.rs FdSet: method `contains' should not mutate anything r=posborne The method does not change anything, so I updated the type signature. Tests pass.
2017-04-16Add v0.8.1 to changelogKamal Marhubi
v0.8.1 was released to fix the broken build on FreeBSD. It is v0.8.0 with a859ee3 cherry-picked. refs #567
2017-04-16Self should not be mutated (pull request 564)diekmann
2017-04-16Merge #581bors[bot]
581: Fix syntax for changelog and add missing feature r=Susurrus
2017-04-15Add AioCb::from_boxed_sliceAlan Somers
The existing AioCb constructors work for simple programs where everything is stored on the stack. But in more complicated programs the borrow checker can't prove that a buffer will outlive the AioCb that references it. Fix this problem by introducting AioCb::from_boxed_slice, which takes a reference-counted buffer. Fixes #575
2017-04-15Fix syntax for changelog and add missing featureBryant Mairs
2017-04-15Update changelogBryant Mairs
Some entries were erroneously listed under the 0.8.0 release.
2017-04-09Updated changelog.Zac Berkowitz
2017-03-22add support `readlink|readlinkat`Jörg Thalheim
2017-03-21add support for `fstatat`Jörg Thalheim
2017-03-21add support for `openat`Jörg Thalheim
2017-03-19Minor edit to changelogKamal Marhubi
Add section headings, commenting out unused ones.
2017-03-19Add changelog entry for mman safety changesKevin Mehall
2017-03-04Auto merge of #542 - Susurrus:revents, r=fiveopHomu
Remove revents from PollFd::new I could've used a `0i16`here as well but I liked the better semantics of `empty()`.
2017-03-02Remove revents from PollFd::newBryant Mairs
revents is an output field so regardless of what value it is set to it will be overwritten by many of the function calls that take a PollFd. The only value that makes sense for the caller to pass in in `EventFlags::empty()` so we just hardcode that instead of making the caller do it.
2017-03-02Bump to v0.8.1-preKamal Marhubi
2017-03-01Release v0.8.0Kamal Marhubi
closes #519
2017-02-28fcntl: Expose FcntlArg variants at the module levelKamal Marhubi
This allows importing them directly from `nix::fcntl` which is more ergonomic than needing to use them via `FcntlArg`.