diff options
author | Kees Cook <keescook@chromium.org> | 2018-07-24 09:49:28 -0700 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-07-26 10:26:31 +0200 |
commit | c2cd0b08e1efd9ee58d09049a6c77e5efa0ef627 (patch) | |
tree | b771156d6c486adbbc39d589a880fdfe17df90dc /kernel | |
parent | d5641c64c48f4408500a348301bff01fbf2c1ec5 (diff) | |
download | op-kernel-dev-c2cd0b08e1efd9ee58d09049a6c77e5efa0ef627.zip op-kernel-dev-c2cd0b08e1efd9ee58d09049a6c77e5efa0ef627.tar.gz |
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')
0 files changed, 0 insertions, 0 deletions