Date: Wed, 21 Jul 2010 10:14:04 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_ktr.c Message-ID: <201007211834.o6LIYYJ5099833@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
attilio 2010-07-21 10:14:04 UTC FreeBSD src repository Modified files: sys/kern kern_ktr.c Log: SVN rev 210337 on 2010-07-21 10:14:04Z by attilio Probabilly defaulting to KTR_GEN is not the right decision when KTR_MASK is not defined at all because KTR_GEN is still a valid class and some traces may fit in. Default to 0, instead, and block any tracing. As long as this is a POLA violation (some thirdy-part code, even if that may be a questionable choice, could be rely on that feature) a MFC possibility might be carefully evaluated. Sponsored by: Sandvine Incorporated Revision Changes Path 1.57 +1 -1 src/sys/kern/kern_ktr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007211834.o6LIYYJ5099833>