From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/6897 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 16:50:04 +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 1422460244 31582 80.91.229.3 (28 Jan 2015 15:50:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Jan 2015 15:50:44 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-6910-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jan 28 16:50:43 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 1YGUt4-0006Jk-F7 for gllmg-musl@m.gmane.org; Wed, 28 Jan 2015 16:50:38 +0100 Original-Received: (qmail 32739 invoked by uid 550); 28 Jan 2015 15:50:36 -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 32725 invoked from network); 28 Jan 2015 15:50:36 -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=64Myj/3aY2Pz/nGhMu7STUp3Mb7wZfVisqzlKvbT9Pk=; b=OKs1hSWfz5SbaA1x9N/kHmtyifQZfQQsc3KScu1XhdtzzVO4Htoul8+VJhLFoGRQ68 0i3I2igz3Nz5HBAx0FXEEU42VpcawCcRbcRV9egOsAiIz6roGirAjXypW+CveCFnGC4g UMHpn5GedlQa1EBpKwxdip7apN5Y4kIm5aOlj1NulWPadqMlsiA1TbX38FfncIOjkf1G ePIQ8VsqPABcGEJSSmlEaOpsL3kThX8mvLO4qxWME910BvYR3pY7FgG7K/4ykY52Z3pj a6rzu4Idbt60PNzJR5n90KFpKKiGF7crrd8at5gy13wqvknqaHQZ7H4Yw103k8uZuYXp KN0Q== X-Received: by 10.60.94.212 with SMTP id de20mr2552450oeb.47.1422460224702; Wed, 28 Jan 2015 07:50:24 -0800 (PST) In-Reply-To: <20150128154108.GH32318@port70.net> Xref: news.gmane.org gmane.linux.lib.musl.general:6897 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); > > although it's not yet documented as far as i can see: > > http://man7.org/linux/man-pages/man2/syscalls.2.html https://sourceware.org/bugzilla/show_bug.cgi?id=17252 Daniel