[LTP] [PATCH 2/2] testcases: netns: Handle "Operation not supported" error

Cyril Hrubis chrubis@suse.cz
Wed Aug 8 16:08:34 CEST 2018


Hi!
> > That will possibly break on embedded systems that have everything
> > compiled-in kernel, not sure if there are any out there.
> 
> modprobe looks for modules.builtin as well and will just return 0 if
> it finds the driver there. But it might not be available for kernels
> before 2.6.33: bc081dd6e9f6 ("kbuild: generate modules.builtin").

I was also thinking of embedded hardware that does not even install
modprobe, but maybe I'm overthinking it and such special cases will have
to manualy specify what is supported and what is not, which would be at
least doable if we added a library function for checking what is
suppored.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list