From 344bdd330f6dba2c1a7fae5d13ce54c0895ee6f1 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Mon, 1 Jun 1998 15:22:00 +0000 Subject: [PATCH] now using '__r' functions, they are #defined either as the '__p' or the * sysdeps/common/sysdeps.c: now using '__r' functions, they are #defined either as the '__p' or the '__s' ones. --- sysdeps/common/sysdeps.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sysdeps/common/sysdeps.c b/sysdeps/common/sysdeps.c index 1155bbc8..cbb961ab 100644 --- a/sysdeps/common/sysdeps.c +++ b/sysdeps/common/sysdeps.c @@ -21,6 +21,16 @@ #include #include +const unsigned long glibtop_server_features = +(1 << GLIBTOP_SUID_CPU) + (1 << GLIBTOP_SUID_MEM) + +(1 << GLIBTOP_SUID_SWAP) + (1 << GLIBTOP_SUID_UPTIME) + +(1 << GLIBTOP_SUID_LOADAVG) + (1 << GLIBTOP_SUID_SHM_LIMITS) + +(1 << GLIBTOP_SUID_MSG_LIMITS) + (1 << GLIBTOP_SUID_SEM_LIMITS) + +(1 << GLIBTOP_SUID_PROCLIST) + (1 << GLIBTOP_SUID_PROC_STATE) + +(1 << GLIBTOP_SUID_PROC_UID) + (1 << GLIBTOP_SUID_PROC_MEM) + +(1 << GLIBTOP_SUID_PROC_TIME) + (1 << GLIBTOP_SUID_PROC_SIGNAL) + +(1 << GLIBTOP_SUID_PROC_KERNEL) + (1 << GLIBTOP_SUID_PROC_SEGMENT); + /* Checks which features are implemented. */ void