From 23cdbd5336b4a8e6a15ad3e01beacc8377fe11bc Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Thu, 1 Oct 1998 08:58:55 +0000 Subject: [PATCH] Use `libgtop_postinstall' here to make the server suid root or sgid kmem 1998-10-01 Martin Baulig * Makefile.am (install-exec-hook): Use `libgtop_postinstall' here to make the server suid root or sgid kmem if required. --- src/daemon/ChangeLog | 5 +++++ src/daemon/Makefile.am | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/daemon/ChangeLog b/src/daemon/ChangeLog index 25632770..c129aaa0 100644 --- a/src/daemon/ChangeLog +++ b/src/daemon/ChangeLog @@ -1,3 +1,8 @@ +1998-10-01 Martin Baulig + + * Makefile.am (install-exec-hook): Use `libgtop_postinstall' + here to make the server suid root or sgid kmem if required. + 1998-08-25 Martin Baulig * daemon.h (handle_parent_connection): Added prototype. diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am index 2a0641b9..6bb38d5b 100644 --- a/src/daemon/Makefile.am +++ b/src/daemon/Makefile.am @@ -30,3 +30,8 @@ libgtop_server_LDADD = $(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps_su @LIBSUPPORT@ EXTRA_DIST = server_config.h.in server_config.pl + +install-exec-hook: + -if [ ! -z "@libgtop_postinstall@" ] ; then \ + @libgtop_postinstall@ ; \ + fi