/usr/include/semanage/nodes_policy.h is in libsemanage1-dev 2.1.0-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 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | /* Copyright (C) 2005 Red Hat, Inc. */
#ifndef _SEMANAGE_NODES_POLICY_H_
#define _SEMANAGE_NODES_POLICY_H_
#include <semanage/handle.h>
#include <semanage/node_record.h>
extern int semanage_node_query(semanage_handle_t * handle,
const semanage_node_key_t * key,
semanage_node_t ** response);
extern int semanage_node_exists(semanage_handle_t * handle,
const semanage_node_key_t * key, int *response);
extern int semanage_node_count(semanage_handle_t * handle,
unsigned int *response);
extern int semanage_node_iterate(semanage_handle_t * handle,
int (*handler) (const semanage_node_t * record,
void *varg),
void *handler_arg);
extern int semanage_node_list(semanage_handle_t * handle,
semanage_node_t *** records, unsigned int *count);
#endif
|