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>] [day] [month] [year] [list]
Message-ID: <202111100657.lYm2CN4x-lkp@intel.com>
Date:   Wed, 10 Nov 2021 06:16:05 +0800
From:   kernel test robot <lkp@...el.com>
To:     Qi Zheng <zhengqi.arch@...edance.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Kees Cook <keescook@...omium.org>
Subject: [kees:fix/wchan/leaky 5/6] arch/x86/kernel/process.c:952:2: error:
 implicit declaration of function 'stack_trace_save_tsk'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git fix/wchan/leaky
head:   62ba17f8f461578402c62e7cc2318443a262cc3b
commit: 26a28d75580ddecc5d085def97bbd76c4f60f0a3 [5/6] x86: Fix get_wchan() to support the ORC unwinder
config: x86_64-alldefconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/commit/?id=26a28d75580ddecc5d085def97bbd76c4f60f0a3
        git remote add kees https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git
        git fetch --no-tags kees fix/wchan/leaky
        git checkout 26a28d75580ddecc5d085def97bbd76c4f60f0a3
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

   arch/x86/kernel/process.c: In function 'get_wchan':
>> arch/x86/kernel/process.c:952:2: error: implicit declaration of function 'stack_trace_save_tsk' [-Werror=implicit-function-declaration]
     952 |  stack_trace_save_tsk(p, &entry, 1, 0);
         |  ^~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/stack_trace_save_tsk +952 arch/x86/kernel/process.c

   938	
   939	/*
   940	 * Called from fs/proc with a reference on @p to find the function
   941	 * which called into schedule(). This needs to be done carefully
   942	 * because the task might wake up and we might look at a stack
   943	 * changing under us.
   944	 */
   945	unsigned long get_wchan(struct task_struct *p)
   946	{
   947		unsigned long entry = 0;
   948	
   949		if (p == current || task_is_running(p))
   950			return 0;
   951	
 > 952		stack_trace_save_tsk(p, &entry, 1, 0);
   953		return entry;
   954	}
   955	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ