summaryrefslogtreecommitdiff
path: root/sysdeps/linux/glibtop_server.h
diff options
context:
space:
mode:
authorBenoît Dejean <bdejean@gmail.com>2018-03-07 19:37:28 +0100
committerBenoît Dejean <bdejean@gmail.com>2018-03-07 19:44:41 +0100
commitc65cb3e46b271535fc475f4ba3118d60b17a450c (patch)
tree323244fbf9cbcebb0beae3473aa308c065bd3ba3 /sysdeps/linux/glibtop_server.h
parentb450bbc67c31bd6e2d111261dd8d8baa66635405 (diff)
downloadlibgtop-c65cb3e46b271535fc475f4ba3118d60b17a450c.tar.gz
Rename GLIBTOP_SUID_PROC_FILE to GLIBTOP_SUID_PROC_OPEN_FILES.
The previous name is incorrect and inconsistent with the code generated by lib.pl. Also add missing hooks. This symbol, although exposed in public headers is not part of the API and is only used internally.
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 8e591eab..6240d5de 100644
--- a/sysdeps/linux/glibtop_server.h
+++ b/sysdeps/linux/glibtop_server.h
@@ -45,7 +45,7 @@
#define GLIBTOP_SUID_PROC_WD 0
#define GLIBTOP_SUID_PROC_AFFINITY 0
#define GLIBTOP_SUID_PPP 0
-#define GLIBTOP_SUID_PROC_FILE 0
+#define GLIBTOP_SUID_PROC_OPEN_FILES 0
#define GLIBTOP_SUID_PROC_IO 0
#endif /* __LINUX__GLIBTOP_SERVER_H__ */