From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by gnuweeb.org (Postfix) with ESMTPS id 2E09E7F8DC for ; Tue, 5 Jul 2022 18:08:53 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=OJTpvJoU; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657044533; x=1688580533; h=date:from:to:cc:subject:message-id:mime-version; bh=Jy4z5L1AMPmQZNqgpGnOFnR1D0ToD/t+WqxkpPwMTq4=; b=OJTpvJoUYO6o5oZrcfc1jH4hgexQQlyv7wt+RO9sIWdSgVGFOLCE7hI9 p4svIKLSDze82kkVMsUFOlM+CyE9+PALiE5e/Nbsz4Wh/Ty8JWC1BO5Ut hdl2xYjcyPeLu0HBtm4b1rrBgT5R7RUE7AM4lIByJ6QZOK/TKVhNNp6my IzW0fm4Xzec2r3z2XJja/7MawDjYE7NvDMTq/CxYzrruE4IP9pFm3rndm XxODExuW+FffAWpYKjQ9f0cNnx8QxnA6VLX39XC9OquAcZkkME5NPaO1l HZDd9kLR6EI/aSX4dSbJ9rCJo3320XjCaMAYMrJquuhFk0hsOze5cGZNl A==; X-IronPort-AV: E=McAfee;i="6400,9594,10399"; a="345115844" X-IronPort-AV: E=Sophos;i="5.92,247,1650956400"; d="scan'208";a="345115844" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jul 2022 11:08:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,247,1650956400"; d="scan'208";a="567726914" Received: from lkp-server01.sh.intel.com (HELO 68b931ab7ac1) ([10.239.97.150]) by orsmga006.jf.intel.com with ESMTP; 05 Jul 2022 11:08:50 -0700 Received: from kbuild by 68b931ab7ac1 with local (Exim 4.95) (envelope-from ) id 1o8myf-000JSP-PY; Tue, 05 Jul 2022 18:08:49 +0000 Date: Wed, 6 Jul 2022 02:07:59 +0800 From: kernel test robot To: Christian Brauner Cc: kbuild-all@lists.01.org, GNU/Weeb Mailing List , linux-kernel@vger.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 Message-ID: <202207060249.m0AwQCFQ-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline List-Id: 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 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 :::::: CC: Eric W. Biederman -- 0-DAY CI Kernel Test Service https://01.org/lkp