Date: Sun, 4 May 2014 18:40:00 GMT From: Joris Giovannangeli <joris@giovannangeli.fr> To: freebsd-standards@FreeBSD.org Subject: Re: standards/189353: POSIX sem_unlink does not actually unlink the semaphore in the process context Message-ID: <201405041840.s44Ie0wA000925@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR standards/189353; it has been noted by GNATS. From: Joris Giovannangeli <joris@giovannangeli.fr> To: Konstantin Belousov <kostikbel@gmail.com> Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: standards/189353: POSIX sem_unlink does not actually unlink the semaphore in the process context Date: Sun, 04 May 2014 20:30:33 +0200 > Why didn't you provided both tests in the first report ? Because i wrote the second one after... > Do you have any further tests ? The patch below passes yours' two > and tools/regression/posixsem2. I tried to be modest with open(2) > syscalls, reusing the fd in sem_open(). This also should prevent > a race. This looks fine. I don't have any other tests, but you can use the posix test suite which has coverage for this API.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405041840.s44Ie0wA000925>