Our migration to the Linux 6.18 LTS branch for 10th gen Pixels earlier this month went very smoothly. We're in the process of completing the migration for earlier generation Pixels. We'll migrate 6th through 9th gen Pixels to 6.18 together due to the shared driver source tree.
0 Boosts
0 Likes
There was a Linux kernel patch submitted upstream to make RANDSTRUCT compatible with Rust but it was incomplete. We used it as the starting point and added the missing pieces. We also had to fix bindgen to handle the anonymous fields Clang uses internally for randomized structs.
Android now uses Rust for kernel modules and multiple kernel modules are written in Rust for Linux 6.18. It's a very good thing overall but resulted in temporarily losing support for struct randomization. We've now resolved that by implementing it for both Rust bindgen and Linux.