standards/189353: POSIX sem_unlink does not actually unlink the semaphore in the process context
Joris Giovannangeli
joris at giovannangeli.fr
Sun May 4 18:40:01 UTC 2014
The following reply was made to PR standards/189353; it has been noted by GNATS.
From: Joris Giovannangeli <joris at giovannangeli.fr>
To: Konstantin Belousov <kostikbel at gmail.com>
Cc: freebsd-gnats-submit at 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.
More information about the freebsd-standards
mailing list