Skip to content

Commit

Permalink
ptrace: Allow failing personality() call, but warn for it
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonKagstrom committed May 5, 2024
1 parent 5624cfb commit f2f9c90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engines/ptrace_linux.cc
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ bool ptrace_sys::disable_aslr(void)
if (personality(persona) < 0)
{
perror("Can't set personality");
return false;
// But still return OK, to try to run the program
}
return true;
}
Expand Down

0 comments on commit f2f9c90

Please sign in to comment.