diff -urp kerneloops-0.12.orig/kerneloops.c kerneloops-0.12/kerneloops.c --- kerneloops-0.12.orig/kerneloops.c 2009-08-15 17:15:07.000000000 -0400 +++ kerneloops-0.12/kerneloops.c 2009-08-15 17:21:57.000000000 -0400 @@ -36,7 +36,7 @@ #include #include #include - +#include /* @@ -172,6 +172,8 @@ int main(int argc, char**argv) return EXIT_FAILURE; } sched_yield(); + capng_clear(CAPNG_SELECT_BOTH); + capng_apply(CAPNG_SELECT_BOTH); loop = g_main_loop_new(NULL, FALSE); dbus_error_init(&error); diff -urp kerneloops-0.12.orig/Makefile kerneloops-0.12/Makefile --- kerneloops-0.12.orig/Makefile 2009-08-15 17:15:07.000000000 -0400 +++ kerneloops-0.12/Makefile 2009-08-15 17:16:25.000000000 -0400 @@ -19,7 +19,7 @@ MY_CFLAGS := `pkg-config --cflags libnot # and that makes the applet load faster and use less memory. # LDF_A := -Wl,--as-needed `pkg-config --libs libnotify gtk+-2.0` -LDF_D := -Wl,--as-needed `pkg-config --libs glib-2.0 dbus-glib-1` `curl-config --libs` -Wl,"-z relro" -Wl,"-z now" +LDF_D := -Wl,--as-needed `pkg-config --libs glib-2.0 dbus-glib-1` `curl-config --libs` -lcap-ng -Wl,"-z relro" -Wl,"-z now" all: kerneloops kerneloops-applet kerneloops.8.gz