summaryrefslogtreecommitdiff
path: root/kernel/power
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-07-24 19:49:28 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-07-26 11:26:31 +0300
commitc2cd0b08e1efd9ee58d09049a6c77e5efa0ef627 (patch)
treeb771156d6c486adbbc39d589a880fdfe17df90dc /kernel/power
parentd5641c64c48f4408500a348301bff01fbf2c1ec5 (diff)
downloadlinux-c2cd0b08e1efd9ee58d09049a6c77e5efa0ef627.tar.xz
x86/power/hibernate_64: Remove VLA usage
In the quest to remove all stack VLA usage from the kernel [1], this removes the discouraged use of AHASH_REQUEST_ON_STACK by switching to shash directly and allocating the descriptor in heap memory (which should be fine: the tfm has already been allocated there too). Link: https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com # [1] Signed-off-by: Kees Cook <keescook@chromium.org> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/power')
0 files changed, 0 insertions, 0 deletions