hurd: fix definition of utsname struct#3992
Conversation
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @tgross35 (or someone else) some time within the next two weeks. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
|
For reference:
|
|
agreed! |
|
Thanks for the sources, agreed that we can backport this (thanks for the ack @sthibaul). Could you add |
- drop the "domainname" field, as it is not actually used - add a private "_UTSNAME_LENGTH" constant matching the helper libc one, to ease declaring the struct - bump the size of the other fields to "_UTSNAME_LENGTH"
be411c9 to
158cd30
Compare
Makes sense, done so -- thanks for the suggestion! |
- drop the "domainname" field, as it is not actually used - add a private "_UTSNAME_LENGTH" constant matching the helper libc one, to ease declaring the struct - bump the size of the other fields to "_UTSNAME_LENGTH" (backport <rust-lang#3992>) (cherry picked from commit 158cd30)
domainnamefield, as it is not actually used_UTSNAME_LENGTHconstant matching the helper libc one, to ease declaring the struct_UTSNAME_LENGTH