Moved them into the setgid server since they need to access kvm data.
1999-05-08 Martin Baulig <martin@home-of-linux.org> * shm_limits.c, msg_limits.c, sem_limits.c: Moved them into the setgid server since they need to access kvm data. * open_suid.c, close_suid.c: New file. We do the initialization and cleanup for the setgid server here. * glibtop_suid.h: New file. We include this in the setgid files. * open.c: Moved kvm opening code into open_suid.c.
This commit is contained in:
committed by
Martin Baulig
parent
3a7d7778a0
commit
e8a3a40691
@@ -31,9 +31,9 @@ BEGIN_LIBGTOP_DECLS
|
||||
#define GLIBTOP_SUID_SWAP 0
|
||||
#define GLIBTOP_SUID_UPTIME 0
|
||||
#define GLIBTOP_SUID_LOADAVG 0
|
||||
#define GLIBTOP_SUID_SHM_LIMITS 0
|
||||
#define GLIBTOP_SUID_MSG_LIMITS 0
|
||||
#define GLIBTOP_SUID_SEM_LIMITS 0
|
||||
#define GLIBTOP_SUID_SHM_LIMITS (1L << GLIBTOP_SYSDEPS_SHM_LIMITS)
|
||||
#define GLIBTOP_SUID_MSG_LIMITS (1L << GLIBTOP_SYSDEPS_MSG_LIMITS)
|
||||
#define GLIBTOP_SUID_SEM_LIMITS (1L << GLIBTOP_SYSDEPS_SEM_LIMITS)
|
||||
#define GLIBTOP_SUID_PROCLIST 0
|
||||
#define GLIBTOP_SUID_PROC_STATE 0
|
||||
#define GLIBTOP_SUID_PROC_UID 0
|
||||
|
Reference in New Issue
Block a user