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]
Date:   Thu, 3 Feb 2022 10:39:37 +0800
From:   kernel test robot <lkp@...el.com>
To:     Nick Alcock <nick.alcock@...cle.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Kris Van Hees <kris.van.hees@...cle.com>,
        Tomas Jedlicka <tomas.jedlicka@...cle.com>,
        Eugene Loh <eugene.loh@...cle.com>,
        David Mc Lean <david.mclean@...cle.com>,
        Vincent Lim <vincent.lim@...cle.com>
Subject: [oracle-dtrace:v2/5.17-rc2 8/10]
 include/uapi/asm-generic/unistd.h:889:24: error: 'sys_waitfd' undeclared
 here (not in a function); did you mean 'sys_waitid'?

tree:   https://github.com/oracle/dtrace-linux-kernel v2/5.17-rc2
head:   28b391e36df8679828aedd18dae0ee5526512d4d
commit: 83f02cf9b0ce18b6a27d34c6a25933791779e807 [8/10] waitfd: new syscall implementing waitpid() over fds
config: nds32-allnoconfig (https://download.01.org/0day-ci/archive/20220203/202202030948.BprVzIKX-lkp@intel.com/config)
compiler: nds32le-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/oracle/dtrace-linux-kernel/commit/83f02cf9b0ce18b6a27d34c6a25933791779e807
        git remote add oracle-dtrace https://github.com/oracle/dtrace-linux-kernel
        git fetch --no-tags oracle-dtrace v2/5.17-rc2
        git checkout 83f02cf9b0ce18b6a27d34c6a25933791779e807
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nds32 SHELL=/bin/bash

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 >>):

         |                                     ^~~~~~~~~
   include/uapi/asm-generic/unistd.h:863:1: note: in expansion of macro '__SC_COMP'
     863 | __SC_COMP(__NR_epoll_pwait2, sys_epoll_pwait2, compat_sys_epoll_pwait2)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: warning: initialized field overwritten [-Woverride-init]
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:865:1: note: in expansion of macro '__SYSCALL'
     865 | __SYSCALL(__NR_mount_setattr, sys_mount_setattr)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for 'sys_call_table[442]')
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:865:1: note: in expansion of macro '__SYSCALL'
     865 | __SYSCALL(__NR_mount_setattr, sys_mount_setattr)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: warning: initialized field overwritten [-Woverride-init]
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:867:1: note: in expansion of macro '__SYSCALL'
     867 | __SYSCALL(__NR_quotactl_fd, sys_quotactl_fd)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for 'sys_call_table[443]')
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:867:1: note: in expansion of macro '__SYSCALL'
     867 | __SYSCALL(__NR_quotactl_fd, sys_quotactl_fd)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: warning: initialized field overwritten [-Woverride-init]
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:870:1: note: in expansion of macro '__SYSCALL'
     870 | __SYSCALL(__NR_landlock_create_ruleset, sys_landlock_create_ruleset)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for 'sys_call_table[444]')
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:870:1: note: in expansion of macro '__SYSCALL'
     870 | __SYSCALL(__NR_landlock_create_ruleset, sys_landlock_create_ruleset)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: warning: initialized field overwritten [-Woverride-init]
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:872:1: note: in expansion of macro '__SYSCALL'
     872 | __SYSCALL(__NR_landlock_add_rule, sys_landlock_add_rule)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for 'sys_call_table[445]')
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:872:1: note: in expansion of macro '__SYSCALL'
     872 | __SYSCALL(__NR_landlock_add_rule, sys_landlock_add_rule)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: warning: initialized field overwritten [-Woverride-init]
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:874:1: note: in expansion of macro '__SYSCALL'
     874 | __SYSCALL(__NR_landlock_restrict_self, sys_landlock_restrict_self)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for 'sys_call_table[446]')
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:874:1: note: in expansion of macro '__SYSCALL'
     874 | __SYSCALL(__NR_landlock_restrict_self, sys_landlock_restrict_self)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: warning: initialized field overwritten [-Woverride-init]
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:881:1: note: in expansion of macro '__SYSCALL'
     881 | __SYSCALL(__NR_process_mrelease, sys_process_mrelease)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for 'sys_call_table[448]')
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:881:1: note: in expansion of macro '__SYSCALL'
     881 | __SYSCALL(__NR_process_mrelease, sys_process_mrelease)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: warning: initialized field overwritten [-Woverride-init]
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:884:1: note: in expansion of macro '__SYSCALL'
     884 | __SYSCALL(__NR_futex_waitv, sys_futex_waitv)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for 'sys_call_table[449]')
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:884:1: note: in expansion of macro '__SYSCALL'
     884 | __SYSCALL(__NR_futex_waitv, sys_futex_waitv)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: warning: initialized field overwritten [-Woverride-init]
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:887:1: note: in expansion of macro '__SYSCALL'
     887 | __SYSCALL(__NR_set_mempolicy_home_node, sys_set_mempolicy_home_node)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for 'sys_call_table[450]')
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:887:1: note: in expansion of macro '__SYSCALL'
     887 | __SYSCALL(__NR_set_mempolicy_home_node, sys_set_mempolicy_home_node)
         | ^~~~~~~~~
>> include/uapi/asm-generic/unistd.h:889:24: error: 'sys_waitfd' undeclared here (not in a function); did you mean 'sys_waitid'?
     889 | __SYSCALL(__NR_waitfd, sys_waitfd)
         |                        ^~~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:37: note: in definition of macro '__SYSCALL'
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                     ^~~~
   arch/nds32/kernel/syscall_table.c:10:36: warning: initialized field overwritten [-Woverride-init]
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   arch/nds32/include/uapi/asm/unistd.h:15:1: note: in expansion of macro '__SYSCALL'
      15 | __SYSCALL(__NR_cacheflush, sys_cacheflush)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for 'sys_call_table[244]')
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   arch/nds32/include/uapi/asm/unistd.h:15:1: note: in expansion of macro '__SYSCALL'
      15 | __SYSCALL(__NR_cacheflush, sys_cacheflush)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: warning: initialized field overwritten [-Woverride-init]
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   arch/nds32/include/uapi/asm/unistd.h:16:1: note: in expansion of macro '__SYSCALL'
      16 | __SYSCALL(__NR_fp_udfiex_crtl, sys_fp_udfiex_crtl)
         | ^~~~~~~~~
   arch/nds32/kernel/syscall_table.c:10:36: note: (near initialization for 'sys_call_table[245]')
      10 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   arch/nds32/include/uapi/asm/unistd.h:16:1: note: in expansion of macro '__SYSCALL'
      16 | __SYSCALL(__NR_fp_udfiex_crtl, sys_fp_udfiex_crtl)
         | ^~~~~~~~~


vim +889 include/uapi/asm-generic/unistd.h

   885	
   886	#define __NR_set_mempolicy_home_node 450
   887	__SYSCALL(__NR_set_mempolicy_home_node, sys_set_mempolicy_home_node)
   888	#define __NR_waitfd 473
 > 889	__SYSCALL(__NR_waitfd, sys_waitfd)
   890	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ