Home
last modified time | relevance | path

Searched hist:e1fe7ee885dc0712e982ee465d9f8b96254c30c1 (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/io_uring/
H A Dalloc_cache.hdiff e1fe7ee885dc0712e982ee465d9f8b96254c30c1 Thu Feb 23 10:43:53 CST 2023 Breno Leitao <leitao@debian.org> io_uring: Add KASAN support for alloc_caches

Add support for KASAN in the alloc_caches (apoll and netmsg_cache).
Thus, if something touches the unused caches, it will raise a KASAN
warning/exception.

It poisons the object when the object is put to the cache, and unpoisons
it when the object is gotten or freed.

Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Gabriel Krisman Bertazi <krisman@suse.de>
Link: https://lore.kernel.org/r/20230223164353.2839177-2-leitao@debian.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
H A Dnet.hdiff e1fe7ee885dc0712e982ee465d9f8b96254c30c1 Thu Feb 23 10:43:53 CST 2023 Breno Leitao <leitao@debian.org> io_uring: Add KASAN support for alloc_caches

Add support for KASAN in the alloc_caches (apoll and netmsg_cache).
Thus, if something touches the unused caches, it will raise a KASAN
warning/exception.

It poisons the object when the object is put to the cache, and unpoisons
it when the object is gotten or freed.

Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Gabriel Krisman Bertazi <krisman@suse.de>
Link: https://lore.kernel.org/r/20230223164353.2839177-2-leitao@debian.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
H A Dio_uring.cdiff e1fe7ee885dc0712e982ee465d9f8b96254c30c1 Thu Feb 23 10:43:53 CST 2023 Breno Leitao <leitao@debian.org> io_uring: Add KASAN support for alloc_caches

Add support for KASAN in the alloc_caches (apoll and netmsg_cache).
Thus, if something touches the unused caches, it will raise a KASAN
warning/exception.

It poisons the object when the object is put to the cache, and unpoisons
it when the object is gotten or freed.

Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Gabriel Krisman Bertazi <krisman@suse.de>
Link: https://lore.kernel.org/r/20230223164353.2839177-2-leitao@debian.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
/openbmc/linux/include/linux/
H A Dio_uring_types.hdiff e1fe7ee885dc0712e982ee465d9f8b96254c30c1 Thu Feb 23 10:43:53 CST 2023 Breno Leitao <leitao@debian.org> io_uring: Add KASAN support for alloc_caches

Add support for KASAN in the alloc_caches (apoll and netmsg_cache).
Thus, if something touches the unused caches, it will raise a KASAN
warning/exception.

It poisons the object when the object is put to the cache, and unpoisons
it when the object is gotten or freed.

Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Gabriel Krisman Bertazi <krisman@suse.de>
Link: https://lore.kernel.org/r/20230223164353.2839177-2-leitao@debian.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>