format_template attribute
From: | Rasmus Villemoes <linux@rasmusvillemoes.dk> | |
To: | kernel-hardening@lists.openwall.com | |
Subject: | [RFC 0/2] format_template attribute | |
Date: | Fri, 19 Feb 2016 00:24:20 +0100 | |
Message-ID: | <1455837862-24189-1-git-send-email-linux@rasmusvillemoes.dk> | |
Cc: | Rasmus Villemoes <linux@rasmusvillemoes.dk> | |
Archive‑link: | Article |
I've been sitting on this for a while and would like to get some comments; apologies if this is inappropriate for this list. It's also a lot of code for not finding any bugs in the current kernel, but I guess that's good thing. It's on top of Emese's v2 infrastructure. It probably won't build with all gccs; it works for me with gcc 4.9. Rasmus Villemoes (2): plugins: implement format_template attribute compiler.h: add __format_template arch/Kconfig | 18 ++ drivers/hwmon/applesmc.c | 2 +- drivers/staging/speakup/spk_types.h | 2 +- include/linux/compiler.h | 7 + include/linux/smpboot.h | 2 +- include/linux/usb.h | 2 +- scripts/Makefile.gcc-plugins | 4 + tools/gcc/Makefile | 2 + tools/gcc/format_template.c | 331 ++++++++++++++++++++++++++++++++++++ 9 files changed, 366 insertions(+), 4 deletions(-) create mode 100644 tools/gcc/format_template.c -- 2.1.4