proc: resurrect /proc/PID/stat and fix a few fields

Change-Id: I8ffcfde4db78c66ea10845a0451ae2610261f832
This commit is contained in:
Balazs Gerofi
2019-03-15 01:20:46 +09:00
committed by Dominique Martinet
parent e5c1fdf129
commit 2ce695b47b
3 changed files with 45 additions and 3 deletions

View File

@ -1113,7 +1113,7 @@ static const struct procfs_entry pid_entry_stuff[] = {
PROC_REG("mem", 0400, NULL),
PROC_REG("pagemap", 0444, NULL),
// PROC_REG("smaps", S_IRUGO, NULL),
// PROC_REG("stat", 0444, &mckernel_buff_io),
PROC_REG("stat", 0444, &mckernel_buff_io),
// PROC_REG("statm", S_IRUGO, NULL),
PROC_REG("status", 0444, &mckernel_buff_io),
// PROC_REG("syscall", S_IRUGO, NULL),