tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/tests/modules



On Mon, Mar 26, 2012 at 11:58:40AM +0000, YAMAMOTO Takashi wrote:
> hi,
> 
> > On Mar 25, 2012, at 10:35 PM, YAMAMOTO Takashi wrote:
> > 
> >> hi,
> >> 
> >> doesn't modctl/modload return some error which indicate the reason
> >> of failure?
> > 
> > EPERM which isn't really useful.
> 
> then how about changing it so that it's more useful?

ENXIO seems appropriate.

To add a sysctl to check for MODULAR/non-MODULAR seems unnecessarily
complicated.

Dave

-- 
David Young
dyoung%pobox.com@localhost    Urbana, IL    (217) 721-9981


Home | Main Index | Thread Index | Old Index