From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/6898 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Daniel_Cegie=C5=82ka?= Newsgroups: gmane.linux.lib.musl.general Subject: Re: getrandom syscall Date: Wed, 28 Jan 2015 17:01:22 +0100 Message-ID: References: <20150128145410.GH4574@brightrain.aerifal.cx> <20150128154108.GH32318@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1422460920 11824 80.91.229.3 (28 Jan 2015 16:02:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Jan 2015 16:02:00 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-6911-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jan 28 17:01:59 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1YGV40-0003Mj-Rw for gllmg-musl@m.gmane.org; Wed, 28 Jan 2015 17:01:57 +0100 Original-Received: (qmail 19824 invoked by uid 550); 28 Jan 2015 16:01:55 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 19799 invoked from network); 28 Jan 2015 16:01:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=5yibTwmxI2f+LyXdJMQDTP9tpvrx4Gwo+hdTF1q0COM=; b=b3YXmHSZYyF2+LXftsrdZvgdkqtb3r1anPUdkqDjR363uSgo2u78d+pjNBIdm3s+OH kSX1jADrToygEkcsl9Hgln+cxxk7HaukXXKBNXrLCjbvvZWkNTpDjn4TOSIY38vEYt9Z hFOEjuL1SmN4kEiOkB4LJhnsCksqCGyDPHkjW6M7UYmVYogtEyNEjb5y9dEq40saselv UbQ2Fhqfi2CVOz3J8pOtOF1CZSdZaZOJWc5Qv+2D0DTo3HSk9V21VdG32mrQZZ8Vx2Xo gUXdUTscLTh7cBBQNveLxCXLo7SNigxUhiC6pgYgai0qbyvxyiLP/HCv3792Eiv7vhHY tP3A== X-Received: by 10.60.156.196 with SMTP id wg4mr2582731oeb.11.1422460902436; Wed, 28 Jan 2015 08:01:42 -0800 (PST) In-Reply-To: <20150128154108.GH32318@port70.net> Xref: news.gmane.org gmane.linux.lib.musl.general:6898 Archived-At: 2015-01-28 16:41 GMT+01:00 Szabolcs Nagy : > * Rich Felker [2015-01-28 09:54:10 -0500]: >> On Tue, Jan 27, 2015 at 11:12:46PM +0100, Daniel Cegie??ka wrote: >> > >> > int getrandom(void *buf, size_t len) > > i just noticed the signature > > where did this signature come from? > glibc does not have it and bsds have getentropy > > the linux syscall is > > int getrandom(void *buf, size_t buflen, unsigned int flags); Sorry! My mistake. Needed are two different versions (getrandom and getentropy). I hurried too much...