Skip to content

Make the AF_NETLINK constant available for Android #424

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

Merged
merged 1 commit into from
Oct 10, 2016

Conversation

mmatyas
Copy link
Contributor

@mmatyas mmatyas commented Oct 10, 2016

Currently the AF_NETLINK constant is not available for Android, but it has the same value as on Linux. To fix it, this patch moves the definition to the common notbsd/mod.rs.

(this fixes an issue we found in Servo)

@rust-highfive
Copy link

r? @alexcrichton

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

@alexcrichton
Copy link
Member

@bors: r+

Thanks!

@bors
Copy link
Contributor

bors commented Oct 10, 2016

📌 Commit c52458c has been approved by alexcrichton

@bors
Copy link
Contributor

bors commented Oct 10, 2016

⌛ Testing commit c52458c with merge 56b2704...

bors added a commit that referenced this pull request Oct 10, 2016
Make the AF_NETLINK constant available for Android

Currently the `AF_NETLINK` constant is not available for Android, but [it has the same value as on Linux](https://android.googlesource.com/kernel/common/+/android-4.4.y/include/linux/socket.h#177). To fix it, this patch moves the definition to the common `notbsd/mod.rs`.

(this fixes an [issue we found in Servo](servo/servo#13154 (comment)))
@bors
Copy link
Contributor

bors commented Oct 10, 2016

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

@bors bors merged commit c52458c into rust-lang:master Oct 10, 2016
@mmatyas mmatyas mentioned this pull request Oct 20, 2016
3 tasks
bors-servo pushed a commit to servo/servo that referenced this pull request Oct 20, 2016
Update libc to 0.2.17

<!-- Please describe your changes on the following line: -->
Update `libc` to pick up rust-lang/libc#424.

(This is a fix for #13154)

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #13154.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13857)
<!-- Reviewable:end -->
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Feb 4, 2017
…); r=larsbergstrom

<!-- Please describe your changes on the following line: -->
Update `libc` to pick up rust-lang/libc#424.

(This is a fix for servo/servo#13154)

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #13154.

Source-Repo: https://github.com/servo/servo
Source-Revision: 99ad3678fa6490b83d209fd1648d49f074bb8c16
Susurrus pushed a commit to Susurrus/libc that referenced this pull request Mar 26, 2017
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Oct 1, 2019
…); r=larsbergstrom

<!-- Please describe your changes on the following line: -->
Update `libc` to pick up rust-lang/libc#424.

(This is a fix for servo/servo#13154)

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #13154.

Source-Repo: https://github.com/servo/servo
Source-Revision: 99ad3678fa6490b83d209fd1648d49f074bb8c16

UltraBlame original commit: 77625bdc018486f929269c1375f39e34a06648ff
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Oct 1, 2019
…); r=larsbergstrom

<!-- Please describe your changes on the following line: -->
Update `libc` to pick up rust-lang/libc#424.

(This is a fix for servo/servo#13154)

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #13154.

Source-Repo: https://github.com/servo/servo
Source-Revision: 99ad3678fa6490b83d209fd1648d49f074bb8c16

UltraBlame original commit: 77625bdc018486f929269c1375f39e34a06648ff
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 1, 2019
…); r=larsbergstrom

<!-- Please describe your changes on the following line: -->
Update `libc` to pick up rust-lang/libc#424.

(This is a fix for servo/servo#13154)

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #13154.

Source-Repo: https://github.com/servo/servo
Source-Revision: 99ad3678fa6490b83d209fd1648d49f074bb8c16

UltraBlame original commit: 77625bdc018486f929269c1375f39e34a06648ff
danielverkamp pushed a commit to danielverkamp/libc that referenced this pull request Apr 28, 2020
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