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

Add memalign to Redox (for use in allocator) #478

Merged
merged 1 commit into from
Dec 21, 2016
Merged

Add memalign to Redox (for use in allocator) #478

merged 1 commit into from
Dec 21, 2016

Conversation

jackpot51
Copy link
Contributor

@jackpot51 jackpot51 commented Dec 21, 2016

This is required to satisfy a review item here: rust-lang/rust#38401

@rust-highfive
Copy link

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Contributor

bors commented Dec 21, 2016

📌 Commit 6ff14a9 has been approved by alexcrichton

@bors
Copy link
Contributor

bors commented Dec 21, 2016

⌛ Testing commit 6ff14a9 with merge e49e9bb...

bors added a commit that referenced this pull request Dec 21, 2016
Add memalign to Redox (for use in allocator)

This is required to satisfy a review item here: rust-lang/rust#38401
@bors
Copy link
Contributor

bors commented Dec 21, 2016

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing e49e9bb to master...

@bors bors merged commit 6ff14a9 into rust-lang:master Dec 21, 2016
@jackpot51
Copy link
Contributor Author

Thanks @alexcrichton !

Susurrus pushed a commit to Susurrus/libc that referenced this pull request Mar 26, 2017
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!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants