xen/xenbus: Add 'will_handle' callback support in xenbus_watch_path()
Some code does not directly make 'xenbus_watch' object and call 'register_xenbus_watch()' but use 'xenbus_watch_path()' instead. This commit adds support of 'will_handle' callback in the 'xenbus_watch_path()' and it's wrapper, 'xenbus_watch_pathfmt()'. This is part of XSA-349 Cc: stable@vger.kernel.org Signed-off-by:SeongJae Park <sjpark@amazon.de> Reported-by:
Michael Kurth <mku@amazon.de> Reported-by:
Pawel Wieczorkiewicz <wipawel@amazon.de> Reviewed-by:
Juergen Gross <jgross@suse.com> Signed-off-by:
Juergen Gross <jgross@suse.com>
Showing
- drivers/block/xen-blkback/xenbus.c 2 additions, 1 deletiondrivers/block/xen-blkback/xenbus.c
- drivers/net/xen-netback/xenbus.c 1 addition, 1 deletiondrivers/net/xen-netback/xenbus.c
- drivers/xen/xen-pciback/xenbus.c 1 addition, 1 deletiondrivers/xen/xen-pciback/xenbus.c
- drivers/xen/xenbus/xenbus_client.c 7 additions, 2 deletionsdrivers/xen/xenbus/xenbus_client.c
- drivers/xen/xenbus/xenbus_probe.c 1 addition, 1 deletiondrivers/xen/xenbus/xenbus_probe.c
- include/xen/xenbus.h 5 additions, 1 deletioninclude/xen/xenbus.h
Loading
Please register or sign in to comment