]> Zhao Yanbai Git Server - minix.git/commit
Restart policies: Add testing and ProcFS DB 28/2928/3
authorLionel Sambuc <lionel@minix3.org>
Mon, 8 Dec 2014 10:32:14 +0000 (10:32 +0000)
committerLionel Sambuc <lionel@minix3.org>
Wed, 10 Dec 2014 22:11:25 +0000 (23:11 +0100)
commit41ba8c04cc12221cc2b2ad8f8a03b89d5bbe9faf
treeb544a0a86a8765d7aa4023057d0456859c62a5a2
parentad8bffad677b1eaa0f7708af3ffa596571b4bf4d
Restart policies: Add testing and ProcFS DB

 - Expose in procfs the service status and supported recovery policies.
 - This adds a test (testrelpol.sh) to exercise the restart policies of
   the system services and drivers.

NOTE:
  The policy support information is temporarily hardcoded in ProcFS, but
  this has to be replaced by properly retrieving this information from
  RS, which should in turn be setup on a per service basis, at
  initialization time.

Change-Id: I0cb1516a450355b38d0c46b1a8b3d9e841a2c029
distrib/sets/lists/minix/mi
minix/fs/procfs/service.c
minix/tests/Makefile
minix/tests/run
minix/tests/testrelpol.sh [new file with mode: 0755]