summaryrefslogtreecommitdiff
path: root/sysdeps/linux/glibtop_server.h
diff options
context:
space:
mode:
authorBenoît Dejean <bdejean@gmail.com>2018-02-17 10:21:30 +0100
committerBenoît Dejean <bdejean@gmail.com>2018-03-26 17:44:43 +0200
commitec662d01dac16b817981da9ace55230441ef4cd4 (patch)
tree186f844e848e86adefb1149d8cdc74077e4829e8 /sysdeps/linux/glibtop_server.h
parentcab8791fdd6a174b1aea06410214800a774a729b (diff)
downloadlibgtop-ec662d01dac16b817981da9ace55230441ef4cd4.tar.gz
Make linux build with server.
Add suid infrastructure. Demo proc_map.
Diffstat (limited to 'sysdeps/linux/glibtop_server.h')
-rw-r--r--sysdeps/linux/glibtop_server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/linux/glibtop_server.h b/sysdeps/linux/glibtop_server.h
index 6240d5de..75f63160 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 0
+#define GLIBTOP_SUID_PROC_MAP (1 << GLIBTOP_SYSDEPS_PROC_MAP)
#define GLIBTOP_SUID_NETLOAD 0
#define GLIBTOP_SUID_NETLIST 0
#define GLIBTOP_SUID_PROC_WD 0