Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: sync release branch 0.11.x #1129

Merged
merged 12 commits into from
May 31, 2023
Prev Previous commit
Next Next commit
fix: check first the 32 bit mode
Signed-off-by: Andrea Terzolo <andrea.terzolo@polito.it>
  • Loading branch information
Andreagit97 committed May 31, 2023
commit c16987c121ee1276c3861c3f0af649e9321ed652
2 changes: 1 addition & 1 deletion driver/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1792,7 +1792,7 @@ static int record_event_consumer(struct ppm_consumer_t *consumer,
* drop all of them.
*/
table_index = event_datap->event_info.syscall_data.id - SYSCALL_TABLE_ID0;
if(!test_bit(table_index, consumer->syscalls_mask) && !event_datap->compat)
if(!event_datap->compat && !test_bit(table_index, consumer->syscalls_mask))
{
return res;
}
Expand Down