Re: unloading a module with no exit routine?

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

 



On Sun, Jun 28, 2009 at 12:58 AM, Robert P. J. Day<rpjday@xxxxxxxxxxxxxx> wrote:
>
>  as i read it, if you build and load a module with no exit() routine,
> once that module's loaded, it is absolutely unloadable until you
> reboot the system, is that correct?  i just tested that and, via
> lsmod, i see:
>
> $ lsmod
> ...
> hi                      1760  0 [permanent]
>
>  that certainly suggests to *me* that it's there for good, no matter
> what i do.  is that correct?

what happen if you forcefully unload that "hi" module? let's put aside
any memory leakage etc.... I guess the kernel has somewhat "generic"
unload function.

regards,

Mulyadi.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux