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:	Sun, 06 Jan 2013 17:01:48 +0100
From:	Michal Nazarewicz <mina86@...a86.com>
To:	Simon Jeons <simon.jeons@...il.com>,
	Liu Hui-R64343 <r64343@...escale.com>
Cc:	Wanpeng Li <liwanp@...ux.vnet.ibm.com>,
	"linux-kernel\@vger.kernel.org" <linux-kernel@...r.kernel.org>,
	"mgorman\@suse.de" <mgorman@...e.de>,
	"akpm\@linux-foundation.org" <akpm@...ux-foundation.org>,
	"riel\@redhat.com" <riel@...hat.com>,
	"minchan\@kernel.org" <minchan@...nel.org>,
	"kamezawa.hiroyu\@jp.fujitsu.com" <kamezawa.hiroyu@...fujitsu.com>,
	"linux-mm\@kvack.org" <linux-mm@...ck.org>
Subject: Re: [PATCH] mm: compaction: fix echo 1 > compact_memory return error issue

On Sun, Jan 06 2013, Simon Jeons wrote:
>> >write(1, "1\n", 2)                      = 3

>> Here it tells it.  

> On Sun, 2013-01-06 at 08:48 +0000, Liu Hui-R64343 wrote:
> Why this value trouble you?

Because write() is supposed to return the number of bytes successfully
written.

-- 
Best regards,                                         _     _
.o. | Liege of Serenely Enlightened Majesty of      o' \,=./ `o
..o | Computer Science,  Michał “mina86” Nazarewicz    (o o)
ooo +----<email/xmpp: mpn@...gle.com>--------------ooO--(_)--Ooo--

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ