Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename the public ptrace_* functions. #692

Merged
merged 43 commits into from
Jul 25, 2017
Merged
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
b4f1749
Rename the public ptrace_* functions.
marmistrz Jul 20, 2017
3192df4
Fix tests
marmistrz Jul 20, 2017
d5c4d0f
Tidy up imports in test_ptrace.rs
marmistrz Jul 20, 2017
18b2bc1
Get rid of the bulk imports
marmistrz Jul 21, 2017
8928a7d
Remove old workaround
Susurrus Jul 11, 2017
1b9a779
Re-add bad variant of ioctl!
Susurrus Jul 11, 2017
a5b01c0
Add a "bad none" variant to the ioctl macro
Susurrus Jul 11, 2017
2fe5c2b
Hide internal macros/types within ioctl
Susurrus Jul 11, 2017
233a678
Remove unnecessary path aliasing
Susurrus Jul 11, 2017
55a7d4b
Revise ioctl module documentation
Susurrus Jul 11, 2017
caaffb8
Remove ioc_* functions
Susurrus Jul 11, 2017
82e0139
Use the proper ioctl number type depending on target
Susurrus Jul 11, 2017
e4a1851
Remove c_int and c_void from root
Susurrus Jul 12, 2017
88dc19b
Remove unnecessary constants
Susurrus Jul 12, 2017
7b07847
Unify argument names to generated ioctl functions
Susurrus Jul 13, 2017
3cf4cc6
Split ioctl!(write ...) into write_ptr and write_int
Susurrus Jul 18, 2017
571386b
Add 'bad' prefixes for read, write_*, and readwrite ioctls
Susurrus Jul 13, 2017
d63c616
Refactor ioctl! for buffers
Susurrus Jul 13, 2017
93b2929
Update changelog
Susurrus Jul 17, 2017
085f47c
Fix thread safety issues in pty and termios tests
asomers Jul 20, 2017
1c9e0ca
fix some tests for Android
ndusart Jul 20, 2017
2a5b86d
Remove workaround for `pub extern crate`
jonas-schievink Jul 20, 2017
b6ad298
Remove `homepage` from Cargo.toml
jonas-schievink Jul 20, 2017
845453b
Add tests of actual ioctl usage
Susurrus Jul 20, 2017
903a52f
Add WaitStatus::PtraceSyscall for use with PTRACE_O_TRACESYSGOOD
geofft Mar 28, 2017
2288202
Document WaitStatus and its variants
geofft Jun 20, 2017
907bb98
use std::env::temp_dir() to retrieve the temp directory in test_mkstemp
ndusart Jul 20, 2017
a162ea2
Allow doc attributes in ioctl macro
roblabla Jul 8, 2017
745a4ab
Document invariants of fork and fix tests
jonas-schievink Jul 20, 2017
4cefd53
Remove unneeded local
jonas-schievink Jul 22, 2017
536787e
Replace remaining process::exit with libc::_exit
jonas-schievink Jul 22, 2017
283fb1c
Add CHANGELOG entry for PR #661
asomers Jul 24, 2017
f3167db
Release 0.9.0
asomers Jul 24, 2017
021e851
Bump version to 0.10.0-pre
asomers Jul 24, 2017
8beaea2
Move Tier 3s to Tier 2
Susurrus Jul 9, 2017
46191fd
Disable tests on s390x
Susurrus Jul 9, 2017
a717003
Disable failing tests on mips64
Susurrus Jul 9, 2017
ce60aa5
Disable testing because of musl #include issues
Susurrus Jul 9, 2017
1844378
Add a changelog entry
marmistrz Jul 25, 2017
6583fd1
Merge branch 'master' into ptrace-rename
marmistrz Jul 25, 2017
9cf8248
Fix the tests compiling
marmistrz Jul 25, 2017
6ce39a6
Merge branch 'ptrace-rename' of github.com:marmistrz/nix into ptrace-…
marmistrz Jul 25, 2017
bf93180
Remove the TODO comments, add unwrap() for ptrace.
marmistrz Jul 25, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -24,11 +24,12 @@ This project adheres to [Semantic Versioning](http://semver.org/).
and nix::Error::UnsupportedOperation}`
([#614](https://github.com/nix-rust/nix/pull/614))
- Added `cfmakeraw`, `cfsetspeed`, and `tcgetsid`. ([#527](https://github.com/nix-rust/nix/pull/527))
- Added "bad none", "bad write_ptr", "bad write_int", and "bad readwrite" variants to the `ioctl!`
macro. ([#670](https://github.com/nix-rust/nix/pull/670))

### Changed
- Changed `ioctl!(write ...)` to take argument by value instead as pointer.
If you need a pointer as argument, use `ioctl!(write buf ...)`.
([#626](https://github.com/nix-rust/nix/pull/626))
- Changed `ioctl!(write ...)` into `ioctl!(write_ptr ...)` and `ioctl!(write_int ..)` variants
to more clearly separate those use cases. ([#670](https://github.com/nix-rust/nix/pull/670))
- Marked `sys::mman::{ mmap, munmap, madvise, munlock, msync }` as unsafe.
([#559](https://github.com/nix-rust/nix/pull/559))
- Minimum supported Rust version is now 1.13.
@@ -48,13 +49,21 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Revised the termios API including additional tests and documentation and exposed it on iOS. ([#527](https://github.com/nix-rust/nix/pull/527))
- `eventfd`, `signalfd`, and `pwritev`/`preadv` functionality is now included by default for all
supported platforms. ([#681](https://github.com/nix-rust/nix/pull/561))
- The `ioctl!` macro's plain variants has been replaced with "bad read" to be consistent with
other variants. The generated functions also have more strict types for their arguments. The
"*_buf" variants also now calculate total array size and take slice references for improved type
safety. The documentation has also been dramatically improved.
([#670](https://github.com/nix-rust/nix/pull/670))

### Removed
- Removed `io::Error` from `nix::Error` and the conversion from `nix::Error` to `Errno`
([#614](https://github.com/nix-rust/nix/pull/614))
- All feature flags have been removed in favor of conditional compilation on supported platforms.
`execvpe` is no longer supported, but this was already broken and will be added back in the next
release. ([#681](https://github.com/nix-rust/nix/pull/561))
- Removed `ioc_*` functions and many helper constants and macros within the `ioctl` module. These
should always have been private and only the `ioctl!` should be used in public code.
([#670](https://github.com/nix-rust/nix/pull/670))

### Fixed
- Fixed multiple issues compiling under different archetectures and OSes.
@@ -73,6 +82,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
([#623](https://github.com/nix-rust/nix/pull/623))
- Multiple constants related to the termios API have now been properly defined for
all supported platforms. ([#527](https://github.com/nix-rust/nix/pull/527))
- `ioctl!` macro now supports working with non-int datatypes and properly supports all platforms.
([#670](https://github.com/nix-rust/nix/pull/670))

## [0.8.1] 2017-04-16