HardenedBSD/tools/regression/sysvsem
Jilles Tjoelker f00fb5457e semget(): Check for [EEXIST] error first.
Although POSIX literally permits failing with [EINVAL] if IPC_CREAT and
IPC_EXCL were both passed, the semaphore set already exists and has fewer
semaphores than nsems, this does not allow an application to retry safely:
if the [EINVAL] is actually because of the semmsl limit, an infinite loop
would result.

PR:		206927
2016-02-07 22:12:39 +00:00
..
Makefile
README
semtest.c

$FreeBSD$

SysV IPC Semaphore Regression Utility.

This regression utility will test the SysV semaphore functionality
in FreeBSD.  You can start the test by running ``make regress'', after
running ``make''.

Obtained from: NetBSD Foundation Inc.
Date of port: 13 August 2002

  -- Hiten Pandya
  -- hiten@uk.FreeBSD.org