sysdb_selinux.h revision 740870643f337ce70d85f25f9ed057cd1f91028c
/*
SSSD
System Database Header - SELinux support
Copyright (C) Jan Zeleny <jzeleny@redhat.com> 2012
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __SYS_DB_SELINUX_H__
#define __SYS_DB_SELINUX_H__
#define SYSDB_SELINUX_CONTAINER "cn=selinux"
#define SYSDB_SELINUX_NAME "config"
#define SYSDB_SELINUX_SEEALSO "seeAlso"
#define SYSDB_SELINUX_USER "selinuxUser"
#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 {
};
struct sss_domain_info *domain,
struct sysdb_attrs *attrs);
struct sss_domain_info *domain,
const char *default_map,
const char *order);
struct sss_domain_info *domain,
const char **attrs,
struct ldb_message ***messages);
struct sss_domain_info *domain,
const char *name,
const char **attrs,
struct ldb_message **_usermap);
struct sss_domain_info *domain,
const char *username,
struct ldb_message ***_usermaps);
struct sss_domain_info *domain,
const char **attrs,
struct ldb_message **_config);
struct sss_domain_info *domain);
#endif