From 08a70aa56bebfb087ccafdcac293da36f88b672f Mon Sep 17 00:00:00 2001 From: Vernon Mauery Date: Wed, 7 Nov 2018 09:36:22 -0800 Subject: ipmid: Add command filter mechanism Every ipmi command will pass through a filter prior to execution by the registered handler. The filter consists of all registered filter handlers that all must either return an IPMI error code or allow the command to be executed. If any of the filter handlers return an error code, the remaining handlers will not get a chance to run. Each handler, executed in registered priority order, can be passed the full message, or just the context (metadata describing the command, netfn, cmd, etc.) Change-Id: I3c48f19ebae0d24344b15fbcd2b940a32f8511d7 Signed-off-by: Vernon Mauery --- include/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'include/Makefile.am') diff --git a/include/Makefile.am b/include/Makefile.am index 4c0e899..852b26b 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -1,5 +1,6 @@ nobase_include_HEADERS = \ ipmid/api.hpp \ + ipmid/filter.hpp \ ipmid/handler.hpp \ ipmid/message.hpp \ ipmid/message/pack.hpp \ -- cgit v1.2.1