X7ROOT File Manager
Current Path:
/usr/include/selinux
usr
/
include
/
selinux
/
📁
..
📄
av_permissions.h
(63.77 KB)
📄
avc.h
(16.06 KB)
📄
context.h
(1.18 KB)
📄
flask.h
(6.25 KB)
📄
get_context_list.h
(2.85 KB)
📄
get_default_type.h
(629 B)
📄
label.h
(5.77 KB)
📄
restorecon.h
(2.78 KB)
📄
selinux.h
(26.54 KB)
Editing: get_default_type.h
/* get_default_type.h - contains header information and function prototypes * for functions to get the default type for a role */ #ifndef _SELINUX_GET_DEFAULT_TYPE_H_ #define _SELINUX_GET_DEFAULT_TYPE_H_ #ifdef __cplusplus extern "C" { #endif /* Return path to default type file. */ const char *selinux_default_type_path(void); /* Get the default type (domain) for 'role' and set 'type' to refer to it. Caller must free via free(). Return 0 on success or -1 otherwise. */ int get_default_type(const char *role, char **type); #ifdef __cplusplus } #endif #endif /* ifndef _GET_DEFAULT_TYPE_H_ */
Upload File
Create Folder