public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* Re: [RFC] TaskTracker : Simplified thread information tracker.
       [not found]   ` <201401111445.FFD12454.tOHFFLSOQOMVFJ@I-love.SAKURA.ne.jp>
@ 2014-01-11 16:21     ` Jonathan Lebon
  0 siblings, 0 replies; only message in thread
From: Jonathan Lebon @ 2014-01-11 16:21 UTC (permalink / raw)
  To: Tetsuo Handa; +Cc: dhowells, linux-security-module, systemtap

> Jonathan Lebon wrote:
> > > But AKARI and SystemTap do not help unless the kernel module is loaded
> > before
> > > the unexpected system event occurs. Generally, the administrator is
> > failing
> > > to record the first event, and has to wait for the same event to occur
> > again
> > > after loading the kernel module and/or configuring auditing. I came to
> > think
> > > that we want a built-in kernel routine which is automatically started
> > upon
> > > boot so that we don't fail to record the first event.
> > 
> > Just wanted to note that SystemTap has just now added the ability to
> > insert a module during early boot on dracut-based systems (see [1] for
> > more info). It should be part of the next release.
> > 
> > [1] https://sourceware.org/ml/systemtap/2014-q1/msg00012.html
> > 
> That's nice. However, I still worry about SystemTap approach.
> 
> The event which I want to inspect happens one day suddenly. It seems to me
> that SystemTap is not a tool designed for monitoring throughout years.
> 
> TaskTracker does not skip fork()/execve()/exit() events and does not stop
> working until shutdown, but SystemTap might skip events or stop working
> ( https://sourceware.org/systemtap/wiki/TipSkippedProbes ) before the event
> I want to inspect happens.
> 
> Therefore, I want to revive security_task_alloc() LSM hook and implement
> TaskTracker as LSM using security_task_alloc()/security_task_free() for
> reliability.

Understood. I'm CC'ing the systemtap mailing list here in case others
more experienced with SystemTap have something to add re. your concerns.

Jonathan

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-01-11 16:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <201311262339.FHB13593.MFJtSVOQFOLHOF@I-love.SAKURA.ne.jp>
     [not found] ` <1389392428.2727.12.camel@2600.yyz.redhat.com>
     [not found]   ` <201401111445.FFD12454.tOHFFLSOQOMVFJ@I-love.SAKURA.ne.jp>
2014-01-11 16:21     ` [RFC] TaskTracker : Simplified thread information tracker Jonathan Lebon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).