File tree 2 files changed +4
-1
lines changed
src/unix/linux_like/linux
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -4317,6 +4317,8 @@ fn test_linux(target: &str) {
4317
4317
// Linux >= 5.11 tweaked the `svm_zero` field of the `sockaddr_vm` struct.
4318
4318
// https://github.com/torvalds/linux/commit/dc8eeef73b63ed8988224ba6b5ed19a615163a7f
4319
4319
( struct_ == "sockaddr_vm" && field == "svm_zero" ) ||
4320
+ // Linux >= 5.11 had added the svm_flags field to the `sockaddr_vm` struct.
4321
+ ( struct_ == "sockaddr_vm" && field == "svm_flags" ) ||
4320
4322
// the `ifr_ifru` field is an anonymous union
4321
4323
( struct_ == "ifreq" && field == "ifr_ifru" ) ||
4322
4324
// the `ifc_ifcu` field is an anonymous union
Original file line number Diff line number Diff line change 509
509
pub svm_reserved1: :: c_ushort,
510
510
pub svm_port: :: c_uint,
511
511
pub svm_cid: :: c_uint,
512
- pub svm_zero: [ u8 ; 4 ]
512
+ pub svm_flags: u8 ,
513
+ pub svm_zero: [ u8 ; 3 ]
513
514
}
514
515
515
516
pub struct regmatch_t {
You can’t perform that action at this time.
0 commit comments