NHacker Next
- new
- past
- show
- ask
- show
- jobs
- submit
login
Does anyone know why modprobe_path isn't in read only memory? Would just making it const char be enough to avoid this technique?
Oh, it's because it can be set by /proc/sys/kernel/modprobe
There is CONFIG_STATIC_USERMODEHELPER that disables the sysctl you mentioned and actually make modprobe_path read-only.
Rendered at 06:40:40 GMT+0000 (Coordinated Universal Time) with Vercel.