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: <202510291919.FFGyU7nq-lkp@intel.com>
Date: Wed, 29 Oct 2025 19:25:39 +0800
From: kernel test robot <lkp@...el.com>
To: Josh Poimboeuf <jpoimboe@...nel.org>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
	linux-kernel@...r.kernel.org, x86@...nel.org,
	Peter Zijlstra <peterz@...radead.org>,
	"Steven Rostedt (Google)" <rostedt@...dmis.org>
Subject: [tip:perf/core 18/20] arch/x86/include/asm/unwind_user.h:16:12:
 error: no member named 'flags' in 'struct pt_regs'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf/core
head:   c69993ecdd4dfde2b7da08b022052a33b203da07
commit: 49cf34c0815f93fb2ea3ab5cfbac1124bd9b45d0 [18/20] unwind_user/x86: Enable frame pointer unwinding on x86
config: um-allnoconfig (https://download.01.org/0day-ci/archive/20251029/202510291919.FFGyU7nq-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project d1c086e82af239b245fe8d7832f2753436634990)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251029/202510291919.FFGyU7nq-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202510291919.FFGyU7nq-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from kernel/fork.c:108:
   In file included from include/linux/unwind_deferred.h:6:
   In file included from include/linux/unwind_user.h:6:
>> arch/x86/include/asm/unwind_user.h:16:12: error: no member named 'flags' in 'struct pt_regs'
      16 |         if (regs->flags & X86_VM_MASK)
         |             ~~~~  ^
>> arch/x86/include/asm/unwind_user.h:16:20: error: use of undeclared identifier 'X86_VM_MASK'
      16 |         if (regs->flags & X86_VM_MASK)
         |                           ^~~~~~~~~~~
   2 errors generated.


vim +16 arch/x86/include/asm/unwind_user.h

     6	
     7	#define ARCH_INIT_USER_FP_FRAME(ws)			\
     8		.cfa_off	=  2*(ws),			\
     9		.ra_off		= -1*(ws),			\
    10		.fp_off		= -2*(ws),			\
    11		.use_fp		= true,
    12	
    13	static inline int unwind_user_word_size(struct pt_regs *regs)
    14	{
    15		/* We can't unwind VM86 stacks */
  > 16		if (regs->flags & X86_VM_MASK)
    17			return 0;
    18	#ifdef CONFIG_X86_64
    19		if (!user_64bit_mode(regs))
    20			return sizeof(int);
    21	#endif
    22		return sizeof(long);
    23	}
    24	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ