Use /dev/null for opening the kvm library, we don't need access to /dev/mem anymore. ps can now run without the setgid(kmem) bit. If it does it will not be able to show argv/envp for another uid's processes unless you are root. |
||
|---|---|---|
| .. | ||
| extern.h | ||
| fmt.c | ||
| keyword.c | ||
| Makefile | ||
| nlist.c | ||
| print.c | ||
| ps.1 | ||
| ps.c | ||
| ps.h | ||