lists.openwall.net   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 <lkp@...el.com>
To:     js1304@...il.com
Cc:     kbuild-all@...org, Andrew Morton <akpm@...ux-foundation.org>,
        Andrey Ryabinin <aryabinin@...tuozzo.com>,
        Alexander Potapenko <glider@...gle.com>,
        Dmitry Vyukov <dvyukov@...gle.com>, kasan-dev@...glegroups.com,
        linux-mm@...ck.org, linux-kernel@...r.kernel.org,
        Namhyung Kim <namhyung@...nel.org>,
        Wengang Wang <wen.gang.wang@...cle.com>,
        Joonsoo Kim <iamjoonsoo.kim@....com>
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]

url:    https://github.com/0day-ci/linux/commits/js1304-gmail-com/introduce-a-new-tool-valid-access-checker/20171201-090908
base:   git://git.cmpxchg.org/linux-mmotm.git master
config: x86_64-randconfig-x011-201748 (attached as .config)
compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
reproduce:
        # 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_);
     ^~~~~~~~~~~~~~~~
     __kmalloc
   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

   416	
   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);
   422	
   423		kasan_kmalloc(s, ret, size, flags);
 > 424		vchecker_kmalloc(s, ret, size, _THIS_IP_);
   425		return ret;
   426	}
   427	

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ