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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202104080513.fqmFjiVU-lkp@intel.com>
Date:   Thu, 8 Apr 2021 05:37:55 +0800
From:   kernel test robot <lkp@...el.com>
To:     Alexey Gladkov <gladkov.alexey@...il.com>,
        LKML <linux-kernel@...r.kernel.org>,
        Kernel Hardening <kernel-hardening@...ts.openwall.com>,
        Linux Containers <containers@...ts.linux-foundation.org>,
        linux-mm@...ck.org
Cc:     kbuild-all@...ts.01.org, Alexey Gladkov <legion@...nel.org>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Linux Memory Management List <linux-mm@...ck.org>,
        Christian Brauner <christian.brauner@...ntu.com>,
        "Eric W . Biederman" <ebiederm@...ssion.com>,
        Jann Horn <jannh@...gle.com>
Subject: Re: [PATCH v10 7/9] Reimplement RLIMIT_MEMLOCK on top of ucounts

Hi Alexey,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on kselftest/next]
[also build test ERROR on linux/master linus/master v5.12-rc6]
[cannot apply to hnaz-linux-mm/master next-20210407]
[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/Alexey-Gladkov/Count-rlimits-in-each-user-namespace/20210408-011035
base:   https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git next
config: h8300-randconfig-r036-20210407 (attached as .config)
compiler: h8300-linux-gcc (GCC) 9.3.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/c51852ea5ec30e7b4817293557d70904e52fe33a
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Alexey-Gladkov/Count-rlimits-in-each-user-namespace/20210408-011035
        git checkout c51852ea5ec30e7b4817293557d70904e52fe33a
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=h8300 

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

>> mm/shmem.c:4096:5: error: conflicting types for 'shmem_lock'
    4096 | int shmem_lock(struct file *file, int lock, struct user_struct *user)
         |     ^~~~~~~~~~
   In file included from include/linux/khugepaged.h:6,
                    from mm/shmem.c:37:
   include/linux/shmem_fs.h:68:12: note: previous declaration of 'shmem_lock' was here
      68 | extern int shmem_lock(struct file *file, int lock, struct ucounts *ucounts);
         |            ^~~~~~~~~~


vim +/shmem_lock +4096 mm/shmem.c

853ac43ab194f5 Matt Mackall 2009-01-06  4095  
3f96b79ad96263 Hugh Dickins 2009-09-21 @4096  int shmem_lock(struct file *file, int lock, struct user_struct *user)
3f96b79ad96263 Hugh Dickins 2009-09-21  4097  {
3f96b79ad96263 Hugh Dickins 2009-09-21  4098  	return 0;
3f96b79ad96263 Hugh Dickins 2009-09-21  4099  }
3f96b79ad96263 Hugh Dickins 2009-09-21  4100  

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ