Skip to content

matchArgs improvements#901

Merged
jrfastab merged 2 commits into
mainfrom
pr/jrfastab/file-monitoring
Apr 7, 2023
Merged

matchArgs improvements#901
jrfastab merged 2 commits into
mainfrom
pr/jrfastab/file-monitoring

Conversation

@jrfastab

@jrfastab jrfastab commented Apr 7, 2023

Copy link
Copy Markdown
Contributor

Support multiple filters in matchArgs
Fix path argument type

[John: resolved conflicts on original PR here, https://github.com//pull/827]

Now we support only a single filter in matchArgs. This commit increases
the number of supported filters to 5 (similar to the maximum number of
arguments that we support) for kernels >= 5.4.

For kernels < 5.4 we still support 1 filter in matchArgs.

Signed-off-by: Anastasios Papagiannis <tasos.papagiannnis@gmail.com>
Signed-off-by: John Fastabend <john.fastabend@gmail.com>
We used to support path type (struct path *) in matchArgs. This seems to
be broken now. This commit fixes that.

Signed-off-by: Anastasios Papagiannis <tasos.papagiannnis@gmail.com>
@jrfastab
jrfastab requested a review from a team as a code owner April 7, 2023 17:51
@jrfastab
jrfastab requested a review from olsajiri April 7, 2023 17:51
@jrfastab jrfastab mentioned this pull request Apr 7, 2023
@jrfastab
jrfastab merged commit 8b0b1ba into main Apr 7, 2023
@jrfastab
jrfastab deleted the pr/jrfastab/file-monitoring branch April 7, 2023 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants