Re: [patch] Job - inescapable job containers
From: Guillaume Thouvenin
Date: Thu Jan 20 2005 - 07:43:51 EST
On Thu, 2005-01-20 at 10:28 +0100, Guillaume Thouvenin wrote:
> The only thing I need to manage "jobs" is a hook in the
> do_fork() routine, everything else is done outside the kernel.
I have a question about this kind of hooks.
It seems that if someone needs a hook somewhere in the kernel he adds
his own hook. For example we have the LSM hooks. But if someone, like
me, need to use such hooks for something that is not specific to
security, LSM is not the right framework and then, I can not use such
hooks. So, there is PAGG that offers hooks and is the right framework.
But there is some other applications, like LTT or whatever, that will
need new hooks. Isn't there a duplicate usage of hooks? Will it be
interesting for Linux to provide some generic hooks because it seems
that some (like in do_fork(), do_exit(), ... ) are often needed by
applications instead of doing the job for security, accounting,
tracing, ...
Guillaume
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/