Skip to content

Make the AF_NETLINK constant available for Android - #424

Merged
bors merged 1 commit into
rust-lang:masterfrom
mmatyas:android_afnetlink
Oct 10, 2016
Merged

bors merged 1 commit into
rust-lang:masterfrom
mmatyas:android_afnetlink

Conversation

@mmatyas

@mmatyas mmatyas commented Oct 10, 2016

Copy link
Copy Markdown
Contributor

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
Copy Markdown

r? @alexcrichton

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

@alexcrichton

Copy link
Copy Markdown
Member

@bors: r+

Thanks!

@bors

bors commented Oct 10, 2016

Copy link
Copy Markdown
Contributor

📌 Commit c52458c has been approved by alexcrichton

@bors

bors commented Oct 10, 2016

Copy link
Copy Markdown
Contributor

⌛ 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

bors commented Oct 10, 2016

Copy link
Copy Markdown
Contributor

☀️ 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 done
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