Re: Iterating through all the processes in a module

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

On Wed, Feb 22, 2012 at 8:23 PM, Greg KH <greg@xxxxxxxxx> wrote:

A: No.
Q: Should I include quotations after my reply?

On Wed, Feb 22, 2012 at 02:07:22PM +0100, Arokux B. wrote:
> Dear Greg,
> thank you very much for your quick reply.
> Having my code as a module I can trigger its execution (load a module)
> and disable it (unload a module). How can I achieve this if the code
> is inside the kernel? One possibility I see is adding an entry in the
> procfs.

I don't see what procfs has to do with this, please explain.

And as you said this was for "learning purposes", then just build it
into the kernel, there's no need for it to be a module.

Heh, you can just put back the relevant parts of what commit
c59923a15c12d2b3597af913bf234a0ef264a38b removed and then do what
you want as a module, if it is for learning purposes :-)

Srivatsa S. Bhat
Kernelnewbies mailing list

[Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Networking]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

Add to Google Powered by Linux