Skip to content

Commit 634ed67

Browse files
devnexenAkhilTThomas
authored andcommitted
adding a handful of linux fanotify data types.
close rust-lang#3688 (backport <rust-lang#3695>) (cherry picked from commit 7b338f9)
1 parent 89177b5 commit 634ed67

File tree

1 file changed

+11
-0
lines changed
  • src/unix/linux_like/linux/gnu

1 file changed

+11
-0
lines changed

src/unix/linux_like/linux/gnu/mod.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,17 @@ s! {
427427
pub tcpi_rcv_space: u32,
428428
pub tcpi_total_retrans: u32,
429429
}
430+
431+
pub struct fanotify_event_info_pidfd {
432+
pub hdr: ::fanotify_event_info_header,
433+
pub pidfd: ::__s32,
434+
}
435+
436+
pub struct fanotify_event_info_error {
437+
pub hdr: ::fanotify_event_info_header,
438+
pub error: ::__s32,
439+
pub error_count: ::__u32,
440+
}
430441
}
431442

432443
impl siginfo_t {

0 commit comments

Comments
 (0)