Date: Thu, 22 Jul 2004 17:05:04 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_prot.c Message-ID: <200407221705.i6MH54rE008360@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2004-07-22 17:05:04 UTC FreeBSD src repository Modified files: sys/kern kern_prot.c Log: suser() accepts a thread argument; as suser() dereferences td_ucred, a thread-local pointer, in practice that thread needs to be curthread. If we're running with INVARIANTS, generate a warning if not. If we have KDB compiled in, generate a stack trace. This doesn't fire at all in my local test environment, but could be irritating if it fires frequently for someone, so there will be motivation to fix things quickly when it does. Revision Changes Path 1.185 +12 -0 src/sys/kern/kern_prot.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407221705.i6MH54rE008360>