Skip to content

Commit

Permalink
implement mod support for PidfdOpen (#32)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #32

To implement tracing for pidfd_open

Reviewed By: igorsugak

Differential Revision: D68534573

fbshipit-source-id: 718c757958f99e15cbf02f3c69012756727647ed
  • Loading branch information
tissue3 authored and facebook-github-bot committed Jan 24, 2025
1 parent 82df321 commit ff3bed6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion reverie-syscalls/src/syscalls/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ syscall_list! {
// Missing: fsconfig => Fsconfig,
// Missing: fsmount => Fsmount,
// Missing: fspick => Fspick,
// Missing: pidfd_open => PidfdOpen,
pidfd_open => PidfdOpen,
clone3 => Clone3,
// Missing: close_range => CloseRange,
// Missing: openat2 => Openat2,
Expand Down Expand Up @@ -3362,6 +3362,13 @@ typed_syscall! {
}
}

typed_syscall! {
pub struct PidfdOpen {
pid: u32,
flags: u32,
}
}

typed_syscall! {
pub struct KexecFileLoad {
kernel_fd: i32,
Expand Down

0 comments on commit ff3bed6

Please sign in to comment.