Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: print_mem_dump fails on missing symbol (aquasecurity#3384)
* fix: non-nil empty ksymbols dependency The events group refactor (commit aa3fd66) changed the semantics of ksymbols dependency so that kernel symbols would only be loaded if a specific list was set. This broke several events which require kernel symbols in general, but not any specifically (being set through argument "parameter" lists). Fix this by bringing back previous semantics. * fix: print_mem_dump fail on missing symbol print_mem_dump trigger currently fails when failing to query a symbol. However print_mem_dump can potentially include many symbols in its parameters, and shouldn't fail the whole trigger based on one symbol. Skip the error return when a symbol query fails and log a WARN level message instead.
- Loading branch information