summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-01-06 11:34:46 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-08 17:14:54 +0100
commit8338d6727eb33ccdc1c2b77e6b4d38220587b9d2 (patch)
treec69df4adf491c223c05265cb33e1510675b1f226
parentef7a4f1a831a15356edb8e571a8c6b36f6ace017 (diff)
downloadsssd-8338d6727eb33ccdc1c2b77e6b4d38220587b9d2.tar.gz
sssd-8338d6727eb33ccdc1c2b77e6b4d38220587b9d2.tar.bz2
sssd-8338d6727eb33ccdc1c2b77e6b4d38220587b9d2.zip
SYSDB: Remove duplicate selinux defines
-rw-r--r--src/db/sysdb.h5
-rw-r--r--src/db/sysdb_selinux.h1
-rw-r--r--src/providers/ipa/ipa_opts.h1
3 files changed, 2 insertions, 5 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index 35888977..9db83145 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -100,11 +100,6 @@
#define SYSDB_FQDN "fqdn"
#define SYSDB_SERVERHOSTNAME "serverHostname"
-#define SYSDB_SELINUX_SEEALSO "seeAlso"
-#define SYSDB_SELINUX_USER "selinuxUser"
-#define SYSDB_SELINUX_ENABLED "enabled"
-#define SYSDB_SELINUX_HOST_PRIORITY "hostPriority"
-
#define SYSDB_CACHEDPWD "cachedPassword"
#define SYSDB_UUID "uniqueID"
diff --git a/src/db/sysdb_selinux.h b/src/db/sysdb_selinux.h
index 39bb67a1..c7dbbe98 100644
--- a/src/db/sysdb_selinux.h
+++ b/src/db/sysdb_selinux.h
@@ -34,6 +34,7 @@
#define SYSDB_SELINUX_ENABLED "enabled"
#define SYSDB_SELINUX_DEFAULT_USER "user"
#define SYSDB_SELINUX_DEFAULT_ORDER "order"
+#define SYSDB_SELINUX_HOST_PRIORITY "hostPriority"
enum selinux_entity_type {
SELINUX_CONFIG,
diff --git a/src/providers/ipa/ipa_opts.h b/src/providers/ipa/ipa_opts.h
index 01c32f46..66ca8ba7 100644
--- a/src/providers/ipa/ipa_opts.h
+++ b/src/providers/ipa/ipa_opts.h
@@ -28,6 +28,7 @@
#include "db/sysdb_sudo.h"
#include "db/sysdb_autofs.h"
#include "db/sysdb_services.h"
+#include "db/sysdb_selinux.h"
struct dp_option ipa_basic_opts[] = {
{ "ipa_domain", DP_OPT_STRING, NULL_STRING, NULL_STRING },