File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/unix/linux_like/linux Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -4383,6 +4383,8 @@ fn test_linux(target: &str) {
4383
4383
// Linux >= 5.11 tweaked the `svm_zero` field of the `sockaddr_vm` struct.
4384
4384
// https://github.com/torvalds/linux/commit/dc8eeef73b63ed8988224ba6b5ed19a615163a7f
4385
4385
( struct_ == "sockaddr_vm" && field == "svm_zero" ) ||
4386
+ // Linux >= 5.11 had added the svm_flags field to the `sockaddr_vm` struct.
4387
+ ( struct_ == "sockaddr_vm" && field == "svm_flags" ) ||
4386
4388
// the `ifr_ifru` field is an anonymous union
4387
4389
( struct_ == "ifreq" && field == "ifr_ifru" ) ||
4388
4390
// the `ifc_ifcu` field is an anonymous union
Original file line number Diff line number Diff line change 489
489
pub svm_reserved1: :: c_ushort,
490
490
pub svm_port: :: c_uint,
491
491
pub svm_cid: :: c_uint,
492
- pub svm_zero: [ u8 ; 4 ]
492
+ pub svm_flags: u8 ,
493
+ pub svm_zero: [ u8 ; 3 ]
493
494
}
494
495
495
496
pub struct regmatch_t {
You can’t perform that action at this time.
0 commit comments