minix/servers/procfs
David van Moolenbroek 093c949274 procfs: fix rare panic in add_inode
Previously, procfs would consider all processes that have a non-free
kernel slot *or* an in-use PM slot. However, since AVFS, a non-free
kernel slot does not imply an in-use PM slot. As a result, procfs
may use PM slots that have a zero PID value. If two such entries are
present in the retrieved PM table, procfs would try to add two inodes
with the same name "0", triggering an assertion in vtreefs.

This patch makes procfs consider only the PM slot for (non-task)
processes.
2012-04-19 11:26:11 +02:00
..
buf.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
const.h ProcFS server, by Alen Stojanov and David van Moolenbroek 2010-09-14 21:25:25 +00:00
cpuinfo.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02: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 retire _ANSI and <minix/ansi.h> 2012-03-25 21:58:27 +02:00
main.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
Makefile VFS: replace VFS with AVFS 2012-02-13 16:53:21 +00:00
NOTES ProcFS server, by Alen Stojanov and David van Moolenbroek 2010-09-14 21:25:25 +00:00
pid.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
proto.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
root.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
tree.c procfs: fix rare panic in add_inode 2012-04-19 11:26:11 +02:00
type.h Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
util.c retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00