]> Zhao Yanbai Git Server - minix.git/commit
procfs: retrieve both RS tables from RS at once 09/3009/1
authorDavid van Moolenbroek <david@minix3.org>
Fri, 19 Dec 2014 13:40:10 +0000 (13:40 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Mon, 29 Jun 2015 10:56:30 +0000 (10:56 +0000)
commit0eabb93c0c1d18ee661e6ed51798f14d2dfd3f92
tree9698e9999fec45fc79e561b5e82ecd1b50d98ecb
parentda21d850255e4f11bb2023f69a0b3aad4eab62e2
procfs: retrieve both RS tables from RS at once

Previously, procfs would retrieve the rproc and rprocpub tables from
RS in two separate calls.  This allowed for a race condition where the
tables could change in between the calls, resulting in a panic in
procfs under certain circumstances.  RS now implements a new method
for getsysinfo that allows the retrieval of both tables at once.

Change-Id: I5ec22d25898361270c90e805a43fc6d76ad9e29d
minix/fs/procfs/service.c
minix/include/minix/sysinfo.h
minix/servers/rs/request.c