lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 1 Dec 2017 10:39:06 +0800
From:   kbuild test robot <>
Cc:, Andrew Morton <>,
        Andrey Ryabinin <>,
        Alexander Potapenko <>,
        Dmitry Vyukov <>,,,,
        Namhyung Kim <>,
        Wengang Wang <>,
        Joonsoo Kim <>
Subject: Re: [PATCH 15/18] mm/vchecker: pass allocation caller address to
 vchecker hook

Hi Joonsoo,

I love your patch! Yet something to improve:

[auto build test ERROR on mmotm/master]
[also build test ERROR on v4.15-rc1 next-20171130]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

base:   git:// master
config: x86_64-randconfig-x011-201748 (attached as .config)
compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   In file included from include/linux/crypto.h:24:0,
                    from arch/x86/kernel/asm-offsets.c:9:
   include/linux/slab.h: In function 'kmem_cache_alloc_trace':
>> include/linux/slab.h:424:2: error: implicit declaration of function 'vchecker_kmalloc'; did you mean '__kmalloc'? [-Werror=implicit-function-declaration]
     vchecker_kmalloc(s, ret, size, _THIS_IP_);
   cc1: some warnings being treated as errors
   make[2]: *** [arch/x86/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [sub-make] Error 2

vim +424 include/linux/slab.h

   417	#else /* CONFIG_TRACING */
   418	static __always_inline void *kmem_cache_alloc_trace(struct kmem_cache *s,
   419			gfp_t flags, size_t size)
   420	{
   421		void *ret = kmem_cache_alloc(s, flags);
   423		kasan_kmalloc(s, ret, size, flags);
 > 424		vchecker_kmalloc(s, ret, size, _THIS_IP_);
   425		return ret;
   426	}

0-DAY kernel test infrastructure                Open Source Technology Center                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (33760 bytes)

Powered by blists - more mailing lists