13 lines
373 B
C
13 lines
373 B
C
|
|
#pragma once
|
|
|
|
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);
|
|
|
|
void setup_selinux();
|
|
void restorecon();
|