NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: PR/48351 CVS commit: src/usr.bin/flock
The following reply was made to PR bin/48351; it has been noted by GNATS.
From: christos%zoulas.com@localhost (Christos Zoulas)
To: Dennis Ferguson <dennis.c.ferguson%gmail.com@localhost>,
gnats-bugs%NetBSD.org@localhost
Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: PR/48351 CVS commit: src/usr.bin/flock
Date: Tue, 29 Oct 2013 14:25:13 -0400
On Oct 29, 12:46pm, dennis.c.ferguson%gmail.com@localhost (Dennis Ferguson)
wrote:
-- Subject: Re: PR/48351 CVS commit: src/usr.bin/flock
|
| On 29 Oct, 2013, at 12:05 , Christos Zoulas <christos%netbsd.org@localhost>
wrote:
| > XXX: still flock -s 0 fails with EINVAL, why?
|
| Does it stop if you do a flock -u 0 first?
|
| I see code in the kernel to handle upgrading a lock from shared
| to exclusive, but I don't see anything to deal with downgrading
| from exclusive to shared (though I may be missing something).
Nope, we need some kernel work I guess:
[2:24pm] 2544>flock -u 0
Exit 1
[2:24pm] 2545>flock -s 0
Exit 1
christos
Home |
Main Index |
Thread Index |
Old Index