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]
Message-ID: <202108211323.t5p5pVaS-lkp@intel.com>
Date:   Sat, 21 Aug 2021 13:22:54 +0800
From:   kernel test robot <lkp@...el.com>
To:     Igor Zhbanov <izh1979@...il.com>,
        linux-integrity <linux-integrity@...r.kernel.org>,
        linux-security-module <linux-security-module@...r.kernel.org>,
        Mimi Zohar <zohar@...ux.ibm.com>,
        THOBY Simon <Simon.THOBY@...eris.fr>,
        linux-kernel@...r.kernel.org
Cc:     kbuild-all@...ts.01.org
Subject: Re: [PATCH v4 1/1] NAX LSM: Add initial support

Hi Igor,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linux/master]
[also build test ERROR on linus/master security/next-testing v5.14-rc6 next-20210820]
[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]

url:    https://github.com/0day-ci/linux/commits/Igor-Zhbanov/NAX-No-Anonymous-Execution-LSM/20210820-231531
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 349a2d52ffe59b7a0c5876fa7ee9f3eaf188b830
config: microblaze-buildonly-randconfig-r003-20210821 (attached as .config)
compiler: microblaze-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/0day-ci/linux/commit/6c93ee3871fae69975f9fc3c41c0f65743ea7ac8
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Igor-Zhbanov/NAX-No-Anonymous-Execution-LSM/20210820-231531
        git checkout 6c93ee3871fae69975f9fc3c41c0f65743ea7ac8
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=microblaze SHELL=/bin/bash security/

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

   security/nax/nax-lsm.c: In function 'setup_mode':
>> security/nax/nax-lsm.c:429:27: error: 'max_mode' undeclared (first use in this function)
     429 |                 if (val > max_mode) {
         |                           ^~~~~~~~
   security/nax/nax-lsm.c:429:27: note: each undeclared identifier is reported only once for each function it appears in


vim +/max_mode +429 security/nax/nax-lsm.c

   423	
   424	static int __init setup_mode(char *str)
   425	{
   426		unsigned long val;
   427	
   428		if (!locked && !kstrtoul(str, 0, &val)) {
 > 429			if (val > max_mode) {
   430				pr_err("Invalid 'nax_mode' parameter value (%s)\n",
   431				       str);
   432				val = max_mode;
   433			}
   434	
   435			mode = val;
   436		}
   437	
   438		return 1;
   439	}
   440	__setup("nax_mode=", setup_mode);
   441	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ