20 lines
441 B
C
Raw Normal View History

2018-09-27 00:09:59 -04:00
#pragma once
2018-11-03 03:06:01 -04:00
#ifdef __cplusplus
extern "C" {
#endif
2018-09-27 00:09:59 -04:00
extern void (*freecon)(char * con);
extern int (*setcon)(const char * con);
extern int (*getfilecon)(const char *path, char ** con);
extern int (*lgetfilecon)(const char *path, char ** con);
extern int (*setfilecon)(const char *path, const char * con);
extern int (*lsetfilecon)(const char *path, const char * con);
2018-09-27 18:26:41 -04:00
void dload_selinux();
2018-09-27 00:09:59 -04:00
void restorecon();
2018-11-03 03:06:01 -04:00
#ifdef __cplusplus
}
#endif