Post #2186850
2024-09-14 06:38 UTC
In the same topic of "use frameworks to make bugs very hard to create", Alice Ryhl's patches for using a "range" api to access data from userspace:
https://lore.kernel.org/r/20240913210031.20802-1-aliceryhl@google.com
along with examples of how recent binder bugs were affected by this issue in C, and also were present in the Rust implementation, along with a proposal for how to prevent that are another good example of how the language can help us in kernel land by creating apis to help us do the right thing.
Replies (0)
No replies.