]> Zhao Yanbai Git Server - minix.git/commit
IPC server: major fixes, test set for semaphores 62/3262/3
authorDavid van Moolenbroek <david@minix3.org>
Thu, 17 Dec 2015 11:34:07 +0000 (11:34 +0000)
committerLionel Sambuc <lionel.sambuc@gmail.com>
Sat, 16 Jan 2016 13:04:11 +0000 (14:04 +0100)
commit56dc79cea031c502907e05472bcc4a08f68a99f1
tree4d27f3809a60cff27b94903402abe616ce6915f0
parent910831cb5ca62d66feb4e9664745910bbf5c03e1
IPC server: major fixes, test set for semaphores

- rewrite the semop(2) implementation so that it now conforms to the
  specification, including atomicity, support for blocking more than
  once, range checks, but also basic fairness support;
- fix permissions checking;
- fix missing time adjustments;
- fix off-by-one errors and other bugs;
- do not allocate dynamic memory for GETALL/SETALL;
- add test88, which properly tests the semaphore functionality.

Change-Id: I85f0d3408c0d6bba41cfb4c91a34c8b46b2a5959
distrib/sets/lists/minix-tests/mi
minix/servers/ipc/inc.h
minix/servers/ipc/sem.c
minix/servers/ipc/shm.c
minix/servers/ipc/utility.c
minix/tests/Makefile
minix/tests/run
minix/tests/test88.c [new file with mode: 0644]