[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1465336628-18219-1-git-send-email-keescook@chromium.org>
Date: Tue, 7 Jun 2016 14:57:03 -0700
From: Kees Cook <keescook@...omium.org>
To: kernel-hardening@...ts.openwall.com
Cc: Kees Cook <keescook@...omium.org>, Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
"David S. Miller" <davem@...emloft.net>,
Mauro Carvalho Chehab <mchehab@....samsung.com>,
Jiri Slaby <jslaby@...e.cz>,
Guenter Roeck <linux@...ck-us.net>,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/5] lkdtm: add usercopy and rodata, fix atomic
This adds several new tests to lkdtm.
To test non-executability of .rodata, lkdtm's build method shifted
around a bit requiring a source file rename. But after some objcopy
magic, there is now an architecture-agnostic way to write functions
into .rodata.
The atomic under/overflow test was split so that each case could be
individually tested.
The biggest addition are the usercopy tests (in preparation for
CONFIG_HARDENED_USERCOPY, based on grsecurity/PaX's PAX_USERCOPY).
This tests both directions (copy_to_from, copy_from_user) of the
three error conditions that are checked for: wrong object size,
wrong stack frame, and wrong object markings.
Unless anyone has blocking comments, I'll send a pull to Greg
for this to land in -next soon.
-Kees
Powered by blists - more mailing lists