Re: SELinux Kernel Oops

From: Stephen Smalley (sdsat_private)
Date: Thu Oct 31 2002 - 04:05:12 PST

  • Next message: Greg KH: "Re: SELinux Kernel Oops"

    On Wed, 30 Oct 2002, Chris Wright wrote:
    
    > Hmm, this is an ugly one.  Primarily because it touches into the fs
    > specific code.  I don't see a good way to do this any differently aside
    > from introducing a wrapper like f_release that just conditionally calls
    > f->release and ->file_free_security...
    
    Yes, that would be straightforward.  Maybe a put_private_file function in
    fs/file_table.c that makes these two calls, analagous to fput?
    
    > BTW, you missed the DTE instance of init_private_file.
    
    Shouldn't matter, since DTE doesn't allocate or use a security field for
    file structures, and it can't be stacked with SELinux.
    
    --
    Stephen D. Smalley, NAI Labs
    ssmalleyat_private
    
    
    
    _______________________________________________
    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 Oct 31 2002 - 10:40:51 PST