Skip to content

Commit 6cdaefd

Browse files
committed
Update to bindgen 0.66. (#72)
1 parent 10e843b commit 6cdaefd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+701
-701
lines changed

gen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ edition = "2021"
55
publish = false
66

77
[dependencies]
8-
bindgen = { version = "=0.65.1", default-features = false, features = ["which-rustfmt"] }
8+
bindgen = { version = "=0.66.1", default-features = false, features = ["which-rustfmt"] }
99
tempdir = "0.3.7"

src/aarch64/errno.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* automatically generated by rust-bindgen 0.65.1 */
1+
/* automatically generated by rust-bindgen 0.66.1 */
22

33
pub const EPERM: u32 = 1;
44
pub const ENOENT: u32 = 2;

src/aarch64/general.rs

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* automatically generated by rust-bindgen 0.65.1 */
1+
/* automatically generated by rust-bindgen 0.66.1 */
22

33
pub type __s8 = crate::ctypes::c_schar;
44
pub type __u8 = crate::ctypes::c_uchar;
@@ -1129,7 +1129,7 @@ pub const FSCRYPT_MODE_ADIANTUM: u32 = 9;
11291129
pub const FSCRYPT_MODE_AES_256_HCTR2: u32 = 10;
11301130
pub const FSCRYPT_POLICY_V1: u32 = 0;
11311131
pub const FSCRYPT_KEY_DESCRIPTOR_SIZE: u32 = 8;
1132-
pub const FSCRYPT_KEY_DESC_PREFIX: &[u8; 9usize] = b"fscrypt:\0";
1132+
pub const FSCRYPT_KEY_DESC_PREFIX: &[u8; 9] = b"fscrypt:\0";
11331133
pub const FSCRYPT_KEY_DESC_PREFIX_SIZE: u32 = 8;
11341134
pub const FSCRYPT_MAX_KEY_SIZE: u32 = 64;
11351135
pub const FSCRYPT_POLICY_V2: u32 = 2;
@@ -1158,7 +1158,7 @@ pub const FS_ENCRYPTION_MODE_AES_256_CTS: u32 = 4;
11581158
pub const FS_ENCRYPTION_MODE_AES_128_CBC: u32 = 5;
11591159
pub const FS_ENCRYPTION_MODE_AES_128_CTS: u32 = 6;
11601160
pub const FS_ENCRYPTION_MODE_ADIANTUM: u32 = 9;
1161-
pub const FS_KEY_DESC_PREFIX: &[u8; 9usize] = b"fscrypt:\0";
1161+
pub const FS_KEY_DESC_PREFIX: &[u8; 9] = b"fscrypt:\0";
11621162
pub const FS_KEY_DESC_PREFIX_SIZE: u32 = 8;
11631163
pub const FS_MAX_KEY_SIZE: u32 = 64;
11641164
pub const MS_RDONLY: u32 = 1;
@@ -1421,9 +1421,9 @@ pub const QNX4_SUPER_MAGIC: u32 = 47;
14211421
pub const QNX6_SUPER_MAGIC: u32 = 1746473250;
14221422
pub const AFS_FS_MAGIC: u32 = 1799439955;
14231423
pub const REISERFS_SUPER_MAGIC: u32 = 1382369651;
1424-
pub const REISERFS_SUPER_MAGIC_STRING: &[u8; 9usize] = b"ReIsErFs\0";
1425-
pub const REISER2FS_SUPER_MAGIC_STRING: &[u8; 10usize] = b"ReIsEr2Fs\0";
1426-
pub const REISER2FS_JR_SUPER_MAGIC_STRING: &[u8; 10usize] = b"ReIsEr3Fs\0";
1424+
pub const REISERFS_SUPER_MAGIC_STRING: &[u8; 9] = b"ReIsErFs\0";
1425+
pub const REISER2FS_SUPER_MAGIC_STRING: &[u8; 10] = b"ReIsEr2Fs\0";
1426+
pub const REISER2FS_JR_SUPER_MAGIC_STRING: &[u8; 10] = b"ReIsEr3Fs\0";
14271427
pub const SMB_SUPER_MAGIC: u32 = 20859;
14281428
pub const CIFS_SUPER_MAGIC: u32 = 4283649346;
14291429
pub const SMB2_SUPER_MAGIC: u32 = 4266872130;
@@ -2365,40 +2365,40 @@ pub const P_PGID: u32 = 2;
23652365
pub const P_PIDFD: u32 = 3;
23662366
pub const XATTR_CREATE: u32 = 1;
23672367
pub const XATTR_REPLACE: u32 = 2;
2368-
pub const XATTR_OS2_PREFIX: &[u8; 5usize] = b"os2.\0";
2369-
pub const XATTR_MAC_OSX_PREFIX: &[u8; 5usize] = b"osx.\0";
2370-
pub const XATTR_BTRFS_PREFIX: &[u8; 7usize] = b"btrfs.\0";
2371-
pub const XATTR_HURD_PREFIX: &[u8; 5usize] = b"gnu.\0";
2372-
pub const XATTR_SECURITY_PREFIX: &[u8; 10usize] = b"security.\0";
2373-
pub const XATTR_SYSTEM_PREFIX: &[u8; 8usize] = b"system.\0";
2374-
pub const XATTR_TRUSTED_PREFIX: &[u8; 9usize] = b"trusted.\0";
2375-
pub const XATTR_USER_PREFIX: &[u8; 6usize] = b"user.\0";
2376-
pub const XATTR_EVM_SUFFIX: &[u8; 4usize] = b"evm\0";
2377-
pub const XATTR_NAME_EVM: &[u8; 13usize] = b"security.evm\0";
2378-
pub const XATTR_IMA_SUFFIX: &[u8; 4usize] = b"ima\0";
2379-
pub const XATTR_NAME_IMA: &[u8; 13usize] = b"security.ima\0";
2380-
pub const XATTR_SELINUX_SUFFIX: &[u8; 8usize] = b"selinux\0";
2381-
pub const XATTR_NAME_SELINUX: &[u8; 17usize] = b"security.selinux\0";
2382-
pub const XATTR_SMACK_SUFFIX: &[u8; 8usize] = b"SMACK64\0";
2383-
pub const XATTR_SMACK_IPIN: &[u8; 12usize] = b"SMACK64IPIN\0";
2384-
pub const XATTR_SMACK_IPOUT: &[u8; 13usize] = b"SMACK64IPOUT\0";
2385-
pub const XATTR_SMACK_EXEC: &[u8; 12usize] = b"SMACK64EXEC\0";
2386-
pub const XATTR_SMACK_TRANSMUTE: &[u8; 17usize] = b"SMACK64TRANSMUTE\0";
2387-
pub const XATTR_SMACK_MMAP: &[u8; 12usize] = b"SMACK64MMAP\0";
2388-
pub const XATTR_NAME_SMACK: &[u8; 17usize] = b"security.SMACK64\0";
2389-
pub const XATTR_NAME_SMACKIPIN: &[u8; 21usize] = b"security.SMACK64IPIN\0";
2390-
pub const XATTR_NAME_SMACKIPOUT: &[u8; 22usize] = b"security.SMACK64IPOUT\0";
2391-
pub const XATTR_NAME_SMACKEXEC: &[u8; 21usize] = b"security.SMACK64EXEC\0";
2392-
pub const XATTR_NAME_SMACKTRANSMUTE: &[u8; 26usize] = b"security.SMACK64TRANSMUTE\0";
2393-
pub const XATTR_NAME_SMACKMMAP: &[u8; 21usize] = b"security.SMACK64MMAP\0";
2394-
pub const XATTR_APPARMOR_SUFFIX: &[u8; 9usize] = b"apparmor\0";
2395-
pub const XATTR_NAME_APPARMOR: &[u8; 18usize] = b"security.apparmor\0";
2396-
pub const XATTR_CAPS_SUFFIX: &[u8; 11usize] = b"capability\0";
2397-
pub const XATTR_NAME_CAPS: &[u8; 20usize] = b"security.capability\0";
2398-
pub const XATTR_POSIX_ACL_ACCESS: &[u8; 17usize] = b"posix_acl_access\0";
2399-
pub const XATTR_NAME_POSIX_ACL_ACCESS: &[u8; 24usize] = b"system.posix_acl_access\0";
2400-
pub const XATTR_POSIX_ACL_DEFAULT: &[u8; 18usize] = b"posix_acl_default\0";
2401-
pub const XATTR_NAME_POSIX_ACL_DEFAULT: &[u8; 25usize] = b"system.posix_acl_default\0";
2368+
pub const XATTR_OS2_PREFIX: &[u8; 5] = b"os2.\0";
2369+
pub const XATTR_MAC_OSX_PREFIX: &[u8; 5] = b"osx.\0";
2370+
pub const XATTR_BTRFS_PREFIX: &[u8; 7] = b"btrfs.\0";
2371+
pub const XATTR_HURD_PREFIX: &[u8; 5] = b"gnu.\0";
2372+
pub const XATTR_SECURITY_PREFIX: &[u8; 10] = b"security.\0";
2373+
pub const XATTR_SYSTEM_PREFIX: &[u8; 8] = b"system.\0";
2374+
pub const XATTR_TRUSTED_PREFIX: &[u8; 9] = b"trusted.\0";
2375+
pub const XATTR_USER_PREFIX: &[u8; 6] = b"user.\0";
2376+
pub const XATTR_EVM_SUFFIX: &[u8; 4] = b"evm\0";
2377+
pub const XATTR_NAME_EVM: &[u8; 13] = b"security.evm\0";
2378+
pub const XATTR_IMA_SUFFIX: &[u8; 4] = b"ima\0";
2379+
pub const XATTR_NAME_IMA: &[u8; 13] = b"security.ima\0";
2380+
pub const XATTR_SELINUX_SUFFIX: &[u8; 8] = b"selinux\0";
2381+
pub const XATTR_NAME_SELINUX: &[u8; 17] = b"security.selinux\0";
2382+
pub const XATTR_SMACK_SUFFIX: &[u8; 8] = b"SMACK64\0";
2383+
pub const XATTR_SMACK_IPIN: &[u8; 12] = b"SMACK64IPIN\0";
2384+
pub const XATTR_SMACK_IPOUT: &[u8; 13] = b"SMACK64IPOUT\0";
2385+
pub const XATTR_SMACK_EXEC: &[u8; 12] = b"SMACK64EXEC\0";
2386+
pub const XATTR_SMACK_TRANSMUTE: &[u8; 17] = b"SMACK64TRANSMUTE\0";
2387+
pub const XATTR_SMACK_MMAP: &[u8; 12] = b"SMACK64MMAP\0";
2388+
pub const XATTR_NAME_SMACK: &[u8; 17] = b"security.SMACK64\0";
2389+
pub const XATTR_NAME_SMACKIPIN: &[u8; 21] = b"security.SMACK64IPIN\0";
2390+
pub const XATTR_NAME_SMACKIPOUT: &[u8; 22] = b"security.SMACK64IPOUT\0";
2391+
pub const XATTR_NAME_SMACKEXEC: &[u8; 21] = b"security.SMACK64EXEC\0";
2392+
pub const XATTR_NAME_SMACKTRANSMUTE: &[u8; 26] = b"security.SMACK64TRANSMUTE\0";
2393+
pub const XATTR_NAME_SMACKMMAP: &[u8; 21] = b"security.SMACK64MMAP\0";
2394+
pub const XATTR_APPARMOR_SUFFIX: &[u8; 9] = b"apparmor\0";
2395+
pub const XATTR_NAME_APPARMOR: &[u8; 18] = b"security.apparmor\0";
2396+
pub const XATTR_CAPS_SUFFIX: &[u8; 11] = b"capability\0";
2397+
pub const XATTR_NAME_CAPS: &[u8; 20] = b"security.capability\0";
2398+
pub const XATTR_POSIX_ACL_ACCESS: &[u8; 17] = b"posix_acl_access\0";
2399+
pub const XATTR_NAME_POSIX_ACL_ACCESS: &[u8; 24] = b"system.posix_acl_access\0";
2400+
pub const XATTR_POSIX_ACL_DEFAULT: &[u8; 18] = b"posix_acl_default\0";
2401+
pub const XATTR_NAME_POSIX_ACL_DEFAULT: &[u8; 25] = b"system.posix_acl_default\0";
24022402
pub const MFD_CLOEXEC: u32 = 1;
24032403
pub const MFD_ALLOW_SEALING: u32 = 2;
24042404
pub const MFD_HUGETLB: u32 = 4;

src/aarch64/if_ether.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* automatically generated by rust-bindgen 0.65.1 */
1+
/* automatically generated by rust-bindgen 0.66.1 */
22

33
pub type __s8 = crate::ctypes::c_schar;
44
pub type __u8 = crate::ctypes::c_uchar;

src/aarch64/io_uring.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* automatically generated by rust-bindgen 0.65.1 */
1+
/* automatically generated by rust-bindgen 0.66.1 */
22

33
pub type __s8 = crate::ctypes::c_schar;
44
pub type __u8 = crate::ctypes::c_uchar;
@@ -515,7 +515,7 @@ pub const FSCRYPT_MODE_ADIANTUM: u32 = 9;
515515
pub const FSCRYPT_MODE_AES_256_HCTR2: u32 = 10;
516516
pub const FSCRYPT_POLICY_V1: u32 = 0;
517517
pub const FSCRYPT_KEY_DESCRIPTOR_SIZE: u32 = 8;
518-
pub const FSCRYPT_KEY_DESC_PREFIX: &[u8; 9usize] = b"fscrypt:\0";
518+
pub const FSCRYPT_KEY_DESC_PREFIX: &[u8; 9] = b"fscrypt:\0";
519519
pub const FSCRYPT_KEY_DESC_PREFIX_SIZE: u32 = 8;
520520
pub const FSCRYPT_MAX_KEY_SIZE: u32 = 64;
521521
pub const FSCRYPT_POLICY_V2: u32 = 2;
@@ -544,7 +544,7 @@ pub const FS_ENCRYPTION_MODE_AES_256_CTS: u32 = 4;
544544
pub const FS_ENCRYPTION_MODE_AES_128_CBC: u32 = 5;
545545
pub const FS_ENCRYPTION_MODE_AES_128_CTS: u32 = 6;
546546
pub const FS_ENCRYPTION_MODE_ADIANTUM: u32 = 9;
547-
pub const FS_KEY_DESC_PREFIX: &[u8; 9usize] = b"fscrypt:\0";
547+
pub const FS_KEY_DESC_PREFIX: &[u8; 9] = b"fscrypt:\0";
548548
pub const FS_KEY_DESC_PREFIX_SIZE: u32 = 8;
549549
pub const FS_MAX_KEY_SIZE: u32 = 64;
550550
pub const MS_RDONLY: u32 = 1;

src/aarch64/ioctl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* automatically generated by rust-bindgen 0.65.1 */
1+
/* automatically generated by rust-bindgen 0.66.1 */
22

33
pub const FIONREAD: u32 = 21531;
44
pub const FIONBIO: u32 = 21537;

src/aarch64/net.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* automatically generated by rust-bindgen 0.65.1 */
1+
/* automatically generated by rust-bindgen 0.66.1 */
22

33
pub type __s8 = crate::ctypes::c_schar;
44
pub type __u8 = crate::ctypes::c_uchar;

src/aarch64/netlink.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* automatically generated by rust-bindgen 0.65.1 */
1+
/* automatically generated by rust-bindgen 0.66.1 */
22

33
pub type __kernel_sa_family_t = crate::ctypes::c_ushort;
44
pub type __s8 = crate::ctypes::c_schar;

src/aarch64/prctl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* automatically generated by rust-bindgen 0.65.1 */
1+
/* automatically generated by rust-bindgen 0.66.1 */
22

33
pub type __s8 = crate::ctypes::c_schar;
44
pub type __u8 = crate::ctypes::c_uchar;

src/aarch64/system.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* automatically generated by rust-bindgen 0.65.1 */
1+
/* automatically generated by rust-bindgen 0.66.1 */
22

33
pub type __s8 = crate::ctypes::c_schar;
44
pub type __u8 = crate::ctypes::c_uchar;

0 commit comments

Comments
 (0)