NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/46606: NetBSD/i386 6.99.7 of today crashes during shutdown



The following reply was made to PR kern/46606; it has been noted by GNATS.

From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/46606: NetBSD/i386 6.99.7 of today crashes during shutdown
Date: Sun, 05 Jan 2014 19:32:16 +0900 (JST)

 Hi,
 
 The following commit solves my problem.
 No panic anymore.
 
 Thank you.
 
 
 Module Name:   src
 Committed By:  christos
 Date:          Mon Nov 25 16:29:25 UTC 2013
 
 Modified Files:
        src/sys/kern: kern_lwp.c
 
 Log Message:
 Use the process credentials instead of the lwp credentials because if the
 process just did a setuid() call, the lwp might not have had a chance to
 refresh l->l_cred (still has LPR_CRMOD), and we don't want to bother spending
 time syncing the creds of a dying lwp. Should fix the problem with hald
 people have been observing.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.176 -r1.177 src/sys/kern/kern_lwp.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 
 --
 Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
 PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3
 


Home | Main Index | Thread Index | Old Index