diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-06 23:44:30 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-08 20:26:23 +0100 |
commit | b0d4e90510ce0feb173127c3f08c115e1160419c (patch) | |
tree | a979c78cee73e868f687183dc680d534fa9efe15 /src/db/sysdb_selinux.h | |
parent | 872f6beae665bc2f3b7828df565d962b96f410b1 (diff) | |
download | sssd-b0d4e90510ce0feb173127c3f08c115e1160419c.tar.gz sssd-b0d4e90510ce0feb173127c3f08c115e1160419c.tar.xz sssd-b0d4e90510ce0feb173127c3f08c115e1160419c.zip |
SYSDB: Split a function to read all SELinux maps
Diffstat (limited to 'src/db/sysdb_selinux.h')
-rw-r--r-- | src/db/sysdb_selinux.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/db/sysdb_selinux.h b/src/db/sysdb_selinux.h index c7dbbe98c..5fcbb56ef 100644 --- a/src/db/sysdb_selinux.h +++ b/src/db/sysdb_selinux.h @@ -48,6 +48,12 @@ errno_t sysdb_store_selinux_config(struct sysdb_ctx *sysdb, const char *default_map, const char *order); +errno_t sysdb_get_selinux_usermaps(TALLOC_CTX *mem_ctx, + struct sysdb_ctx *sysdb, + 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, const char *name, |