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: nodes.h
#ifndef _SEPOL_NODES_H_ #define _SEPOL_NODES_H_ #include <sepol/handle.h> #include <sepol/policydb.h> #include <sepol/node_record.h> #include <sys/cdefs.h> __BEGIN_DECLS /* Return the number of nodes */ extern int sepol_node_count(sepol_handle_t * handle, const sepol_policydb_t * p, unsigned int *response); /* Check if a node exists */ extern int sepol_node_exists(sepol_handle_t * handle, const sepol_policydb_t * policydb, const sepol_node_key_t * key, int *response); /* Query a node - returns the node, or NULL if not found */ extern int sepol_node_query(sepol_handle_t * handle, const sepol_policydb_t * policydb, const sepol_node_key_t * key, sepol_node_t ** response); /* Modify a node, or add it, if the key is not found */ extern int sepol_node_modify(sepol_handle_t * handle, sepol_policydb_t * policydb, const sepol_node_key_t * key, const sepol_node_t * data); /* Iterate the nodes * The handler may return: * -1 to signal an error condition, * 1 to signal successful exit * 0 to signal continue */ extern int sepol_node_iterate(sepol_handle_t * handle, const sepol_policydb_t * policydb, int (*fn) (const sepol_node_t * node, void *fn_arg), void *arg); __END_DECLS #endif
Save