<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>hi Guys:</div><div><br></div><div> I find a bug in modprobe.c:</div><div> In the following case, modprobe will fail:</div><div> First ins_mod a.ko, then ins_mod b.ko, b.ko depends on a.ko,b.ko will insmod failed.</div><div> Because syscall will return to EPERM, but finit_module and init_module actually return EEXIST,</div><div> and EEXIST is stored in errno.</div><div><br></div><div> 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.</div><div><br></div><div style="position:relative;zoom:1">--<br><p><span style="FONT-FAMILY: Microsoft Yahei"><span style="FONT-FAMILY: "><span style="FONT-FAMILY: "><span style="FONT-FAMILY: ; COLOR: #000000">------------------------------------</span></span></span></span><span style="FONT-FAMILY: Georgia"><span style="FONT-FAMILY: "><span style="FONT-FAMILY: "></span></span></span></p><span style="FONT-FAMILY: Comic Sans MS"><span style="FONT-FAMILY: "><span style="FONT-FAMILY: "><span style="FONT-FAMILY: ">
<p><span style="FONT-FAMILY: "><span style="FONT-FAMILY: "><span style="FONT-FAMILY: "><span style="FONT-FAMILY: Comic Sans MS; COLOR: #000000">thanks with best regards!</span></span></span></span></p></span></span></span>
<p><span style="FONT-FAMILY: Comic Sans MS"></span><span style="FONT-FAMILY: Comic Sans MS"></span><span style="FONT-FAMILY: "><span style="FONT-FAMILY: Comic Sans MS">email£º</span><a style="FONT-FAMILY: Comic Sans MS" href="mailto:wen.xie@archermind.com;xiewen202@163.com">wen.xie@archermind.com;xiewen202@163.com</a></span></p><span style="FONT-FAMILY: "><span style="FONT-FAMILY: ">
<p style="FONT-FAMILY: Comic Sans MS">phone£º15850502564</p></span></span></span><span style="FONT-FAMILY: Georgia"><span style="FONT-FAMILY: "></span></span><span style="FONT-FAMILY: Arial"></span>
<p> </p><div style="clear:both"></div></div></div><br><br><span title="neteasefooter"><p> </p></span>