summaryrefslogtreecommitdiffstats
path: root/include/selinux-utils.h
blob: 03795616efaddb1b46d831df3ceb5acf79881d48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*
 * No copyright is claimed.  This code is in the public domain; do with
 * it what you wish.
 */
#ifndef UTIL_LINUX_SELINUX_UTILS_H
#define UTIL_LINUX_SELINUX_UTILS_H

extern int ul_setfscreatecon_from_file(char *orig_file);
extern int ul_selinux_has_access(const char *classstr, const char *perm, char **user_cxt);
extern int ul_selinux_get_default_context(const char *path, int st_mode, char **cxt);

#endif