2023-01-12 15:33:09 +01:00
|
|
|
/*
|
|
|
|
* No copyright is claimed. This code is in the public domain; do with
|
|
|
|
* it what you wish.
|
|
|
|
*/
|
2016-06-14 13:15:44 +02:00
|
|
|
#ifndef UTIL_LINUX_SELINUX_UTILS_H
|
|
|
|
#define UTIL_LINUX_SELINUX_UTILS_H
|
|
|
|
|
2021-01-13 13:33:41 +01:00
|
|
|
extern int ul_setfscreatecon_from_file(char *orig_file);
|
2021-01-13 14:25:12 +01:00
|
|
|
extern int ul_selinux_has_access(const char *classstr, const char *perm, char **user_cxt);
|
2021-01-13 14:58:43 +01:00
|
|
|
extern int ul_selinux_get_default_context(const char *path, int st_mode, char **cxt);
|
2016-06-14 13:15:44 +02:00
|
|
|
|
|
|
|
#endif
|