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>] [day] [month] [year] [list]
Message-ID: <201602060642.fhuXEImW%fengguang.wu@intel.com>
Date:	Sat, 6 Feb 2016 06:51:44 +0800
From:	kbuild test robot <fengguang.wu@...el.com>
To:	Theodore Ts'o <tytso@....edu>
Cc:	kbuild-all@...org, linux-ext4@...r.kernel.org
Subject: [ext4:dev 1/1] fs/ext4/namei.c:1572:9: note: in expansion of macro
 'if'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev
head:   676a9962a6835af59fcc8278a4abb75886612066
commit: 676a9962a6835af59fcc8278a4abb75886612066 [1/1] ext4 crypto: revalidate dentry after adding or removing the key
config: i386-randconfig-x005-02051359 (attached as .config)
reproduce:
        git checkout 676a9962a6835af59fcc8278a4abb75886612066
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   In file included from include/linux/linkage.h:4:0,
                    from include/linux/fs.h:4,
                    from fs/ext4/namei.c:27:
   fs/ext4/namei.c: In function 'ext4_lookup':
   fs/ext4/namei.c:1572:24: error: 'struct ext4_inode_info' has no member named 'i_crypt_info'
            if (EXT4_I(dir)->i_crypt_info == NULL)
                           ^
   include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
     if (__builtin_constant_p((cond)) ? !!(cond) :   \
                               ^
>> fs/ext4/namei.c:1572:9: note: in expansion of macro 'if'
            if (EXT4_I(dir)->i_crypt_info == NULL)
            ^
   fs/ext4/namei.c:1572:24: error: 'struct ext4_inode_info' has no member named 'i_crypt_info'
            if (EXT4_I(dir)->i_crypt_info == NULL)
                           ^
   include/linux/compiler.h:147:40: note: in definition of macro '__trace_if'
     if (__builtin_constant_p((cond)) ? !!(cond) :   \
                                           ^
>> fs/ext4/namei.c:1572:9: note: in expansion of macro 'if'
            if (EXT4_I(dir)->i_crypt_info == NULL)
            ^
   fs/ext4/namei.c:1572:24: error: 'struct ext4_inode_info' has no member named 'i_crypt_info'
            if (EXT4_I(dir)->i_crypt_info == NULL)
                           ^
   include/linux/compiler.h:158:16: note: in definition of macro '__trace_if'
      ______r = !!(cond);     \
                   ^
>> fs/ext4/namei.c:1572:9: note: in expansion of macro 'if'
            if (EXT4_I(dir)->i_crypt_info == NULL)
            ^

vim +/if +1572 fs/ext4/namei.c

  1556	{
  1557		struct inode *inode;
  1558		struct ext4_dir_entry_2 *de;
  1559		struct buffer_head *bh;
  1560	
  1561	       if (ext4_encrypted_inode(dir)) {
  1562	               int res = ext4_get_encryption_info(dir);
  1563	
  1564			/*
  1565			 * This should be a properly defined flag for
  1566			 * dentry->d_flags when we uplift this to the VFS.
  1567			 * d_fsdata is set to (void *) 1 if if the dentry is
  1568			 * created while the directory was encrypted and we
  1569			 * don't have access to the key.
  1570			 */
  1571		       dentry->d_fsdata = NULL;
> 1572		       if (EXT4_I(dir)->i_crypt_info == NULL)
  1573			       dentry->d_fsdata = (void *) 1;
  1574		       d_set_d_op(dentry, &ext4_encrypted_d_ops);
  1575		       if (res && res != -ENOKEY)
  1576			       return ERR_PTR(res);
  1577	       }
  1578	
  1579		if (dentry->d_name.len > EXT4_NAME_LEN)
  1580			return ERR_PTR(-ENAMETOOLONG);

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/octet-stream" (26102 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ