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:	Tue, 16 Oct 2012 01:40:06 +0200
From:	Jochen Striepe <jochen@...ot.escape.de>
To:	Juliusz Chroboczek <jch@....jussieu.fr>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Write is not atomic?

	Hello,

On Mon, Oct 15, 2012 at 11:36:15PM +0200, Juliusz Chroboczek wrote:
> The Linux manual page for write(2) says:
> 
>     The adjustment of the file offset and the write operation are
>     performed as an atomic step.

This seems out of context.

Over here write(2) reads:

      If the file was open(2)ed with O_APPEND, the file offset is first
      set to the end of the file before writing.  The adjustment of the
      file offset and the write operation are performed as an atomic
      step.

Sounds different, doesn't it?


Hth,
Jochen.
--
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