File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
src/unix/linux_like/linux Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -1220,6 +1220,7 @@ s! {
1220
1220
size: [ u8 ; crate :: __SIZEOF_PTHREAD_BARRIERATTR_T] ,
1221
1221
}
1222
1222
1223
+ #[ cfg( not( target_env = "musl" ) ) ]
1223
1224
#[ repr( align( 8 ) ) ]
1224
1225
pub struct fanotify_event_metadata {
1225
1226
pub event_len: __u32,
Original file line number Diff line number Diff line change @@ -122,6 +122,17 @@ impl siginfo_t {
122
122
}
123
123
124
124
s ! {
125
+ #[ repr( align( 8 ) ) ]
126
+ pub struct fanotify_event_metadata {
127
+ pub event_len: c_uint,
128
+ pub vers: c_uchar,
129
+ pub reserved: c_uchar,
130
+ pub metadata_len: c_ushort,
131
+ pub mask: c_ulonglong,
132
+ pub fd: c_int,
133
+ pub pid: c_int,
134
+ }
135
+
125
136
// FIXME(1.0): This should not implement `PartialEq`
126
137
#[ allow( unpredictable_function_pointer_comparisons) ]
127
138
pub struct sigaction {
You can’t perform that action at this time.
0 commit comments