/* 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_ */
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
av_permissions.h | File | 63.77 KB | 0644 |
|
avc.h | File | 16.06 KB | 0644 |
|
context.h | File | 1.18 KB | 0644 |
|
flask.h | File | 6.25 KB | 0644 |
|
get_context_list.h | File | 2.85 KB | 0644 |
|
get_default_type.h | File | 629 B | 0644 |
|
label.h | File | 5.77 KB | 0644 |
|
restorecon.h | File | 2.78 KB | 0644 |
|
selinux.h | File | 26.54 KB | 0644 |
|