diff options
author | Homu <homu@barosl.com> | 2016-12-17 01:09:44 +0900 |
---|---|---|
committer | Homu <homu@barosl.com> | 2016-12-17 01:09:44 +0900 |
commit | 9b81000bdaa1636017f88609337c972a04effad8 (patch) | |
tree | 01384c688ff68f87aa816929f33e436068015447 /CHANGELOG.md | |
parent | 5e932dcc35a3bb790155b1f438c5dd418ef01f77 (diff) | |
parent | ef257e055688cd088c1a27034742412caa7e208a (diff) | |
download | nix-9b81000bdaa1636017f88609337c972a04effad8.zip |
Auto merge of #478 - conradev:sys-control, r=fiveop
Add support for system control sockets for XNU
I added support for macOS and iOS system sockets, which can be used to control the kernel as described [here](https://developer.apple.com/library/content/documentation/Darwin/Conceptual/NKEConceptual/control/control.html).
To do this, I had to add in support for `ioctl` on those platforms, so I added in `ioctl` support for all BSD-based platforms. The API seems to be the same between [xnu](https://opensource.apple.com/source/xnu/xnu-3248.60.10/bsd/sys/ioccom.h.auto.html), [FreeBSD](https://github.com/freebsd/freebsd/blob/master/sys/sys/ioccom.h), [NetBSD](https://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/sys/sys/ioccom.h), [OpenBSD](http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/sys/ioccom.h?rev=1.5&content-type=text/x-cvsweb-markup) and [Dragonfly BSD](http://gitweb.dragonflybsd.org/dragonfly.git/blob/HEAD:/sys/sys/ioccom.h).
I added a test that runs on macOS and iOS for the functionality. Let me know if I need to make any changes!
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 23519334..6ff9cf7a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] ### Added +- Added support for XNU system control sockets + ([#478](https://github.com/nix-rust/nix/pull/478)) +- Added support for `ioctl` calls on BSD platforms + ([#478](https://github.com/nix-rust/nix/pull/478)) - Added struct `TimeSpec` ([#475](https://github.com/nix-rust/nix/pull/475)) - Added complete definitions for all kqueue-related constants on all supported @@ -26,6 +30,8 @@ This project adheres to [Semantic Versioning](http://semver.org/). ([#491](https://github.com/nix-rust/nix/pull/491)) ### Changed +- Removed the `bad` keyword from the `ioctl!` macro + ([#478](https://github.com/nix-rust/nix/pull/478)) - Changed `TimeVal` into an opaque Newtype ([#475](https://github.com/nix-rust/nix/pull/475)) - `kill`'s signature, defined in `::nix::sys::signal`, changed, so that the |