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] [day] [month] [year] [list]
Date:   Sat, 14 Oct 2017 16:38:32 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Maninder Singh <maninder1.s@...sung.com>
Cc:     kbuild-all@...org, akpm@...ux-foundation.org, dvyukov@...gle.com,
        chris@...is-wilson.co.uk, linux-kernel@...r.kernel.org,
        pankaj.m@...sung.com, a.sahrawat@...sung.com,
        Maninder Singh <maninder1.s@...sung.com>,
        Vaneet Narang <v.narang@...sung.com>
Subject: Re: [PATCH 1/1] stackdepot: ignore junk last entry in case of switch
 from user mode.

Hi Maninder,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.14-rc4 next-20171013]
[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/Maninder-Singh/stackdepot-ignore-junk-last-entry-in-case-of-switch-from-user-mode/20171014-153544
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All errors (new ones prefixed by >>):

   lib/stackdepot.c: In function 'depot_save_stack':
>> lib/stackdepot.c:217:46: error: 'MODULES_VADDR' undeclared (first use in this function)
     if (trace->entries[trace->nr_entries - 1] < MODULES_VADDR) {
                                                 ^
   lib/stackdepot.c:217:46: note: each undeclared identifier is reported only once for each function it appears in

vim +/MODULES_VADDR +217 lib/stackdepot.c

   196	
   197	/**
   198	 * depot_save_stack - save stack in a stack depot.
   199	 * @trace - the stacktrace to save.
   200	 * @alloc_flags - flags for allocating additional memory if required.
   201	 *
   202	 * Returns the handle of the stack struct stored in depot.
   203	 */
   204	depot_stack_handle_t depot_save_stack(struct stack_trace *trace,
   205					    gfp_t alloc_flags)
   206	{
   207		u32 hash;
   208		depot_stack_handle_t retval = 0;
   209		struct stack_record *found = NULL, **bucket;
   210		unsigned long flags;
   211		struct page *page = NULL;
   212		void *prealloc = NULL;
   213	
   214		if (unlikely(trace->nr_entries == 0))
   215			goto fast_exit;
   216	
 > 217		if (trace->entries[trace->nr_entries - 1] < MODULES_VADDR) {

---
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" (51614 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ