From 0bdd83e971431112a0dcdea15c724d3e2dde66d6 Mon Sep 17 00:00:00 2001 From: kremlin Date: Wed, 4 Jun 2014 22:36:18 -0500 Subject: [PATCH] divorce introspect xml to conf/ file, rm hostnamed.h, update system bus config file to be more secure.. --- conf/hostnamed-ispect.xml | 25 +++++++++ src/interfaces/hostnamed/hostnamed.c | 1 - src/interfaces/hostnamed/hostnamed.h | 78 ---------------------------- 3 files changed, 25 insertions(+), 79 deletions(-) create mode 100644 conf/hostnamed-ispect.xml delete mode 100644 src/interfaces/hostnamed/hostnamed.h diff --git a/conf/hostnamed-ispect.xml b/conf/hostnamed-ispect.xml new file mode 100644 index 0000000..fbf2d71 --- /dev/null +++ b/conf/hostnamed-ispect.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/interfaces/hostnamed/hostnamed.c b/src/interfaces/hostnamed/hostnamed.c index f41892d..3002336 100644 --- a/src/interfaces/hostnamed/hostnamed.c +++ b/src/interfaces/hostnamed/hostnamed.c @@ -1,5 +1,4 @@ #include -#include "hostnamed.h" GMainLoop *loop; GDBusNodeInfo *spect_data; diff --git a/src/interfaces/hostnamed/hostnamed.h b/src/interfaces/hostnamed/hostnamed.h deleted file mode 100644 index 6bc1478..0000000 --- a/src/interfaces/hostnamed/hostnamed.h +++ /dev/null @@ -1,78 +0,0 @@ -#include - -static const gchar SYSTEMD_HOSTNAMED_XML[] = - "" - "" - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - " " - ""; -- 2.41.0