✏️ 编辑:get_default_type.h
路径:
/usr/include/selinux/get_default_type.h
大小:643 B · 修改:2025-03-12 23:36:23 · 权限:0644 · 只读(保存会失败)
← 返回目录
👁 查看
⬇ 下载
/* 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_ */
💾 保存
取消
保存为 UTF-8,换行统一为 LF