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) {
3325
3325
// FIXME: It now takes mode_t since glibc 2.31 on some targets.
3326
3326
( struct_ == "ipc_perm" && field == "mode"
3327
3327
&& ( ( 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" ) )
3329
3331
} ) ;
3330
3332
3331
3333
cfg. skip_roundtrip ( move |s| match s {
Original file line number Diff line number Diff line change @@ -350,6 +350,7 @@ PF_MPLS
350
350
PF_XDP
351
351
PROC_SUPER_MAGIC
352
352
PTHREAD_MUTEX_ADAPTIVE_NP
353
+ PTRACE_GET_SYSCALL_INFO
353
354
QNX4_SUPER_MAGIC
354
355
QNX6_SUPER_MAGIC
355
356
RDTGROUP_SUPER_MAGIC
@@ -617,6 +618,7 @@ pthread_rwlockattr_getpshared
617
618
pthread_rwlockattr_setkind_np
618
619
pthread_setname_np
619
620
ptrace_peeksiginfo_args
621
+ ptrace_syscall_info
620
622
pututxline
621
623
pwritev2
622
624
pwritev64
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ pub type msgqnum_t = ::c_ulong;
11
11
pub type msglen_t = :: c_ulong ;
12
12
pub type nlink_t = u32 ;
13
13
pub type __u64 = :: c_ulonglong ;
14
+ pub type __s64 = :: c_longlong ;
14
15
pub type __fsword_t = i32 ;
15
16
pub type fsblkcnt64_t = u64 ;
16
17
pub type fsfilcnt64_t = u64 ;
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ pub type nlink_t = u32;
6
6
pub type blksize_t = i32 ;
7
7
pub type suseconds_t = i64 ;
8
8
pub type __u64 = :: c_ulonglong ;
9
+ pub type __s64 = :: c_longlong ;
9
10
10
11
s ! {
11
12
pub struct sigaction {
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ pub type nlink_t = u64;
8
8
pub type suseconds_t = i64 ;
9
9
pub type wchar_t = i32 ;
10
10
pub type __u64 = :: c_ulong ;
11
+ pub type __s64 = :: c_long ;
11
12
12
13
s ! {
13
14
pub struct stat {
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ pub type nlink_t = u64;
10
10
pub type blksize_t = i64 ;
11
11
pub type suseconds_t = i64 ;
12
12
pub type __u64 = :: c_ulong ;
13
+ pub type __s64 = :: c_long ;
13
14
14
15
s ! {
15
16
pub struct sigaction {
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ pub type fsblkcnt64_t = ::c_ulong;
11
11
pub type fsfilcnt64_t = :: c_ulong ;
12
12
pub type suseconds_t = i64 ;
13
13
pub type __u64 = :: c_ulonglong ;
14
+ pub type __s64 = :: c_longlong ;
14
15
15
16
s ! {
16
17
pub struct pthread_attr_t {
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ pub type suseconds_t = i64;
11
11
pub type wchar_t = i32 ;
12
12
pub type greg_t = u64 ;
13
13
pub type __u64 = u64 ;
14
+ pub type __s64 = i64 ;
14
15
15
16
s ! {
16
17
pub struct sigaction {
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ pub type nlink_t = u32;
10
10
pub type blksize_t = i64 ;
11
11
pub type suseconds_t = i32 ;
12
12
pub type __u64 = :: c_ulonglong ;
13
+ pub type __s64 = :: c_longlong ;
13
14
14
15
s ! {
15
16
pub struct sigaction {
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ pub type blksize_t = i64;
7
7
pub type greg_t = i64 ;
8
8
pub type suseconds_t = i64 ;
9
9
pub type __u64 = :: c_ulonglong ;
10
+ pub type __s64 = :: c_longlong ;
10
11
11
12
s ! {
12
13
pub struct sigaction {
You can’t perform that action at this time.
0 commit comments