diff -bruwP libgtop/libgtop-sysdeps.m4 libgtop.old/libgtop-sysdeps.m4
--- libgtop/libgtop-sysdeps.m4	Mon Aug 18 09:11:07 2008
+++ libgtop.old/libgtop-sysdeps.m4	Thu Jan  8 17:44:49 2009
@@ -87,21 +87,21 @@
 	  libgtop_sysdeps_dir=solaris
 	  libgtop_use_machine_h=yes
 	  libgtop_need_server=yes
-	  libgtop_postinstall='chgrp sys $(bindir)/libgtop_server && chmod 2755 $(bindir)/libgtop_server'
+	  libgtop_postinstall='chgrp sys $(bindir)/libgtop_server2 && chmod 2755 $(bindir)/libgtop_server2'
 	  ;;
 	aix*)
 	  libgtop_sysdeps_dir=aix
 	  libgtop_use_machine_h=yes
 	  libgtop_need_server=yes
 	  libgtop_have_sysinfo=yes
-	  libgtop_postinstall='chgrp system $(bindir)/libgtop_server && chmod g+s $(bindir)/libgtop_server2'
+	  libgtop_postinstall='chgrp system $(bindir)/libgtop_server2 && chmod g+s $(bindir)/libgtop_server2'
 	  ;;
 	darwin*)
 	  libgtop_sysdeps_dir=darwin
 	  libgtop_use_machine_h=yes
 	  libgtop_need_server=yes
 	  libgtop_have_sysinfo=yes
-	  libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server && chmod g+s $(bindir)/libgtop_server2'
+	  libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server2 && chmod g+s $(bindir)/libgtop_server2'
 	  ;;
 	*)
 	  if test x$hacker_mode = xyes ; then
diff -bruwP libgtop/sysdeps/darwin/Makefile.am libgtop.old/sysdeps/darwin/Makefile.am
--- libgtop/sysdeps/darwin/Makefile.am	Fri Sep 28 10:36:48 2007
+++ libgtop.old/sysdeps/darwin/Makefile.am	Thu Jan  8 18:57:31 2009
@@ -6,7 +6,7 @@
 
 libgtop_sysdeps_suid_2_0_la_SOURCES = open.c close.c \
 cpu.c mem.c swap.c uptime.c loadavg.c shm_limits.c msg_limits.c \
-sem_limits.c proclist.c procstate.c procuid.c proctime.c \
+sem_limits.c procaffinity.c proclist.c procstate.c procuid.c proctime.c \
 procmem.c procsignal.c prockernel.c procsegment.c procargs.c \
 procmap.c netload.c ppp.c netlist.c procopenfiles.c procwd.c
 
diff -bruwP libgtop/sysdeps/darwin/glibtop_server.h libgtop.old/sysdeps/darwin/glibtop_server.h
--- libgtop/sysdeps/darwin/glibtop_server.h	Fri Sep 28 10:36:48 2007
+++ libgtop.old/sysdeps/darwin/glibtop_server.h	Thu Jan  8 18:59:50 2009
@@ -44,6 +44,7 @@
 #define GLIBTOP_SUID_NETLIST		0
 #define GLIBTOP_SUID_PPP		(1 << GLIBTOP_SYSDEPS_PPP)
 #define GLIBTOP_SUID_PROC_WD		(1 << GLIBTOP_SYSDEPS_PROC_WD)
+#define GLIBTOP_SUID_PROC_AFFINITY	0
 
 G_END_DECLS
 
diff -bruwP libgtop/sysdeps/darwin/procaffinity.c libgtop.old/sysdeps/darwin/procaffinity.c
--- libgtop/sysdeps/darwin/procaffinity.c	Wed Dec 31 16:00:00 1969
+++ libgtop.old/sysdeps/darwin/procaffinity.c	Thu Jan  8 18:56:17 2009
@@ -0,0 +1,44 @@
+/*
+
+   This file is part of LibGTop 2.
+
+   LibGTop is free software; you can redistribute it and/or modify it
+   under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License,
+   or (at your option) any later version.
+
+   LibGTop is distributed in the hope that it will be useful, but WITHOUT
+   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+   FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+   for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with LibGTop; see the file COPYING. If not, write to the
+   Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.
+*/
+
+#include <config.h>
+#include <glibtop/procaffinity.h>
+#include <glibtop/error.h>
+
+#include <sys/param.h>
+
+void
+_glibtop_init_proc_affinity_s(glibtop *server)
+{
+  server->sysdeps.proc_affinity =
+    (1 << GLIBTOP_PROC_AFFINITY_NUMBER) |
+    (1 << GLIBTOP_PROC_AFFINITY_ALL);
+
+}
+
+
+guint16 *
+glibtop_get_proc_affinity_s(glibtop *server, glibtop_proc_affinity *buf, pid_t pid)
+{
+  memset(buf, 0, sizeof *buf);
+
+  return NULL;
+}
+
