]>
git.ipfire.org Git - thirdparty/util-linux.git/blob - include/selinux-utils.h
2 * No copyright is claimed. This code is in the public domain; do with
5 #ifndef UTIL_LINUX_SELINUX_UTILS_H
6 #define UTIL_LINUX_SELINUX_UTILS_H
8 extern int ul_setfscreatecon_from_file(char *orig_file
);
9 extern int ul_selinux_has_access(const char *classstr
, const char *perm
, char **user_cxt
);
10 extern int ul_selinux_get_default_context(const char *path
, int st_mode
, char **cxt
);