[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

[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 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 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 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 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 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

Cannot send mails to the list with attachments??

2015-01-08 Thread Svante Signell
Hi, What's wrong with sending emails with attachments to debian-hurd@lists.debian.org? > Delivery to the following recipient failed permanently: > > debian-hurd@lists.debian.org > > Technical details of permanent failure: > Google tried to deliver your message, but it was rejected by th

Re: Cannot send mails to the list with attachments??

2015-01-08 Thread Samuel Thibault
Svante Signell, le Thu 08 Jan 2015 13:58:44 +0100, a écrit : > What's wrong with sending emails with attachments to > debian-hurd@lists.debian.org? I have no idea. Was it big? Was it a text file or a binary blob? Probably better at least Cc listmaster. Samuel -- To UNSUBSCRIBE, email to deb

Reaend: [PATCH hurd/debian] Add libfshelp-tests programs and documentation to hurd-dev

2015-01-08 Thread Svante Signell
Since this patch was not allowed to be sent as an attachement to debian-h...@listys.debian.org, I'm copying it directly into this email. Hi, Attached is the patch for debian/hurd-dev.install.in to include the four test programs locks, race, fork, checklock and documentation for some of them. This

Re: Reaend: [PATCH hurd/debian] Add libfshelp-tests programs and documentation to hurd-dev

2015-01-08 Thread Samuel Thibault
Svante Signell, le Thu 08 Jan 2015 14:11:46 +0100, a écrit : > Attached is the patch for debian/hurd-dev.install.in to include the > four test programs locks, race, fork, checklock and documentation for > some of them. Mmm, why shipping the tests? I haven't seen any debian package doing that: we

Re: Reaend: [PATCH hurd/debian] Add libfshelp-tests programs and documentation to hurd-dev

2015-01-08 Thread Svante Signell
On Thu, 2015-01-08 at 14:17 +0100, Samuel Thibault wrote: > Svante Signell, le Thu 08 Jan 2015 14:11:46 +0100, a écrit : > > Attached is the patch for debian/hurd-dev.install.in to include the > > four test programs locks, race, fork, checklock and documentation for > > some of them. > > Mmm, why

Re: Reaend: [PATCH hurd/debian] Add libfshelp-tests programs and documentation to hurd-dev

2015-01-08 Thread Samuel Thibault
Svante Signell, le Thu 08 Jan 2015 14:30:46 +0100, a écrit : > On Thu, 2015-01-08 at 14:17 +0100, Samuel Thibault wrote: > > Svante Signell, le Thu 08 Jan 2015 14:11:46 +0100, a écrit : > > > Attached is the patch for debian/hurd-dev.install.in to include the > > > four test programs locks, race, f

Re: Resend: [PATCH hurd/debian] Add libfshelp-tests programs and documentation to hurd-dev

2015-01-08 Thread Svante Signell
On Thu, 2015-01-08 at 14:36 +0100, Samuel Thibault wrote: > Svante Signell, le Thu 08 Jan 2015 14:30:46 +0100, a écrit : > > On Thu, 2015-01-08 at 14:17 +0100, Samuel Thibault wrote: > > > Svante Signell, le Thu 08 Jan 2015 14:11:46 +0100, a écrit : > > > > Attached is the patch for debian/hurd-dev

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 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 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 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