public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* LSM root_plug module questions
@ 2005-08-30 21:31 David Härdeman
  2005-08-30 21:55 ` Chris Wright
  0 siblings, 1 reply; 4+ messages in thread
From: David Härdeman @ 2005-08-30 21:31 UTC (permalink / raw)
  To: linux-kernel

Hi,

I'm currently playing around with the security/root_plug.c LSM module 
and I have two questions:

1) What's the recommended way of telling that someone is logging in to 
the computer (via ssh, virtual console, serial console, X, whatever) 
with LSM? Look for open() on /dev/pts?

2) root_plug currently scans the usb device tree looking for the 
appropriate device each time it's needed. In the interest of making the 
result of the lookup cached, it is possible for a module to register so 
that it is notified when a usb device is added/removed?

Regards,
David


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-08-31  8:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-30 21:31 LSM root_plug module questions David Härdeman
2005-08-30 21:55 ` Chris Wright
2005-08-30 22:38   ` Crispin Cowan
2005-08-31  8:04   ` David Härdeman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox