mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-15 05:49:17 +00:00
IOC mediator: support IOC signal whitelist
This patch implements the signal whitelist feature. All the signal messages will be discarded if they are not existed in whitelist. Signed-off-by: Liu Yuan <yuan1.liu@intel.com> Reviewed-by: Wang Yu <yu1.wang@intel.com> Reviewed-by: Liu Shuo <shuo.a.liu@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -729,4 +729,10 @@ int cbc_copy_to_ring(const uint8_t *buf, size_t size, struct cbc_ring *ring);
|
||||
|
||||
/* Build a cbc_request based on CBC link layer protocol */
|
||||
void cbc_unpack_link(struct ioc_dev *ioc);
|
||||
|
||||
/* Whitelist initialization */
|
||||
void wlist_init_signal(struct cbc_signal *cbc_tbl, size_t cbc_size,
|
||||
struct wlist_signal *wlist_tbl, size_t wlist_size);
|
||||
void wlist_init_group(struct cbc_group *cbc_tbl, size_t cbc_size,
|
||||
struct wlist_group *wlist_tbl, size_t wlist_size);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user