Re: Scripts to build a Hurd distro

2015-01-08 Thread David Michael
Hi, On Thu, Jan 8, 2015 at 7:59 AM, Justus Winter <4win...@informatik.uni-hamburg.de> wrote: > Hi David :) > > Quoting David Michael (2015-01-04 23:40:03) >> I've uploaded updates to my Hurd build scripts for Fedora 21, so I >> thought I'd send a note about it in case it helps anyone else out ther

Re: [PATCH glibc] Add file record locking support

2015-01-08 Thread Svante Signell
On Thu, 2015-01-08 at 19:06 +0100, Guillem Jover wrote: > On Thu, 2015-01-08 at 18:03:31 +0100, Svante Signell wrote: > > On Thu, 2015-01-08 at 16:56 +0100, Guillem Jover wrote: > > > On Thu, 2015-01-08 at 12:40:12 +0100, Svante Signell wrote: > > Yes you are right, no checks are made. I removed t

Re: [PATCH glibc] Add file record locking support

2015-01-08 Thread Guillem Jover
On Thu, 2015-01-08 at 18:03:31 +0100, Svante Signell wrote: > On Thu, 2015-01-08 at 16:56 +0100, Guillem Jover wrote: > > On Thu, 2015-01-08 at 12:40:12 +0100, Svante Signell wrote: > > > Index: glibc-2.19/sysdeps/mach/hurd/fcntl.c > > > =

Re: [PATCH glibc] Add file record locking support

2015-01-08 Thread Svante Signell
On Thu, 2015-01-08 at 16:56 +0100, Guillem Jover wrote: > On Thu, 2015-01-08 at 12:40:12 +0100, Svante Signell wrote: > > Index: glibc-2.19/sysdeps/mach/hurd/fcntl.c > > === > > --- glibc-2.19.orig/sysdeps/mach/hurd/fcntl.c > > +++ gli

Re: [PATCH glibc] Add file record locking support

2015-01-08 Thread Guillem Jover
On Thu, 2015-01-08 at 12:40:12 +0100, Svante Signell wrote: > Index: glibc-2.19/sysdeps/mach/hurd/fcntl.c > === > --- glibc-2.19.orig/sysdeps/mach/hurd/fcntl.c > +++ glibc-2.19/sysdeps/mach/hurd/fcntl.c > @@ -128,56 +127,87 @@ __libc_f

Re: [PATCH hurd 0/6] Add file record locking support

2015-01-08 Thread Samuel Thibault
Svante Signell, le Thu 08 Jan 2015 16:46:55 +0100, a écrit : > On Thu, 2015-01-08 at 13:38 +0100, Justus Winter wrote: > > Hello Svante :) > > > > > > 1/6: hurd_new_RPC.patch: add new RPC: file_record_lock > > > 2/6: libdiskfs_file_record_lock.patch: implement > > > diskfs_S_file_record_lock and

Re: [PATCH hurd 0/6] Add file record locking support

2015-01-08 Thread Svante Signell
On Thu, 2015-01-08 at 13:38 +0100, Justus Winter wrote: > Hello Svante :) > > > 1/6: hurd_new_RPC.patch: add new RPC: file_record_lock > > 2/6: libdiskfs_file_record_lock.patch: implement > > diskfs_S_file_record_lock and modify diskfs_S_* accordingly, initialize > > and release lock_status. > >

Re: [PATCH hurd 0/6] Add file record locking support

2015-01-08 Thread Samuel Thibault
Svante Signell, le Thu 08 Jan 2015 14:04:50 +0100, a écrit : > On Thu, 2015-01-08 at 13:57 +0100, Samuel Thibault wrote: > > Svante Signell, le Thu 08 Jan 2015 13:55:28 +0100, a écrit : > > > Well, I was expecting that all patches should be applied (when modified > > > and OKed), not each one separ

Re: [PATCH hurd 0/6] Add file record locking support

2015-01-08 Thread Svante Signell
On Thu, 2015-01-08 at 13:57 +0100, Samuel Thibault wrote: > Svante Signell, le Thu 08 Jan 2015 13:55:28 +0100, a écrit : > > Well, I was expecting that all patches should be applied (when modified > > and OKed), not each one separately. I can fix that, but what's the use > > of applying parts of pa

Re: Scripts to build a Hurd distro

2015-01-08 Thread Justus Winter
Hi David :) Quoting David Michael (2015-01-04 23:40:03) > I've uploaded updates to my Hurd build scripts for Fedora 21, so I > thought I'd send a note about it in case it helps anyone else out there > who is interested in building Hurd outside Debian. (The project has > actually bloated into a fa

Re: [PATCH hurd 0/6] Add file record locking support

2015-01-08 Thread Samuel Thibault
Svante Signell, le Thu 08 Jan 2015 13:55:28 +0100, a écrit : > Well, I was expecting that all patches should be applied (wneh modified > and OKed), not each one separately. I can fix that, but what's the use > of applying parts of patches in a patch series? To be able to git bisect. Samuel

Re: [PATCH hurd 0/6] Add file record locking support

2015-01-08 Thread Svante Signell
On Thu, 2015-01-08 at 13:38 +0100, Justus Winter wrote: > Hello Svante :) > > Quoting Svante Signell (2015-01-08 12:28:05) > > Hi, > > > > Attached in subsequent mails is a patch series for file record locking > > support, mainly developed by Neal Walfield in 2001. The patch was > > published by

Re: [PATCH hurd 0/6] Add file record locking support

2015-01-08 Thread Justus Winter
Hello Svante :) Quoting Svante Signell (2015-01-08 12:28:05) > Hi, > > Attached in subsequent mails is a patch series for file record locking > support, mainly developed by Neal Walfield in 2001. The patch was > published by Marcus Brinkmann and later re-diffed by Michael Banck in > 2002. Now mod

[PATCH hurd 3/6] Add file record locking support

2015-01-08 Thread Svante Signell
libfshelp: implement fshelp_rlock_* functions libfshelp/ChangeLog 2014-08-21 Svante Signell * Makefile: Link with pthread * define temporary CPP_FLAGS until glibc is updated * rlock-drop-peropen.c: Port from cthreads to libpthread. * rlock-tweak.c: Likewise * fshelp.h: Likewise * rlock.h:

[PATCH glibc] Add file record locking support

2015-01-08 Thread Svante Signell
Hi, Attached is the patch adding support for file record locking in glibc, as implemented in Hurd by Neal Walfield and others. This patch should be applied after the corresponding hurd patch series in case glibc and hurd are not built simultaneously. (Maybe the conversion functions as written by

[PATCH hurd 5/6] Add file record locking support

2015-01-08 Thread Svante Signell
libnetfs: implement netfs_S_file_record_lock libnetfs/ChangeLog 2001-04-11 Neal H Walfield * file-record-lock.c: New file. Implement netfs_S_file_record_lock. * Makefile (SRCS): Add file-record-lock.c Index: hurd-0.5.git20141210/libnetfs/Makefile ===

[PATCH hurd 6/6] Add file record locking support

2015-01-08 Thread Svante Signell
libtrivfs: implement trivfs_S_file_record_lock libnetfs/ChangeLog 2001-04-11 Neal H Walfield * file-record-lock.c: New file. Implement netfs_S_file_record_lock. * Makefile (SRCS): Add file-record-lock.c Index: hurd-0.5.git20141210/libtrivfs/Makefile

[PATCH hurd 4/6] Add file record locking support

2015-01-08 Thread Svante Signell
./Makefile: Add sub-directory libfshelp-tests. libfshelp-tests: implement file_record_lock tests ./ChangeLog 2014-08-21 Svante Signell * Makefile: Add sub-directory libfshelp-tests. libfshelp-tests/ChangeLog 2014-08-21 Svante Signell * Makefile: Link with pthread, add build of check

[PATCH hurd 2/6] Add file record locking support

2015-01-08 Thread Svante Signell
libdiskfs: implement diskfs_S_file_record_lock and modify diskfs_S_* accordingly, initialize and release lock_status libdiskfs/ChangeLog 2014-08-21 Svante Signell * define temporary CPP_FLAGS until glibc is updated * file-lock-stat.c: Port from cthreads to libpthread. * file-lock.c: Likewise

[PATCH hurd 1/6] Add file record locking support

2015-01-08 Thread Svante Signell
hurd: add new RPC: file_record_lock hurd/ChangeLog 2014-08-21 Svante Signell * fs.defs: Added description. * hurd_types.defs: Make struct flock_t seven integers long since l_start and l_len are 64bit. * hurd_types.h: typedef flock_t as flock64. 2001-04-10 Neal H Walfield * fs.defs: N

[PATCH hurd 0/6] Add file record locking support

2015-01-08 Thread Svante Signell
Hi, Attached in subsequent mails is a patch series for file record locking support, mainly developed by Neal Walfield in 2001. The patch was published by Marcus Brinkmann and later re-diffed by Michael Banck in 2002. Now modified to use libpthread instead of cthreads and some additional fixes. Li