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: <202207060249.m0AwQCFQ-lkp@intel.com>
Date:   Wed, 6 Jul 2022 02:07:59 +0800
From:   kernel test robot <lkp@...el.com>
To:     Christian Brauner <brauner@...nel.org>
Cc:     kbuild-all@...ts.01.org,
        GNU/Weeb Mailing List <gwml@...r.gnuweeb.org>,
        linux-kernel@...r.kernel.org
Subject: [ammarfaizi2-block:brauner/linux/fs.idmapped.overlay.acl.fix 1/1]
 include/linux/posix_acl_xattr.h:55: multiple definition of
 `posix_acl_getxattr_idmapped_mnt';
 mm/shmem.o:include/linux/posix_acl_xattr.h:55: first defined here

tree:   https://github.com/ammarfaizi2/linux-block brauner/linux/fs.idmapped.overlay.acl.fix
head:   05bde3ad56201ff691db6d95ea1316983ea82a9c
commit: 05bde3ad56201ff691db6d95ea1316983ea82a9c [1/1] acl: report correct ownership in some ovl use-cases
config: microblaze-randconfig-r013-20220703 (https://download.01.org/0day-ci/archive/20220706/202207060249.m0AwQCFQ-lkp@intel.com/config)
compiler: microblaze-linux-gcc (GCC) 11.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/ammarfaizi2/linux-block/commit/05bde3ad56201ff691db6d95ea1316983ea82a9c
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block brauner/linux/fs.idmapped.overlay.acl.fix
        git checkout 05bde3ad56201ff691db6d95ea1316983ea82a9c
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=microblaze SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

   microblaze-linux-ld: fs/xattr.o: in function `posix_acl_getxattr_idmapped_mnt':
>> include/linux/posix_acl_xattr.h:55: multiple definition of `posix_acl_getxattr_idmapped_mnt'; mm/shmem.o:include/linux/posix_acl_xattr.h:55: first defined here
   microblaze-linux-ld: fs/xattr.o: in function `posix_acl_setxattr_idmapped_mnt':
>> include/linux/posix_acl_xattr.h:55: multiple definition of `posix_acl_setxattr_idmapped_mnt'; mm/shmem.o:include/linux/posix_acl_xattr.h:55: first defined here
   microblaze-linux-ld: fs/overlayfs/super.o: in function `posix_acl_getxattr_idmapped_mnt':
>> include/linux/posix_acl_xattr.h:55: multiple definition of `posix_acl_getxattr_idmapped_mnt'; mm/shmem.o:include/linux/posix_acl_xattr.h:55: first defined here
   microblaze-linux-ld: fs/overlayfs/super.o: in function `posix_acl_setxattr_idmapped_mnt':
>> include/linux/posix_acl_xattr.h:55: multiple definition of `posix_acl_setxattr_idmapped_mnt'; mm/shmem.o:include/linux/posix_acl_xattr.h:55: first defined here
   microblaze-linux-ld: fs/overlayfs/dir.o: in function `posix_acl_getxattr_idmapped_mnt':
>> include/linux/posix_acl_xattr.h:55: multiple definition of `posix_acl_getxattr_idmapped_mnt'; mm/shmem.o:include/linux/posix_acl_xattr.h:55: first defined here
   microblaze-linux-ld: fs/overlayfs/dir.o: in function `posix_acl_setxattr_idmapped_mnt':
>> include/linux/posix_acl_xattr.h:55: multiple definition of `posix_acl_setxattr_idmapped_mnt'; mm/shmem.o:include/linux/posix_acl_xattr.h:55: first defined here


vim +55 include/linux/posix_acl_xattr.h

^1da177e4c3f41 Linus Torvalds    2005-04-16  34  
2f6f0654ab6196 Eric W. Biederman 2012-02-07  35  #ifdef CONFIG_FS_POSIX_ACL
05bde3ad56201f Christian Brauner 2022-07-04  36  void posix_acl_fix_xattr_from_user(void *value, size_t size);
05bde3ad56201f Christian Brauner 2022-07-04  37  void posix_acl_fix_xattr_to_user(void *value, size_t size);
05bde3ad56201f Christian Brauner 2022-07-04  38  void posix_acl_getxattr_idmapped_mnt(struct user_namespace *mnt_userns,
05bde3ad56201f Christian Brauner 2022-07-04  39  				     const struct inode *inode,
e65ce2a50cf6af Christian Brauner 2021-01-21  40  				     void *value, size_t size);
05bde3ad56201f Christian Brauner 2022-07-04  41  void posix_acl_setxattr_idmapped_mnt(struct user_namespace *mnt_userns,
05bde3ad56201f Christian Brauner 2022-07-04  42  				     const struct inode *inode,
e65ce2a50cf6af Christian Brauner 2021-01-21  43  				     void *value, size_t size);
2f6f0654ab6196 Eric W. Biederman 2012-02-07  44  #else
05bde3ad56201f Christian Brauner 2022-07-04  45  static inline void posix_acl_fix_xattr_from_user(void *value, size_t size)
05bde3ad56201f Christian Brauner 2022-07-04  46  {
05bde3ad56201f Christian Brauner 2022-07-04  47  }
05bde3ad56201f Christian Brauner 2022-07-04  48  static inline void posix_acl_fix_xattr_to_user(void *value, size_t size)
05bde3ad56201f Christian Brauner 2022-07-04  49  {
05bde3ad56201f Christian Brauner 2022-07-04  50  }
05bde3ad56201f Christian Brauner 2022-07-04  51  void posix_acl_getxattr_idmapped_mnt(struct user_namespace *mnt_userns,
05bde3ad56201f Christian Brauner 2022-07-04  52  				     const struct inode *inode,
e65ce2a50cf6af Christian Brauner 2021-01-21  53  				     void *value, size_t size)
2f6f0654ab6196 Eric W. Biederman 2012-02-07  54  {
2f6f0654ab6196 Eric W. Biederman 2012-02-07 @55  }
05bde3ad56201f Christian Brauner 2022-07-04  56  void posix_acl_setxattr_idmapped_mnt(struct user_namespace *mnt_userns,
05bde3ad56201f Christian Brauner 2022-07-04  57  				     const struct inode *inode,
e65ce2a50cf6af Christian Brauner 2021-01-21  58  				     void *value, size_t size)
2f6f0654ab6196 Eric W. Biederman 2012-02-07  59  {
2f6f0654ab6196 Eric W. Biederman 2012-02-07  60  }
2f6f0654ab6196 Eric W. Biederman 2012-02-07  61  #endif
2f6f0654ab6196 Eric W. Biederman 2012-02-07  62  

:::::: The code at line 55 was first introduced by commit
:::::: 2f6f0654ab61961fd0f7701fe3be89ea111f0cda userns: Convert vfs posix_acl support to use kuids and kgids

:::::: TO: Eric W. Biederman <ebiederm@...ssion.com>
:::::: CC: Eric W. Biederman <ebiederm@...ssion.com>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ