Skip to content

Commit

Permalink
Add sched_getpriority to ptraceomatic
Browse files Browse the repository at this point in the history
  • Loading branch information
tbodt committed Jan 12, 2019
1 parent 0c788b7 commit 6a8734d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/ptraceomatic.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,8 @@ static void step_tracing(struct cpu_state *cpu, struct tlb *tlb, int pid, int se
pt_copy(pid, regs.rcx, sizeof(struct newstat64)); break;
case 220: // getdents64
pt_copy(pid, regs.rcx, cpu->eax); break;
case 242: // sched_getaffinity
pt_copy(pid, regs.rdx, regs.rcx); break;
case 265: // clock_gettime
pt_copy(pid, regs.rcx, sizeof(struct timespec_)); break;
case 300: // fstatat64
Expand Down

0 comments on commit 6a8734d

Please sign in to comment.