fishinabarrel / linux-kernel-module-rust

Framework for writing Linux kernel modules in safe Rust
GNU General Public License v2.0
1.33k stars 119 forks source link

Account for sysctl user->kernel pointer change #228

Open geofft opened 4 years ago

geofft commented 4 years ago

torvalds/inux@32927393dc1ccd60fb2bdc05b9e8e88753761469 switches proc_handler from taking user pointers to taking kernel ones that are already copied to userspace for us. We should support this change in API and skip the UserSlicePtr bits on v5.8 and newer.