mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-15 21:44:36 +03:00
Refactor to remove no-op calls
This removes the call-sites of the removed setuid feature
This commit is contained in:
@ -87,8 +87,6 @@ bool TraceScreen_forkTracer(TraceScreen* this) {
|
||||
dup2(fdpair[1], STDERR_FILENO);
|
||||
close(fdpair[1]);
|
||||
|
||||
CRT_dropPrivileges();
|
||||
|
||||
char buffer[32] = {0};
|
||||
xSnprintf(buffer, sizeof(buffer), "%d", this->super.process->pid);
|
||||
execlp("strace", "strace", "-T", "-tt", "-s", "512", "-p", buffer, NULL);
|
||||
|
Reference in New Issue
Block a user