Re: [PATCH 02/27] Add a SysRq option to lift kernel lockdown

From: David Howells
Date: Tue Nov 07 2017 - 17:56:59 EST



Thiago Jung Bauermann <bauerman@xxxxxxxxxxxxxxxxxx> wrote:

> On non-x86 platforms (tested on powerpc) this fails to build with:
>
> security/lock_down.c: In function âlockdown_lift_sysrqâ:
> security/lock_down.c:100:40: error: âLOCKDOWN_LIFT_KEYâ undeclared (first use in this function)
> lockdown_lift_sysrq_op.help_msg[5] = LOCKDOWN_LIFT_KEY;
> ^~~~~~~~~~~~~~~~~
> security/lock_down.c:100:40: note: each undeclared identifier is reported only once for each function it appears in

I've added an arch dependency in the Kconfig file in my local branch. I'll
try to get it pushed again.

David