Date: Wed, 4 May 2005 18:16:06 -0400 (EDT) From: Jeff Roberson <jroberson@chesapeake.net> To: arch@freebsd.org Subject: printflike vs kprintflike Message-ID: <20050504180112.M18611@mail.chesapeake.net>
next in thread | raw e-mail | index | archive | help
I have a patch from Neal Fachan of isilon that implements a new gcc attribute 'kprintflike' that is used in place of 'printflike' in the kernel. This is done to stop us from leaking kernel printf formats into userspace. Apparently -fformat-extensions is broken in gcc3. This also stops our formats from leaking into any other custom formats defined in gcc. This is available at http://www.chesapeake.net/~jroberson/kprintf.diff This patch was made against 5.4 sources with some local changes. I can update it to 6.0, but I'm hoping some compiler guru will pick it up and commit it. Thanks, Jeff
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050504180112.M18611>