<div dir="ltr">i'm not usually a pro-bloat kind of guy, but whenever i'm dealing with modules i wish the kernel just came with example1.ko and example2.ko for me to mess around with without actually causing any problems!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Sep 11, 2021 at 10:02 AM Rob Landley <<a href="mailto:rob@landley.net">rob@landley.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 9/10/21 6:10 PM, enh via Toybox wrote:<br>
> My original intent was to just get rid of the meaningless O_EXCL, which<br>
> isn't used by the kernel, after noticing that it's passed here but not<br>
> in modprobe's module removal code.<br>
> <br>
> But then I noticed that other rmmod implementations allow you to pass a<br>
> list of modules, not just one (whereas we were ignoring all but the<br>
> first). And that the help syntax was wrong. And that strend() lets us<br>
> write the code to remove the ".ko" suffix a bit nicer.<br>
<br>
Applied.<br>
<br>
Modules are one of the things I need the mkroot+qemu test system to regression<br>
test. (I'm actually reasonably close to getting that test setup working. The<br>
blocker's been the shell, and toysh can run some reasonable scripts now...)<br>
<br>
Rob<br>
</blockquote></div>