Re: value of task p_pptr in task_alloc_security

From: Tim Potter (tpotat_private)
Date: Sun Nov 10 2002 - 22:24:31 PST

  • Next message: Seth Arnold: "Re: value of task p_pptr in task_alloc_security"

    On Sun, Nov 10, 2002 at 05:04:09PM -0800, Seth Arnold wrote:
    
    > > My problem is that the p_pptr in the task struct passed points
    > > to the grandfather process not the father.  Is this a problem with
    > > old versions of LSM?  I'm using the 2.4.18 patch which I realise
    > > is quite old.
    > 
    > Tim, in the version of LSM I've got easiest access to, this looks like
    > the expected behavior -- the parent task pointer is set well after
    > the LSM hook has been called. You can still find the parent task by
    > dereferencing current, so it should not be an insurmountable problem.
    
    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.  )-:
    
    I might have to work around it another way.
    
    
    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 10 2002 - 22:25:35 PST