diff options
author | Kees Cook <keescook@chromium.org> | 2018-04-27 04:57:28 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-05-05 08:52:53 +0200 |
commit | 4e234eed58518a8df69a5d14d303b18ed9559832 (patch) | |
tree | 3e1de3cf13e7f764b249f1a37a5a30b29550b3c3 /fs/befs/inode.h | |
parent | crypto: arm64 - add support for SM4 encryption using special instructions (diff) | |
download | linux-4e234eed58518a8df69a5d14d303b18ed9559832.tar.xz linux-4e234eed58518a8df69a5d14d303b18ed9559832.zip |
crypto: tcrypt - Remove VLA usage
In the quest to remove all stack VLA usage from the kernel[1], this
allocates the return code buffers before starting jiffie timers, rather
than using stack space for the array. Additionally cleans up some exit
paths and make sure that the num_mb module_param() is used only once
per execution to avoid possible races in the value changing.
[1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'fs/befs/inode.h')
0 files changed, 0 insertions, 0 deletions