Re: intercept current->pid

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

 



Aiee :)

   Hello!

On Sun, Sep 16, 2001 at 06:59:28PM +0200, vecna@nospam.s0ftpj.org wrote:
> hi,
> 
> I must execute certain operation when current->pid is matched with an pid
> added between options, where I can put this code ? usually I change syscall

   Uhm, I'm not so sure about this kind of solution, but you can try
   to put this code into schedule() ... looking (paying attention) to a
   smart way of getting pid options (dummy module with args, I dunno).

   After all, every process' get `executed' (well, scheduled) by schedule()
   Am I missing something? :)

> TIA, vecna
> -

bye bye

                        -- gg sullivan

-- 
Lorenzo Cavallaro	`Gigi Sullivan' <sullivan@sikurezza.org>

Until I loved, life had no beauty;
I did not know I lived until I had loved. (Theodor Korner)

-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[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