* 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:
@ -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 */
|
||||
|
Reference in New Issue
Block a user