oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v1 RFC Zisslpcfi 15/20] sslp prctl: arch-agnostic prctl for shadow stack and landing pad instr
       [not found] <20230213045351.3945824-16-debug@rivosinc.com>
@ 2023-02-13  7:31 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-02-13  7:31 UTC (permalink / raw)
  To: Deepak Gupta; +Cc: oe-kbuild-all

Hi Deepak,

[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on kees/for-next/execve]
[also build test WARNING on linus/master v6.2-rc8]
[cannot apply to next-20230213]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Deepak-Gupta/sslp-stubs-shadow-stack-and-landing-pad-stubs/20230213-125630
base:   https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/execve
patch link:    https://lore.kernel.org/r/20230213045351.3945824-16-debug%40rivosinc.com
patch subject: [PATCH v1 RFC Zisslpcfi 15/20] sslp prctl: arch-agnostic prctl for shadow stack and landing pad instr
config: um-i386_defconfig (https://download.01.org/0day-ci/archive/20230213/202302131544.jUyX68qd-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
        # https://github.com/intel-lab-lkp/linux/commit/844893d36016d44495709aabb93e3c8f66efaefd
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Deepak-Gupta/sslp-stubs-shadow-stack-and-landing-pad-stubs/20230213-125630
        git checkout 844893d36016d44495709aabb93e3c8f66efaefd
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=um SUBARCH=i386 olddefconfig
        make W=1 O=build_dir ARCH=um SUBARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202302131544.jUyX68qd-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> kernel/sys.c:2285:12: warning: no previous prototype for 'arch_get_shadow_stack_status' [-Wmissing-prototypes]
    2285 | int __weak arch_get_shadow_stack_status(struct task_struct *t, unsigned long __user *status)
         |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> kernel/sys.c:2290:12: warning: no previous prototype for 'arch_set_shadow_stack_status' [-Wmissing-prototypes]
    2290 | int __weak arch_set_shadow_stack_status(struct task_struct *t, unsigned long __user *status)
         |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> kernel/sys.c:2295:12: warning: no previous prototype for 'arch_get_indir_br_lp_status' [-Wmissing-prototypes]
    2295 | int __weak arch_get_indir_br_lp_status(struct task_struct *t, unsigned long __user *status)
         |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> kernel/sys.c:2300:12: warning: no previous prototype for 'arch_set_indir_br_lp_status' [-Wmissing-prototypes]
    2300 | int __weak arch_set_indir_br_lp_status(struct task_struct *t, unsigned long __user *status)
         |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/arch_get_shadow_stack_status +2285 kernel/sys.c

  2284	
> 2285	int __weak arch_get_shadow_stack_status(struct task_struct *t, unsigned long __user *status)
  2286	{
  2287		return -EINVAL;
  2288	}
  2289	
> 2290	int __weak arch_set_shadow_stack_status(struct task_struct *t, unsigned long __user *status)
  2291	{
  2292		return -EINVAL;
  2293	}
  2294	
> 2295	int __weak arch_get_indir_br_lp_status(struct task_struct *t, unsigned long __user *status)
  2296	{
  2297		return -EINVAL;
  2298	}
  2299	
> 2300	int __weak arch_set_indir_br_lp_status(struct task_struct *t, unsigned long __user *status)
  2301	{
  2302		return -EINVAL;
  2303	}
  2304	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-13  7:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20230213045351.3945824-16-debug@rivosinc.com>
2023-02-13  7:31 ` [PATCH v1 RFC Zisslpcfi 15/20] sslp prctl: arch-agnostic prctl for shadow stack and landing pad instr kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).