isovalent / ebpf-docs

An effort to comprehensively document eBPF
https://ebpf-docs.dylanreimerink.nl/
BSD 2-Clause "Simplified" License
177 stars 18 forks source link

Question: Field for related bugs #45

Open hodgesds opened 1 month ago

hodgesds commented 1 month ago

I wonder if it would make sense to add a field for related bugs. For example on some older kernels bpf_kptr_xchg may fail due to a verifier bug. I don't know of a good way to generate these automatically, but could be an interesting idea to explore.

dylandreimerink commented 1 week ago

Hi, sorry for the late reply, this issue was not on my radar. Do you think a warning note on the helper page would good enough? I am all for documenting things like this, but like you said, there is no machine parse-able data source for these sorts of bugs that I know of. So documenting such bugs is likely to be on case by case basis.

hodgesds commented 1 week ago

Maybe instead it should have a link to the mailing list, for example for bpf_kptr_xchg it could be something like:

LORE