monitor_user: tgid -> tid
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#define MAX_NAME_LEN (127) // max name length
|
||||
#define gettid() (unsigned long)syscall(SYS_gettid)
|
||||
|
||||
typedef struct {
|
||||
pid_t task_id; // current process id
|
||||
|
||||
Reference in New Issue
Block a user