printflike vs kprintflike
From: Jeff Roberson (jroberson_at_chesapeake.net)
Date: 05/05/05
- Previous message: David Schultz: "Re: [CFR] correct type of addrinfo.ai_addrlen and netent.n_net"
- Next in thread: Alexander Kabaev: "Re: printflike vs kprintflike"
- Reply: Alexander Kabaev: "Re: printflike vs kprintflike"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 4 May 2005 18:16:06 -0400 (EDT) To: arch@freebsd.org
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
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: David Schultz: "Re: [CFR] correct type of addrinfo.ai_addrlen and netent.n_net"
- Next in thread: Alexander Kabaev: "Re: printflike vs kprintflike"
- Reply: Alexander Kabaev: "Re: printflike vs kprintflike"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|