LSM kernel/user communication

From: Jonathan Heusser (jonnyat_private)
Date: Mon Apr 07 2003 - 10:39:50 PDT

  • Next message: Stephen D. Smalley: "Re: LSM kernel/user communication"

    Hi,
    
    I wondered what you consider best for the communication between kernel- 
    and userland of a
    LSM module (e.g. for reading in a configuration file)?
    
    I saw the lids lsm module uses filp_open() and parses the config file 
    within the module (which I consider
    as unclean ...), selinux is using an own implementation fopen().
    At the moment I'm parsing the config file with a userland tool and I'm 
    using the sys_security syscall
    to transfer all the information to the module ..but it's quite unhandy.
    
    What is your opinion on this?
    
    thanks,
    jonathan heusser
    
    -- 
    Key fingerprint = 2A55 EB7C B7EA 6336 7767  4A47 910A 307B 1333 BD6C
    
    
    
    _______________________________________________
    linux-security-module mailing list
    linux-security-moduleat_private
    http://mail.wirex.com/mailman/listinfo/linux-security-module
    



    This archive was generated by hypermail 2b30 : Mon Apr 07 2003 - 08:38:11 PDT