/usr/include/sepol/roles.h is in libsepol1-dev 2.1.0-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | #ifndef _SEPOL_ROLES_H_
#define _SEPOL_ROLES_H_
extern int sepol_role_exists(const sepol_policydb_t * policydb,
const char *role, int *response);
extern int sepol_role_list(const sepol_policydb_t * policydb,
char ***roles, unsigned int *nroles);
#endif
|