Magisk/native/jni/include/selinux.h

13 lines
373 B
C
Raw Normal View History

2018-09-27 06:09:59 +02:00
#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();