Re: [PATCH] security.h updates

From: James Morris (jmorrisat_private)
Date: Thu Sep 13 2001 - 16:39:38 PDT

  • Next message: Chris Wright: "Re: [PATCH] security.h updates"

    On Thu, 13 Sep 2001, Chris Wright wrote:
    
    > * Chris Wright (chrisat_private) wrote:
    > >
    > > Finally, changed the skb_ops->alloc/clone docs to reflect that they
    > > may be called from an interrupt.
    >
    
    Well, much of the networking code can run under interrupt -- I'm not sure
    it's something we need to document here.
    
    > hmm, considering the return type for skb_ops->clone is void, i think it is
    > safe to say we are explicitly not allowing memory allocation during clone.
    > (which makes sense to me).
    
    It's possible that someone might want to do a new allocation here.
    
    > should we say _anything_ here?  should we
    > consider supporting a new blob allocation in clone (and return an int)?
    >
    
    We should probably cater for allocation failures for both clone() and
    copy().  I'll start working on a patch.
    
    
    - James
    -- 
    James Morris
    <jmorrisat_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 Sep 13 2001 - 16:40:28 PDT