]> Zhao Yanbai Git Server - minix.git/commit
IPC server: expose semaphore information 58/3258/2
authorDavid van Moolenbroek <david@minix3.org>
Mon, 23 Nov 2015 23:25:27 +0000 (23:25 +0000)
committerLionel Sambuc <lionel.sambuc@gmail.com>
Wed, 13 Jan 2016 19:32:56 +0000 (20:32 +0100)
commit58c1923c9fc71944a88291acf0211b740c06cf86
tree6fcf0708d43344663e5b375c6c94cda708b848a1
parent9d796422b1a40106c10bd9f66349f826c4883122
IPC server: expose semaphore information

Specifically, add support for the IPC_INFO, SEM_INFO, and SEM_STAT
semctl(2) operations, similar to how information about shared memory
is already exposed as well.  The MINIX3 ipcs(1) utility already had
support for these operations, and can now actually use them, too.

Change-Id: Ice5a02e729bf6df6aa8fab76e854808adc04dae3
minix/servers/ipc/sem.c