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-next>] [day] [month] [year] [list]
Date:	Thu, 22 Jul 2010 10:03:11 -0400
From:	Theodore Ts'o <tytso@....edu>
To:	Renzo Davoli <renzo@...unibo.it>
Cc:	Ext4 Developers List <linux-ext4@...r.kernel.org>,
	Theodore Ts'o <tytso@....edu>
Subject: [PATCH 0/7] Revised set of patches for fuse-ext2

Hi Renzo,

I didn't like how you implemented the truncate function, so I tried
implementing it myself.  I added a more generic ext2fs_punch() function
which is then used by ext2fs_file_size2().

Can you try out how well this works for you?

        	    	    	 - Ted

Renzo Davoli (1):
  libext2fs: Add new function ext2fs_file_get_inode()

Theodore Ts'o (6):
  tst_extents: Fix 64-bit bugs in do_goto_block()
  libext2fs: Fix ext2fs_iblk_{add,sub}_blocks() when the i_blocks_hi is
    non-zero
  libext2fs: Don't make a copy of the inode in ext2fs_extent_open2()
  libext2fs: Add new function ext2fs_punch()
  debugfs: Add new debugfs command punch (aka truncate)
  libext2fs: Add ext2fs_file_size_size2() and truncate the file if
    necessary

 debugfs/debug_cmds.ct  |    3 +
 debugfs/debugfs.8.in   |   12 ++
 debugfs/debugfs.c      |   31 +++++
 debugfs/debugfs.h      |    1 +
 lib/ext2fs/Makefile.in |   32 ++++-
 lib/ext2fs/ext2fs.h    |    8 ++
 lib/ext2fs/extent.c    |   27 ++---
 lib/ext2fs/fileio.c    |   28 +++--
 lib/ext2fs/i_block.c   |   17 ++--
 lib/ext2fs/punch.c     |  324 ++++++++++++++++++++++++++++++++++++++++++++++++
 10 files changed, 446 insertions(+), 37 deletions(-)
 create mode 100644 lib/ext2fs/punch.c

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