summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb_selinux.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-11-12 11:36:48 +0100
committerJakub Hrozek <jhrozek@redhat.com>2013-11-15 20:20:18 +0100
commit17759fc794c22898d1db609b736fbcd77536d150 (patch)
treea06f7cdc8d7e357b329977a46d16d95a83f9437f /src/db/sysdb_selinux.h
parente7d1cd14ce1a427007b1a7e9789dcb7e9619f84f (diff)
downloadsssd-17759fc794c22898d1db609b736fbcd77536d150.tar.gz
sssd-17759fc794c22898d1db609b736fbcd77536d150.tar.xz
sssd-17759fc794c22898d1db609b736fbcd77536d150.zip
SYSDB: Drop the sysdb_ctx parameter from SELinux functions
Diffstat (limited to 'src/db/sysdb_selinux.h')
-rw-r--r--src/db/sysdb_selinux.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/db/sysdb_selinux.h b/src/db/sysdb_selinux.h
index a40e7b52f..988f4f800 100644
--- a/src/db/sysdb_selinux.h
+++ b/src/db/sysdb_selinux.h
@@ -36,29 +36,24 @@
#define SYSDB_SELINUX_DEFAULT_ORDER "order"
#define SYSDB_SELINUX_HOST_PRIORITY "hostPriority"
-errno_t sysdb_store_selinux_usermap(struct sysdb_ctx *sysdb,
- struct sss_domain_info *domain,
+errno_t sysdb_store_selinux_usermap(struct sss_domain_info *domain,
struct sysdb_attrs *attrs);
-errno_t sysdb_store_selinux_config(struct sysdb_ctx *sysdb,
- struct sss_domain_info *domain,
+errno_t sysdb_store_selinux_config(struct sss_domain_info *domain,
const char *default_map,
const char *order);
errno_t sysdb_get_selinux_usermaps(TALLOC_CTX *mem_ctx,
- struct sysdb_ctx *sysdb,
struct sss_domain_info *domain,
const char **attrs,
size_t *count,
struct ldb_message ***messages);
errno_t sysdb_search_selinux_config(TALLOC_CTX *mem_ctx,
- struct sysdb_ctx *sysdb,
struct sss_domain_info *domain,
const char **attrs,
struct ldb_message **_config);
-errno_t sysdb_delete_usermaps(struct sysdb_ctx *sysdb,
- struct sss_domain_info *domain);
+errno_t sysdb_delete_usermaps(struct sss_domain_info *domain);
#endif