Re: reproducible panic in netisr

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rick Macklem
Date: Thursday, August 6, 2009 - 7:43 am

On Thu, 6 Aug 2009, Robert Watson wrote:

Does this imply that the nfs/krpc hack of:
 	oldcred = td->td_ucred;
 	td->td_ucred = "some other cred ptr"
 	...
 	td->td_ucred = oldcred;

could be dangerous?

Maybe it should be converted to code that replaces the contents instead
of replacing the *cred? (Variants of the above live in a bunch of places
in the krpc, nlm and nfs code, due to the fact that the socket functions
use td->td_ucred in various places.)

rick

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
reproducible panic in netisr, Navdeep Parhar, (Tue Aug 4, 3:58 pm)
Re: reproducible panic in netisr, Bjoern A. Zeeb, (Tue Aug 4, 10:43 pm)
Re: reproducible panic in netisr, Navdeep Parhar, (Tue Aug 4, 11:34 pm)
Re: reproducible panic in netisr, Kamigishi Rei, (Wed Aug 5, 12:26 am)
Re: reproducible panic in netisr, Robert Watson, (Wed Aug 5, 4:17 pm)
Re: reproducible panic in netisr, Larry Rosenman, (Thu Aug 6, 6:34 am)
Re: reproducible panic in netisr, Kamigishi Rei, (Thu Aug 6, 6:38 am)
Re: reproducible panic in netisr, Robert Watson, (Thu Aug 6, 7:11 am)
Re: reproducible panic in netisr, Rick Macklem, (Thu Aug 6, 7:43 am)
Re: reproducible panic in netisr, Julian Elischer, (Thu Aug 6, 8:10 am)
Re: reproducible panic in netisr, Rick Macklem, (Thu Aug 6, 8:39 am)
Re: reproducible panic in netisr, Robert Watson, (Thu Aug 6, 9:33 am)
Re: reproducible panic in netisr, Julian Elischer, (Thu Aug 6, 11:58 am)
Re: reproducible panic in netisr, Rick Macklem, (Thu Aug 6, 1:32 pm)
Re: reproducible panic in netisr, John Baldwin, (Fri Aug 7, 5:35 am)
Re: reproducible panic in netisr, Bjoern A. Zeeb, (Mon Aug 10, 6:39 am)
Re: reproducible panic in netisr, Larry Rosenman, (Mon Aug 10, 8:35 am)
Re: reproducible panic in netisr, O. Hartmann, (Mon Aug 10, 10:44 am)
Re: reproducible panic in netisr, Julian Elischer, (Mon Aug 10, 10:52 am)
Re: reproducible panic in netisr, Robert Watson, (Mon Aug 10, 11:02 am)
Re: reproducible panic in netisr, Bjoern A. Zeeb, (Mon Aug 10, 11:50 am)