Did you see my alternative patch, either on the internal bug or this mailing list?
I don't think we actually want to return errno... On Thu, Aug 2, 2018, 14:01 xiewen <[email protected]> wrote: > hi Guys: > > I find a bug in modprobe.c: > In the following case, modprobe will fail: > First ins_mod a.ko, then ins_mod b.ko, b.ko depends on a.ko,b.ko will > insmod failed. > Because syscall will return to EPERM, but finit_module and > init_module actually return EEXIST, > and EEXIST is stored in errno. > > Finally, I found that rm_mod uses errno as the return value, so I > think ins_mod should also use errno as the return value. > > -- > > ------------------------------------ > > thanks with best regards! > > email:[email protected];[email protected] > > phone:15850502564 > > > > > > _______________________________________________ > Toybox mailing list > [email protected] > http://lists.landley.net/listinfo.cgi/toybox-landley.net >
_______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
