diff options
author | Benoît Dejean <bdejean@gmail.com> | 2018-03-26 18:14:58 +0200 |
---|---|---|
committer | Benoît Dejean <bdejean@gmail.com> | 2018-03-26 18:15:26 +0200 |
commit | e4335d4db28491c256d80efb63492d83d0560a37 (patch) | |
tree | b36396c2547f2d35cf3599da36b43d37d9856bc8 /sysdeps/linux/glibtop_server.h | |
parent | ec662d01dac16b817981da9ace55230441ef4cd4 (diff) | |
download | libgtop-e4335d4db28491c256d80efb63492d83d0560a37.tar.gz |
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.
Diffstat (limited to 'sysdeps/linux/glibtop_server.h')
-rw-r--r-- | sysdeps/linux/glibtop_server.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/linux/glibtop_server.h b/sysdeps/linux/glibtop_server.h index 75f63160..6240d5de 100644 --- a/sysdeps/linux/glibtop_server.h +++ b/sysdeps/linux/glibtop_server.h @@ -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 |