Re: [memcg:since-4.11 538/546] arch/x86/include/asm/stackprotector.h:77:12: error: 'CANARY_MASK' undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri 30-06-17 13:57:18, Michal Hocko wrote:
> On Fri 30-06-17 19:45:31, Wu Fengguang wrote:
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git since-4.11
> > head:   7398359c52bfc0e6188552bc391c717910db1a22
> > commit: a76bbabc83c87148e249810efba03a1b7a5952d3 [538/546] x86: ascii armor the x86_64 boot init stack canary
> > config: x86_64-randconfig-x010-201726 (attached as .config)
> > compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
> > reproduce:
> >         git checkout a76bbabc83c87148e249810efba03a1b7a5952d3
> >         # save the attached .config to linux build tree
> >         make ARCH=x86_64 
> > 
> > All errors (new ones prefixed by >>):
> > 
> >    In file included from include/linux/stackprotector.h:9:0,
> >                     from arch/x86/kernel/process.c:22:
> >    arch/x86/include/asm/stackprotector.h: In function 'boot_init_stack_canary':
> > >> arch/x86/include/asm/stackprotector.h:77:12: error: 'CANARY_MASK' undeclared (first use in this function)
> >      canary &= CANARY_MASK;
> >                ^~~~~~~~~~~
> 
> My fault. I've screwed applying
> randomstackprotect-introduce-get_random_canary-function.patch. Will fix
> that up and update my mmotm git tree. Sorry about that!

My build test batter hasn't caught it because all my configs use
CONFIG_CC_STACKPROTECTOR_NONE=y and allyesconfig seems to use the same.
I have added a config which enforces CONFIG_CC_STACKPROTECTOR=y to the
tested configs.

-- 
Michal Hocko
SUSE Labs

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]
  Powered by Linux