mirror of
https://github.com/opnsense/src.git
synced 2026-02-03 20:49:35 -05:00
The CSB_WRITE() and _READ() macros respectively write to and read from userspace memory and so can in principle fault. However, we do not check for errors and will proceed blindly if they fail. Add assertions to verify that they do not. This is in preparation for annotating copyin() and related functions with __result_use_check. Reviewed by: vmaffione MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D43200 (cherry picked from commit 99efa2c88d93c6272a8f54b18d18d0fd9d60f137) |
||
|---|---|---|
| .. | ||
| if_ptnet.c | ||
| if_re_netmap.h | ||
| if_vtnet_netmap.h | ||
| netmap.c | ||
| netmap_bdg.c | ||
| netmap_bdg.h | ||
| netmap_freebsd.c | ||
| netmap_generic.c | ||
| netmap_kern.h | ||
| netmap_kloop.c | ||
| netmap_legacy.c | ||
| netmap_mbq.c | ||
| netmap_mbq.h | ||
| netmap_mem2.c | ||
| netmap_mem2.h | ||
| netmap_monitor.c | ||
| netmap_null.c | ||
| netmap_offloadings.c | ||
| netmap_pipe.c | ||
| netmap_vale.c | ||