aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2014-08-29 15:18:40 -0700
committerLinus Torvalds <[email protected]>2014-08-29 16:28:16 -0700
commit137f8cff505ace6251dc442c7aa973d60c801a79 (patch)
tree409dde7317a635efd036ce5d3029585988bd9000 /net/lapb/lapb_subr.c
parent0cf1e9d6c34d4c82ac3af8015594849814843d36 (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 <[email protected]> Cc: Seth Jennings <[email protected]> Cc: Minchan Kim <[email protected]> Cc: Nitin Gupta <[email protected]> Acked-by: Dan Streetman <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions