SM0 She11
Path:
/
/
usr
/
include
/
sepol
Full Path (server): /usr/include/sepol
Create Fil3
Upl04d Fil3
📄 boolean_record.h
[E]
[D]
[R]
📄 booleans.h
[E]
[D]
[R]
📁 cil
Open
[D]
[R]
📄 context.h
[E]
[D]
[R]
📄 context_record.h
[E]
[D]
[R]
📄 debug.h
[E]
[D]
[R]
📄 errcodes.h
[E]
[D]
[R]
📄 handle.h
[E]
[D]
[R]
📄 ibendport_record.h
[E]
[D]
[R]
📄 ibendports.h
[E]
[D]
[R]
📄 ibpkey_record.h
[E]
[D]
[R]
📄 ibpkeys.h
[E]
[D]
[R]
📄 iface_record.h
[E]
[D]
[R]
📄 interfaces.h
[E]
[D]
[R]
📄 module.h
[E]
[D]
[R]
📄 module_to_cil.h
[E]
[D]
[R]
📄 node_record.h
[E]
[D]
[R]
📄 nodes.h
[E]
[D]
[R]
📁 policydb
Open
[D]
[R]
📄 policydb.h
[E]
[D]
[R]
📄 port_record.h
[E]
[D]
[R]
📄 ports.h
[E]
[D]
[R]
📄 roles.h
[E]
[D]
[R]
📄 sepol.h
[E]
[D]
[R]
📄 user_record.h
[E]
[D]
[R]
📄 users.h
[E]
[D]
[R]
Editing: interfaces.h
#ifndef __SEPOL_INTERFACES_H_ #define __SEPOL_INTERFACES_H_ #include <sepol/policydb.h> #include <sepol/iface_record.h> #include <sepol/handle.h> #include <sys/cdefs.h> __BEGIN_DECLS /* Return the number of interfaces */ extern int sepol_iface_count(sepol_handle_t * handle, const sepol_policydb_t * policydb, unsigned int *response); /* Check if an interface exists */ extern int sepol_iface_exists(sepol_handle_t * handle, const sepol_policydb_t * policydb, const sepol_iface_key_t * key, int *response); /* Query an interface - returns the interface, * or NULL if not found */ extern int sepol_iface_query(sepol_handle_t * handle, const sepol_policydb_t * policydb, const sepol_iface_key_t * key, sepol_iface_t ** response); /* Modify an interface, or add it, if the key * is not found */ extern int sepol_iface_modify(sepol_handle_t * handle, sepol_policydb_t * policydb, const sepol_iface_key_t * key, const sepol_iface_t * data); /* Iterate the interfaces * The handler may return: * -1 to signal an error condition, * 1 to signal successful exit * 0 to signal continue */ extern int sepol_iface_iterate(sepol_handle_t * handle, const sepol_policydb_t * policydb, int (*fn) (const sepol_iface_t * iface, void *fn_arg), void *arg); __END_DECLS #endif
Save