minix/servers/procfs
David van Moolenbroek 0812293b47 procfs: fix for PID reuse between updates
In certain cases, a process ID may be reused between two lazy updates
of procfs's PID table. If the new associated process slot has a lower
index than the old one, this will trigger an assert in vtreefs, as the
new PID name entry is added before the old one is removed. This patch
fixes the problem by always first removing old PID name entries before
adding new ones.

Bug reported by Stephen Hatton.
2011-11-01 23:50:55 +00:00
..
buf.c ProcFS server, by Alen Stojanov and David van Moolenbroek 2010-09-14 21:25:25 +00:00
const.h ProcFS server, by Alen Stojanov and David van Moolenbroek 2010-09-14 21:25:25 +00:00
cpuinfo.c /proc/cpuinfo 2010-10-26 21:08:00 +00:00
cpuinfo.h /proc/cpuinfo 2010-10-26 21:08:00 +00:00
glo.h ProcFS server, by Alen Stojanov and David van Moolenbroek 2010-09-14 21:25:25 +00:00
inc.h Merge AVFS and APFS 2011-08-17 13:40:36 +00:00
main.c procfs: only initialize the first time procfs is mounte 2011-02-22 18:03:33 +00:00
Makefile Merge AVFS and APFS 2011-08-17 13:40:36 +00:00
NOTES ProcFS server, by Alen Stojanov and David van Moolenbroek 2010-09-14 21:25:25 +00:00
pid.c rename mmap MAP_SHARED to MAP_IPC_SHARED 2011-07-15 18:10:50 +02:00
proto.h Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
root.c Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
tree.c procfs: fix for PID reuse between updates 2011-11-01 23:50:55 +00:00
type.h Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
util.c Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00