LSM root_plug module questions

From: David Härdeman (david_at_2gen.com)
Date: 08/30/05

  • Next message: Karene_at_expertwitnessbank.com: "Consulting Opportunity - Ph.D. Preferred"
    Date:	Tue, 30 Aug 2005 23:31:13 +0200
    To: linux-kernel@vger.kernel.org
    
    

    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

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Karene_at_expertwitnessbank.com: "Consulting Opportunity - Ph.D. Preferred"

    Relevant Pages