* fhandler_proc.cc (proc_listing): Add entry for "self".

(proc_fhandlers): Add entry for "self".
* fhandler_process.cc (fhandler_process::fstate): Handle "self".
(fhandler_process::open): Handle "self".
This commit is contained in:
Christopher Faylor
2004-12-18 16:37:44 +00:00
parent a9c42bde0b
commit b25e8b65c2
6 changed files with 139 additions and 106 deletions

View File

@ -54,6 +54,7 @@ static const char *proc_listing[] = {
"uptime",
"cpuinfo",
"partitions",
"self",
NULL
};
@ -73,6 +74,7 @@ static const DWORD proc_fhandlers[PROC_LINK_COUNT] = {
FH_PROC,
FH_PROC,
FH_PROC,
FH_PROCESS,
};
/* name of the /proc filesystem */