File tree Expand file tree Collapse file tree 11 files changed +90
-1
lines changed
src/unix/linux_like/linux/gnu Expand file tree Collapse file tree 11 files changed +90
-1
lines changed Original file line number Diff line number Diff line change @@ -3325,7 +3325,9 @@ fn test_linux(target: &str) {
33253325 // FIXME: It now takes mode_t since glibc 2.31 on some targets.
33263326 ( struct_ == "ipc_perm" && field == "mode"
33273327 && ( ( x86_64 || i686 || arm || riscv64) && gnu || x86_64_gnux32)
3328- )
3328+ ) ||
3329+ // the `u` field is in fact an anonymous union
3330+ ( gnu && struct_ == "ptrace_syscall_info" && ( field == "u" || field == "pad" ) )
33293331 } ) ;
33303332
33313333 cfg. skip_roundtrip ( move |s| match s {
Original file line number Diff line number Diff line change @@ -350,6 +350,7 @@ PF_MPLS
350350PF_XDP
351351PROC_SUPER_MAGIC
352352PTHREAD_MUTEX_ADAPTIVE_NP
353+ PTRACE_GET_SYSCALL_INFO
353354QNX4_SUPER_MAGIC
354355QNX6_SUPER_MAGIC
355356RDTGROUP_SUPER_MAGIC
@@ -617,6 +618,7 @@ pthread_rwlockattr_getpshared
617618pthread_rwlockattr_setkind_np
618619pthread_setname_np
619620ptrace_peeksiginfo_args
621+ ptrace_syscall_info
620622pututxline
621623pwritev2
622624pwritev64
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ pub type msgqnum_t = ::c_ulong;
1111pub type msglen_t = :: c_ulong ;
1212pub type nlink_t = u32 ;
1313pub type __u64 = :: c_ulonglong ;
14+ pub type __s64 = :: c_longlong ;
1415pub type __fsword_t = i32 ;
1516pub type fsblkcnt64_t = u64 ;
1617pub type fsfilcnt64_t = u64 ;
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ pub type nlink_t = u32;
66pub type blksize_t = i32 ;
77pub type suseconds_t = i64 ;
88pub type __u64 = :: c_ulonglong ;
9+ pub type __s64 = :: c_longlong ;
910
1011s ! {
1112 pub struct sigaction {
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ pub type nlink_t = u64;
88pub type suseconds_t = i64 ;
99pub type wchar_t = i32 ;
1010pub type __u64 = :: c_ulong ;
11+ pub type __s64 = :: c_long ;
1112
1213s ! {
1314 pub struct stat {
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ pub type nlink_t = u64;
1010pub type blksize_t = i64 ;
1111pub type suseconds_t = i64 ;
1212pub type __u64 = :: c_ulong ;
13+ pub type __s64 = :: c_long ;
1314
1415s ! {
1516 pub struct sigaction {
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ pub type fsblkcnt64_t = ::c_ulong;
1111pub type fsfilcnt64_t = :: c_ulong ;
1212pub type suseconds_t = i64 ;
1313pub type __u64 = :: c_ulonglong ;
14+ pub type __s64 = :: c_longlong ;
1415
1516s ! {
1617 pub struct pthread_attr_t {
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ pub type suseconds_t = i64;
1111pub type wchar_t = i32 ;
1212pub type greg_t = u64 ;
1313pub type __u64 = u64 ;
14+ pub type __s64 = i64 ;
1415
1516s ! {
1617 pub struct sigaction {
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ pub type nlink_t = u32;
1010pub type blksize_t = i64 ;
1111pub type suseconds_t = i32 ;
1212pub type __u64 = :: c_ulonglong ;
13+ pub type __s64 = :: c_longlong ;
1314
1415s ! {
1516 pub struct sigaction {
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ pub type blksize_t = i64;
77pub type greg_t = i64 ;
88pub type suseconds_t = i64 ;
99pub type __u64 = :: c_ulonglong ;
10+ pub type __s64 = :: c_longlong ;
1011
1112s ! {
1213 pub struct sigaction {
You can’t perform that action at this time.
0 commit comments