Skip to content

Commit

Permalink
Genie: Axe Process::IsBeingTraced()
Browse files Browse the repository at this point in the history
  • Loading branch information
jjuran committed Jan 18, 2019
1 parent 567ddc0 commit a4a070f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lamp/Genie/Genie/Kernel/wait.cc
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ namespace Genie

const bool stopped = process.get_process().is_stopped();

const bool traced = process.IsBeingTraced();
const bool traced = false;

if ( is_child && pgid_matches )
{
Expand Down Expand Up @@ -115,7 +115,7 @@ namespace Genie

bool stopped = process->get_process().is_stopped();

bool traced = process->IsBeingTraced();
bool traced = false;

if ( terminated || (stopped && (traced || match_untraced)) )
{
Expand Down
2 changes: 0 additions & 2 deletions lamp/Genie/Genie/Process.hh
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ namespace Genie
static void* notify_process( void* param, pid_t, Process& process );

public:
bool IsBeingTraced() const { return false; }

void Terminate( int wait_status );

struct RootProcess {};
Expand Down

0 comments on commit a4a070f

Please sign in to comment.