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]
Message-Id: <20070802115243.610c4e61.akpm@linux-foundation.org>
Date:	Thu, 2 Aug 2007 11:52:43 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	"Guillaume Chazarain" <guichaz@...oo.fr>
Cc:	"Peter Zijlstra" <peterz@...radead.org>,
	"Petr Tesarik" <ptesarik@...e.cz>, "Dave Chinner" <dgc@....com>,
	"Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>,
	Andrea Arcangeli <andrea@...ell.com>
Subject: Re: mmap behavior on out-of-space conditions

On Thu, 2 Aug 2007 15:18:33 +0200
"Guillaume Chazarain" <guichaz@...oo.fr> wrote:

> 2007/8/2, Peter Zijlstra <peterz@...radead.org>:
> 
> > I think Dave's block_page_mkwrite() stuff addresses this as well, no?
> >
> > http://lkml.org/lkml/2007/3/18/198
> 
> I saw a similar problem some time ago with msync:
> http://lkml.org/lkml/2006/12/29/136 but Andrew didn't
> like my patch.
> 

Yeah, we need to get that finished off.

The current _design_ of the VM/VFS is such that if the application runs
fsync() or msync() then it will be able to reliably detect any data loss
which has occurred, even if that data loss occurred during a random pageout
attempt by some other process half an hour ago.

However Guillaume has identified some holes in the implementation (I don't
recall the details, but that link is a start).

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ