/
usr
/
include
/
selinux
/
/usr/include/selinux
mkdir
upload
Name
Size
Mode
Actions
avc.h
16880
0644
edit
dl
rm
context.h
1275
0644
edit
dl
rm
get_context_list.h
3000
0644
edit
dl
rm
get_default_type.h
643
0644
edit
dl
rm
label.h
6409
0644
edit
dl
rm
restorecon.h
7480
0644
edit
dl
rm
selinux.h
29155
0644
edit
dl
rm
Edit:
/usr/include/selinux/get_default_type.h
(643B)
/* 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. */ extern 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. */ extern int get_default_type(const char *role, char **type); #ifdef __cplusplus } #endif #endif /* ifndef _GET_DEFAULT_TYPE_H_ */
Save
cmd:
run