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] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 30 May 2015 07:45:03 -0300
From:	Albino Biasutti Neto <bino@...eup.net>
To:	"Theodore Ts'o" <tytso@....edu>
Cc:	Ext4 Developers List <linux-ext4@...r.kernel.org>,
	jaegeuk@...nel.org, Michael Halcrow <mhalcrow@...gle.com>
Subject: Re: [PATCH 4/8] ext4 crypto: encrypt tmpfile located in encryption
 protected directory

2015-05-29 13:33 GMT-03:00 Theodore Ts'o <tytso@....edu>:
> I think what you are asking is why is this function always returning
> NULL?

Yes. Or empty, only function.

> That's because it's in the #else clause of an #ifdef
> CONFIG_EXT4_FS_ENCRYPTION.  In the case where
> CONFIG_EXT4_FS_ENCRYPTION is defined, it returns:
>
> static inline struct ext4_crypt_info *ext4_encryption_info(struct inode *inode)
> {
>         return EXT4_I(inode)->i_crypt_info;
> }
>
> The idea is to minimize the need for #ifdef's in the .c files.

Understand, thanks.


Albino
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ