Closed dthaler closed 6 months ago
Section 4.3 says:
If the BPF_FETCH flag is set, then the operation also overwrites src with the value that was in memory before it was modified.
BPF_FETCH
src
The appendix shows code like:
*(u32 *)(dst + offset) += src src = *(u32 *)(dst + offset)
Which would overwrite src with the value after being modified if read literally.
Section 4.3 says:
The appendix shows code like:
Which would overwrite
src
with the value after being modified if read literally.