mirror of
https://github.com/ericonr/util-linux.git
synced 2024-04-21 09:12:35 -05:00
* selinux/av_permissions.h and magic constants are deprecated, the recommended solution is to use string_to_security_class() and string_to_av_perm() to get access vector * it also seems that selinux_check_passwd_access() does exactly the same as our checkAccess(), let's use it. Signed-off-by: Karel Zak <kzak@redhat.com>
8 lines
206 B
C
8 lines
206 B
C
#ifndef UTIL_LINUX_SELINUX_UTILS_H
|
|
#define UTIL_LINUX_SELINUX_UTILS_H
|
|
|
|
extern access_vector_t get_access_vector(const char *tclass, const char *op);
|
|
extern int setupDefaultContext(char *orig_file);
|
|
|
|
#endif
|