glibtop_get_proc_map on Linux doesn't need to be SUID.

Revert this proof of concept.
Add C file with comments to document how to make a call SUID.
This commit is contained in:
Benoît Dejean
2018-03-26 18:14:58 +02:00
parent ec662d01da
commit e4335d4db2
3 changed files with 337 additions and 11 deletions

View File

@@ -39,7 +39,7 @@
#define GLIBTOP_SUID_PROC_KERNEL 0
#define GLIBTOP_SUID_PROC_SEGMENT 0
#define GLIBTOP_SUID_PROC_ARGS 0
#define GLIBTOP_SUID_PROC_MAP (1 << GLIBTOP_SYSDEPS_PROC_MAP)
#define GLIBTOP_SUID_PROC_MAP 0
#define GLIBTOP_SUID_NETLOAD 0
#define GLIBTOP_SUID_NETLIST 0
#define GLIBTOP_SUID_PROC_WD 0