Skip to content

Commit

Permalink
make -g followed by a -x work.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Jones committed Dec 12, 2013
1 parent 327e908 commit 33a5f45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trinity.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ static int munge_tables(void)
enable_random_syscalls();

/* If we saw a '-x', set all syscalls to enabled, then selectively disable.
* Unless we've started enabling them already (with -r)
* Unless we've started enabling them already (with -r) (or if we specified a group -g)
*/
if (do_exclude_syscall == TRUE) {
if (random_selection == FALSE)
if ((random_selection == FALSE) && (desired_group == GROUP_NONE))
mark_all_syscalls_active();
deactivate_disabled_syscalls();
}
Expand Down

0 comments on commit 33a5f45

Please sign in to comment.