summaryrefslogtreecommitdiffstats
path: root/src
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 20:26:20 +0100
commit872f6beae665bc2f3b7828df565d962b96f410b1 (patch)
tree178616a1bcc4789b5c4fc470432b305594eda54a /src
parent844a2a044dc3d3bba8695da57113530723f4825b (diff)
downloadsssd-872f6beae665bc2f3b7828df565d962b96f410b1.tar.gz
sssd-872f6beae665bc2f3b7828df565d962b96f410b1.tar.xz
sssd-872f6beae665bc2f3b7828df565d962b96f410b1.zip
SYSDB: Remove duplicate selinux defines
Diffstat (limited to 'src')
-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 51b070d90..5bbee3568 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -107,11 +107,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 39bb67a19..c7dbbe98c 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 ae75413ac..fe9f48930 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 },