Detecting process creation/deletion



Hi all. I'm writing a little toy kmod and I need to be able to know whenever a process starts or ends[1]. From my googling I gather there are no special hooks for this, but does anyone know of a (hackish is fine) way to do it?
Thanks.


[1] Before I get 20 posts saying "don't ever do this it will break your kernel and kill kittens", its not for any actual useful code. I'm just playing around in there =]
.




Relevant Pages

  • Re: That link to the online manuals.....
    ... Fr Jack secured a place in history by writing: ... > Anyone care to post it... ... I've tried googling, ... > migraine and stupidly strong painkillers seems to be preventing me from ...
    (uk.rec.motorcycles)
  • privilege separation info
    ... I am looking for a good detailed descussion of this feature, to reference ... from a HOWTO I am writing. ... Some googling produced this ...
    (comp.security.ssh)
  • ATWT/TAN: another gay teenage story
    ... While I was googling something completely unrelated last night, ... across this story on a gay fiction website, ... best writing I've ever read, but it's hard not to connect emotionally ... with the two lead characters. ...
    (rec.arts.tv.soaps.cbs)
  • Re: Getting validator error message to appear without using page.validate
    ... the 1.1 framework, btw...) ... After some googling, that appears to be a asp.net 2.0 feature. ... anyway to do this in 1.1 without just writing out my own error message ...
    (microsoft.public.dotnet.framework.aspnet)