Re: graft_tree/attach_mnt rfc

From: Mike Wray (mike_wrayat_private)
Date: Tue Oct 08 2002 - 08:20:26 PDT

  • Next message: Mike Wray: "Re: [RFC] No more module_* hooks"

    ----- Original Message -----
    From: Serge E. Hallyn <hallynat_private>
    To: Mike Wray <mike_wrayat_private>
    Cc: <linux-security-moduleat_private>
    Sent: 04 October 2002 10:45
    Subject: Re: graft_tree/attach_mnt rfc
    
    
    > > This is a problem for us because our present code for handling a mount
    involves
    > > looking up filenames,
    >
    > As does that for DTE - you can implement the first part of path_lookup
    > yourself in a safe way (use dget_locked), then call link_path_walk,
    > which expects the spinlock (and releases it, using unlock_nd).
    >
    
    That would be OK if all our code was in the kernel -
    but we have a user-space daemon that does the heavy-duty
    file lookups so kernel workrounds don't really help.
    
    Mike
    
    _______________________________________________
    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 : Tue Oct 08 2002 - 08:20:25 PDT