Re: Linux 3.18.55

From: Philip MÃller
Date: Thu May 25 2017 - 14:51:20 EST


Hi there,

adding following patch[1] will result in following error on 32bit host:

CC [M] arch/x86/crypto/twofish_glue.o
AS [M] arch/x86/crypto/salsa20-i586-asm_32.o
CC fs/open.o
kernel/fork.c: In function âdup_task_structâ:
kernel/fork.c:341:22: error: implicit declaration of function
âget_random_longâ [-Werror=implicit-function-declaration]
tsk->stack_canary = get_random_long();
^~~~~~~~~~~~~~~
CC fs/read_write.o
...
LD security/integrity/built-in.o
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:257: kernel/fork.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC security/keys/gc.o
CC ipc/ipcns_notifier.o

[1]
https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/tree/queue-3.18/stackprotector-increase-the-per-task-stack-canary-s-random-range-from-32-bits-to-64-bits-on-64-bit-platforms.patch