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] [day] [month] [year] [list]
Date:	Sat, 26 Jul 2014 14:40:41 -0400
From:	Theodore Ts'o <tytso@....edu>
To:	"Darrick J. Wong" <darrick.wong@...cle.com>
Cc:	Andreas Dilger <adilger@...ger.ca>, linux-ext4@...r.kernel.org
Subject: Re: [PATCH] debugfs: allow do_write() to handle files over 4GB

On Thu, Jul 24, 2014 at 05:04:31PM -0700, Darrick J. Wong wrote:
> On Thu, Jul 24, 2014 at 05:49:19PM -0600, Andreas Dilger wrote:
> > Fix debugfs do_write() to correctly set i_size_high if the source
> > file is larger than 4GB.  Otherwise, only the low 32 bits of the
> > size is stored in i_size.
> 
> You might also want to set large_file if needed.  I wrote a helper to set an
> inode's i_size* fields and turn on feature bits; it's been languishing at the
> back end of the patchbomb for a while:
> http://permalink.gmane.org/gmane.comp.file-systems.ext4/43861

I've pulled in a slightly modified version of Darrick's patch, which
takes care of this issue.

							- Ted
--
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