]> Zhao Yanbai Git Server - minix.git/commit
procfs: do not list inactive services 10/3010/1
authorDavid van Moolenbroek <david@minix3.org>
Fri, 19 Dec 2014 15:35:31 +0000 (15:35 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Mon, 29 Jun 2015 10:56:43 +0000 (10:56 +0000)
commitf5321d8d554b9078e14d901f17916313ae4b8e64
treeb8dc357862fdcd1f6ff0742adc4303e772a51c70
parent0eabb93c0c1d18ee661e6ed51798f14d2dfd3f92
procfs: do not list inactive services

Each /proc/service entry must have a unique label.  With cloning,
multiple RS services may have the same label.  Since we are not
actually interested in inactive services (for now), eliminate those
entries, leaving only the active service which will then indeed have
a unique label in the list.  This resolves a procfs crash.

Change-Id: I0de7ef8fd186ab13f3e22e46416504fd981c09aa
minix/fs/procfs/service.c