Re: module's use of security_ops

From: Greg KH (gregat_private)
Date: Thu Jun 07 2001 - 16:59:54 PDT

  • Next message: Chris Wright: "Re: module's use of security_ops"

    On Thu, Jun 07, 2001 at 04:41:40PM -0700, Chris Wright wrote:
    > fs/binfmt_elf.c
    > 
    > if (!bprm->sh_bang) {
    >     retval = security_ops->file_ops->permission (bprm->file, MAY_EXEC);
    
    Doh, wasn't thinking about the current modules.  There are lots of other
    places that will also need access (see all of the current capable()
    checks in drivers that can be compiled as a module.)
    
    I agree, it will need to be exported.
    
    greg k-h
    
    _______________________________________________
    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 : Thu Jun 07 2001 - 17:02:23 PDT