Re: minor patch to sched.h

From: richard offer (offerat_private)
Date: Tue Sep 04 2001 - 11:14:18 PDT

  • Next message: Greg KH: "Re: minor patch to sched.h"

    * frm gregat_private "09/04/01 10:32:50 -0700" | sed '1,$s/^/* /'
    *
    * On Tue, Sep 04, 2001 at 09:32:57AM -0700, richard offer wrote:
    *> 
    *> Just a small patch to ensure (and make it very clear from a
    *> self-documentation pov) that we have a NULL security blob for the first
    *> task.
    * 
    * I don't think this is necessary.  Static variables (like the
    * init_task_union) are initialized to 0 by the kernel on startup.  So I
    * don't think we need to explicitly set this (if you notice, not all
    * fields are set now in the INIT_TASK() macro due to this.)
    
    Right, but some are set to 0, which made me wonder. My suspicion is that
    you're right, but it may still be worthwhile for documentation purposes.
    
    * 
    * Unless the attribute (__section__(".data.init_task")) changes this,
    * anyone know about that?
    * 
    * greg k-h
    
    richard.
    
    -----------------------------------------------------------------------
    Richard Offer                     Technical Lead, Trust Technology, SGI
    "Specialization is for insects"
    _______________________________________________________________________
    
    
    _______________________________________________
    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 Sep 04 2001 - 11:16:43 PDT