
12 Oct
2020
12 Oct
'20
5:35 a.m.
On Sat, 10 Oct 2020 at 13:44, Sean Anderson seanga2@gmail.com wrote:
Without this flag, log filters can only explicitly accept messages. Allowing denial makes it easier to filter certain subsystems. Unlike allow-ing filters, deny-ing filters are added to the beginning of the filter list. This should do the Right Thing most of the time, but it's less-universal than allowing filters to be inserted anywhere. If this becomes a problem, then perhaps log_filter_add* should take a filter number to insert before/after.
Signed-off-by: Sean Anderson seanga2@gmail.com
(no changes since v1)
common/log.c | 12 ++++++++++-- include/log.h | 11 ++++++++++- 2 files changed, 20 insertions(+), 3 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org