summaryrefslogtreecommitdiff
path: root/test/sys/test_aio.rs
diff options
context:
space:
mode:
authorHomu <homu@barosl.com>2016-12-17 01:09:44 +0900
committerHomu <homu@barosl.com>2016-12-17 01:09:44 +0900
commit9b81000bdaa1636017f88609337c972a04effad8 (patch)
tree01384c688ff68f87aa816929f33e436068015447 /test/sys/test_aio.rs
parent5e932dcc35a3bb790155b1f438c5dd418ef01f77 (diff)
parentef257e055688cd088c1a27034742412caa7e208a (diff)
downloadnix-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 'test/sys/test_aio.rs')
0 files changed, 0 insertions, 0 deletions