[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]

 



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;
               ^~~~~~~~~~~
   arch/x86/include/asm/stackprotector.h:77:12: note: each undeclared identifier is reported only once for each function it appears in

vim +/CANARY_MASK +77 arch/x86/include/asm/stackprotector.h

    71		 * there it already has some randomness on most systems. Later
    72		 * on during the bootup the random pool has true entropy too.
    73		 */
    74		get_random_bytes(&canary, sizeof(canary));
    75		tsc = rdtsc();
    76		canary += tsc + (tsc << 32UL);
  > 77		canary &= CANARY_MASK;
    78	
    79		current->stack_canary = canary;
    80	#ifdef CONFIG_X86_64

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[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