Skip to content

Commit

Permalink
Filterchecks flags cleanup (#1109)
Browse files Browse the repository at this point in the history
* evt.dir can be used in filters

evt.dir was flagged as EPF_PRINT_ONLY, but it can be used in filters as
well. Fix the flag.

* Flag filters using args with EPF_REQUIRES_ARGUMENT

Many filters required an argument in the form .arg or [arg], but they
didn't have the flag EPF_REQUIRES_ARGUMENT. This flag wasn't used
anywhere, but we plan on using it in falco soon, so it needs to be
accurate.

Do a pass over all filterchecks that call extract_arg and add
EPF_REQUIRES_ARGUMENT as needed.

* Flag addl filters w/ EPF_REQUIRES_ARGUMENT.

Missed some in the previous commit.
mstemm authored May 3, 2018
1 parent 9abce17 commit 85f88ab
Showing 1 changed file with 33 additions and 33 deletions.
Loading

0 comments on commit 85f88ab

Please sign in to comment.