Open mtardy opened 1 year ago
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.
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.
well, it was the point of this issue because documentation is currently outdated.
Let's re-open it then? Maybe let's start with points where our current docs are outdated
Faster: annotate the doc to mention it is outdated
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