Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: [PATCH v5 next 1/5] modules:capabilities: add request_module_cap()

$
0
0
Linus Torvalds writes: (Summary) When we do "request_module(XYZ)" we don't necessarily know what the dependencies are, so we expect modprobe to just load the right modules.
just load the right modules.
So if modprobe then loads some other module (dccp or whatever), the kernel has no real way to know "oh, that wasn't part of the dependency chain for the module we aked for".
chain for the module we aked for".
Now, if modprobe is taught to check that the filename of the module that it opens actually matches the metadata in the ELF sections, that would solve it, but it's out of the kernels hands..

Viewing all articles
Browse latest Browse all 1267

Trending Articles