File tree 3 files changed +9
-2
lines changed
3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -4394,6 +4394,13 @@ fn test_linux(target: &str) {
4394
4394
| "CANXL_XLF"
4395
4395
=> true ,
4396
4396
4397
+ "STATX_MNT_ID_UNIQUE" // Added in Linux 6.8
4398
+ | "STATX_SUBVOL" // Added in Linux 6.10
4399
+ | "STATX_WRITE_ATOMIC" // Added in Linux 6.11
4400
+ | "STATX_ATTR_WRITE_ATOMIC" // Added in Linux 6.11
4401
+ | "STATX_DIO_READ_ALIGN" // Added in Linux 6.14
4402
+ => true ,
4403
+
4397
4404
// FIXME(linux): Parts of netfilter/nfnetlink*.h require more recent kernel headers:
4398
4405
| "RTNLGRP_MCTP_IFADDR" // linux v5.17+
4399
4406
| "RTNLGRP_TUNNEL" // linux v5.18+
Original file line number Diff line number Diff line change @@ -424,6 +424,7 @@ STATX_BLOCKS
424
424
STATX_BTIME
425
425
STATX_CTIME
426
426
STATX_DIOALIGN
427
+ STATX_DIO_READ_ALIGN
427
428
STATX_GID
428
429
STATX_INO
429
430
STATX_MNT_ID
Original file line number Diff line number Diff line change @@ -1625,8 +1625,7 @@ cfg_if! {
1625
1625
pub const STATX_MNT_ID_UNIQUE : c_uint = 0x4000 ;
1626
1626
pub const STATX_SUBVOL : c_uint = 0x8000 ;
1627
1627
pub const STATX_WRITE_ATOMIC : c_uint = 0x_0001_0000 ;
1628
- // libc-test failure. Linux 6.14 to new?
1629
- // pub const STATX_DIO_READ_ALIGN: c_uint = 0x_0002_0000;
1628
+ pub const STATX_DIO_READ_ALIGN : c_uint = 0x_0002_0000 ;
1630
1629
pub const STATX__RESERVED : c_int = 0x80000000 ;
1631
1630
pub const STATX_ATTR_COMPRESSED : c_int = 0x0004 ;
1632
1631
pub const STATX_ATTR_IMMUTABLE : c_int = 0x0010 ;
You can’t perform that action at this time.
0 commit comments