File tree Expand file tree Collapse file tree 3 files changed +0
-3
lines changed Expand file tree Collapse file tree 3 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,6 @@ fn report_execution(path_buf: &PathBuf) {
6060 // Report the execution
6161 let execution = intercept:: Event :: Started {
6262 pid : intercept:: ProcessId ( std:: process:: id ( ) as u32 ) ,
63- ppid : intercept:: ProcessId ( std:: os:: unix:: process:: parent_id ( ) as u32 ) , // FIXME: This is Unix specific
6463 execution : intercept:: Execution {
6564 executable : path_buf. clone ( ) ,
6665 arguments : std:: env:: args ( ) . collect ( ) ,
Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ pub struct Execution {
5555pub enum Event {
5656 Started {
5757 pid : ProcessId ,
58- ppid : ProcessId ,
5958 execution : Execution ,
6059 } ,
6160 Terminated {
Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ mod test {
8282 timestamp: 0 ,
8383 event: Event :: Started {
8484 pid: ProcessId ( 1 ) ,
85- ppid: ProcessId ( 0 ) ,
8685 execution: Execution {
8786 executable: PathBuf :: from( "/usr/bin/ls" ) ,
8887 arguments: vec![ "ls" . to_string( ) , "-l" . to_string( ) ] ,
You can’t perform that action at this time.
0 commit comments