diff options
author | Simo Sorce <simo@redhat.com> | 2013-01-08 00:48:12 -0500 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-15 10:53:02 +0100 |
commit | 740870643f337ce70d85f25f9ed057cd1f91028c (patch) | |
tree | 319f52b3a9e13a7c14492808a789778f1ee37613 /src/db/sysdb_selinux.h | |
parent | 2913240aee51ce81195148a4d814e967f66839c4 (diff) | |
download | sssd-740870643f337ce70d85f25f9ed057cd1f91028c.tar.gz sssd-740870643f337ce70d85f25f9ed057cd1f91028c.tar.xz sssd-740870643f337ce70d85f25f9ed057cd1f91028c.zip |
Add domain argument to sysdb selinux functions
Diffstat (limited to 'src/db/sysdb_selinux.h')
-rw-r--r-- | src/db/sysdb_selinux.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/db/sysdb_selinux.h b/src/db/sysdb_selinux.h index 5fcbb56ef..752f2206f 100644 --- a/src/db/sysdb_selinux.h +++ b/src/db/sysdb_selinux.h @@ -42,34 +42,41 @@ enum selinux_entity_type { }; errno_t sysdb_store_selinux_usermap(struct sysdb_ctx *sysdb, + struct sss_domain_info *domain, struct sysdb_attrs *attrs); errno_t sysdb_store_selinux_config(struct sysdb_ctx *sysdb, + 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_usermap_by_mapname(TALLOC_CTX *mem_ctx, struct sysdb_ctx *sysdb, + struct sss_domain_info *domain, const char *name, const char **attrs, struct ldb_message **_usermap); errno_t sysdb_search_selinux_usermap_by_username(TALLOC_CTX *mem_ctx, struct sysdb_ctx *sysdb, + struct sss_domain_info *domain, const char *username, struct ldb_message ***_usermaps); 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); +errno_t sysdb_delete_usermaps(struct sysdb_ctx *sysdb, + struct sss_domain_info *domain); #endif |