-
Notifications
You must be signed in to change notification settings - Fork 395
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Test and document the limitations of the fields in TracingPolicy
#709
Comments
filter_file_buf() in basic.h limits the number of file matches to MAX_MATCH_FILE_VALUES. This is 8 on kernels >=5.2 and 2 on kernels <5.2. |
Postfix file match limited to 50 chars on kernels >=5.2 and 40 on kernels <5.2. |
File match equal and prefix limited to 128 chars on kernels >=5.2 and 32 on kernels <5.2. |
TracingPolicy
TracingPolicy
#1408 will alleviate some of these limitations. e.g. number of matches becomes unbounded; equal and prefix lengths become 128 on all kernels; and postfix length becomes 128 characters on kernels >=5.2 and 96 on kernels <5.2. |
This is old. File specific issues are refile with up to date info now. |
well, it was the point of this issue because documentation is currently outdated. |
Let's re-open it then?
Doing that would be a great first step! |
The documentation on
TracingPolicy
limitation might be outdated. It would be interesting to update the documentation and add tests case to make sure the limitations are prevented from the agent side instead of failing silently or creating an error on the BPF side.I see two ways of doing that:
Limitations include for example:
matchPIDs
matchArgs
per selectormatchBinaries
Tasks
The text was updated successfully, but these errors were encountered: