Re: value of task p_pptr in task_alloc_security

From: Tim Potter (tpotat_private)
Date: Sun Nov 17 2002 - 17:16:29 PST

  • Next message: James Morris: "minor inode_mknod() bugfix in Linus' bk."

    On Mon, Nov 11, 2002 at 10:34:30AM -0800, Seth Arnold wrote:
    
    > On Sun, Nov 10, 2002 at 10:24:31PM -0800, Tim Potter wrote:
    > > I looked through fork.c and it looked like this was the case but I
    > > wasn't very sure.  Unfortunately it looks like in this case the parent 
    > > of current is also pointing to the grandfather.  )-:
    > 
    > You wouldn't want to look at current->p_ppt; you'd want to treat current
    > itself as the parent. (Unless the clone(2) flag CLONE_PARENT has been
    
    D'oh.  Of course - I took "dereference" to mean look at p_pptr.  When I
    look at current it gives me the correct information.
    
    
    Thanks,
    
    Tim.
    _______________________________________________
    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 : Sun Nov 17 2002 - 17:19:57 PST