diff options
| author | Kees Cook <keescook@chromium.org> | 2014-08-29 15:18:40 -0700 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-09-25 21:13:15 +0200 |
| commit | 57aa82ff848299adfa42d867dd58acfe989daa5d (patch) | |
| tree | 33556465073884f88c8760e983eaa92dc61f8cc8 /include/linux/ion_debugger_kernel.h | |
| parent | 5d632b66b6cf773e0094f526e06fd04fe412d127 (diff) | |
mm/zpool: use prefixed module loading
To avoid potential format string expansion via module parameters, do not
use the zpool type directly in request_module() without a format string.
Additionally, to avoid arbitrary modules being loaded via zpool API
(e.g. via the zswap_zpool_type module parameter) add a "zpool-" prefix
to the requested module, as well as module aliases for the existing
zpool types (zbud and zsmalloc).
Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Seth Jennings <sjennings@variantweb.net>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Nitin Gupta <ngupta@vflare.org>
Acked-by: Dan Streetman <ddstreet@ieee.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/ion_debugger_kernel.h')
0 files changed, 0 insertions, 0 deletions
