Date: Sun, 26 Oct 2008 15:41:23 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern subr_stack.c Message-ID: <200810261541.m9QFfSXD076169@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2008-10-26 15:41:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern subr_stack.c Log: SVN rev 184290 on 2008-10-26 15:41:23Z by kib MFC r184060: Ktr(9) stores format string and arguments in the event circular buffer, not the string formatted at the time of CTRX() call. Stack_ktr(9) uses an on-stack buffer for the symbol name, that is supplied as an argument to ktr. As result, stack_ktr() traces show garbage or cause page faults. Fix stack_ktr() by using pointer to module symbol table that is supposed to have a longer lifetime. Approved by: re (kensmith) Revision Changes Path 1.3.2.5 +24 -20 src/sys/kern/subr_stack.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810261541.m9QFfSXD076169>