Implementing getrandom/getentropy, anybody?

2019-10-29 Thread Andrew Eggenberger
Updated patch attached. Thank you. Andrew >From a4e3233c9c21189267a9fb80588ff08f28f31729 Mon Sep 17 00:00:00 2001 From: Andrew Eggenberger Date: Tue, 29 Oct 2019 23:19:32 -0500 Subject: [PATCH] add getrandom and getentropy implementations --- sysdeps/mach/hurd/getentropy.c | 65

Re: [PATCH] 1(3) hurd+glibc: Support for file record locking

2019-10-29 Thread Samuel Thibault
Hello, Svante Signell, le jeu. 12 sept. 2019 10:15:27 +0200, a ecrit: > Attached is the first part of the patches for file record locking: Now (at last!) applied, thanks a lot! Samuel

Re: [PATCH] 1(3) hurd+glibc: Support for file record locking

2019-10-29 Thread Svante Signell
On Mon, 2019-10-28 at 01:40 +0100, Samuel Thibault wrote: > There was an issue with rlock-tweak.c, revealed by the tdb testsuite: > > Index: hurd-debian/libfshelp/rlock-tweak.c > === > --- hurd-debian.orig/libfshelp/rlock-tweak.c >

Re: [PATCH] 2(3) hurd+glibc: Support for file record locking

2019-10-29 Thread Samuel Thibault
Svante Signell, le mar. 29 oct. 2019 10:20:27 +0100, a ecrit: > Maybe it did not hit me since I built and installed the patched > hurd+glibc packages simultaneously? Yes, that's why. Renumbering introduces incompatibility. If you upgrade both at once you aren't hit. The testsuite went fine, so

Re: [PATCH] 2(3) hurd+glibc: Support for file record locking

2019-10-29 Thread Svante Signell
On Sun, 2019-10-27 at 21:06 +0100, Samuel Thibault wrote: > Svante Signell, le jeu. 12 sept. 2019 10:23:55 +0200, a ecrit: > > @@ -358,6 +357,18 @@ routine file_reparent ( > > skip; /* Was: file_get_children. */ > > skip; /* Was: file_get_source. */ > > > > + > > +/* Do fcntl type

Re: Implementing getrandom/getentropy, anybody?

2019-10-29 Thread Samuel Thibault
Andrew Eggenberger, le mar. 29 oct. 2019 00:30:17 -0500, a ecrit: > Here's a really quick implementation just to get some feedback. That's already a beginning. The implementation shouldn't go in the platform-generic stdlib/ files, but in sysdeps/mach/hurd/ > @@ -24,8 +24,11 @@ > int >