Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/sepol
File: handle.h
#ifndef _SEPOL_HANDLE_H_
[0] Fix | Delete
#define _SEPOL_HANDLE_H_
[1] Fix | Delete
[2] Fix | Delete
#ifdef __cplusplus
[3] Fix | Delete
extern "C" {
[4] Fix | Delete
#endif
[5] Fix | Delete
[6] Fix | Delete
struct sepol_handle;
[7] Fix | Delete
typedef struct sepol_handle sepol_handle_t;
[8] Fix | Delete
[9] Fix | Delete
/* Create and return a sepol handle. */
[10] Fix | Delete
sepol_handle_t *sepol_handle_create(void);
[11] Fix | Delete
[12] Fix | Delete
/* Get whether or not dontaudits will be disabled, same values as
[13] Fix | Delete
* specified by set_disable_dontaudit. This value reflects the state
[14] Fix | Delete
* your system will be set to upon commit, not necessarily its
[15] Fix | Delete
* current state.*/
[16] Fix | Delete
int sepol_get_disable_dontaudit(sepol_handle_t * sh);
[17] Fix | Delete
[18] Fix | Delete
/* Set whether or not to disable dontaudits, 0 is default and does
[19] Fix | Delete
* not disable dontaudits, 1 disables them */
[20] Fix | Delete
void sepol_set_disable_dontaudit(sepol_handle_t * sh, int disable_dontaudit);
[21] Fix | Delete
[22] Fix | Delete
/* Set whether module_expand() should consume the base policy passed in.
[23] Fix | Delete
* This should reduce the amount of memory required to expand the policy. */
[24] Fix | Delete
void sepol_set_expand_consume_base(sepol_handle_t * sh, int consume_base);
[25] Fix | Delete
[26] Fix | Delete
/* Destroy a sepol handle. */
[27] Fix | Delete
void sepol_handle_destroy(sepol_handle_t *);
[28] Fix | Delete
[29] Fix | Delete
/* Get whether or not needless unused branch of tunables would be preserved */
[30] Fix | Delete
int sepol_get_preserve_tunables(sepol_handle_t * sh);
[31] Fix | Delete
[32] Fix | Delete
/* Set whether or not to preserve the needless unused branch of tunables,
[33] Fix | Delete
* 0 is default and discard such branch, 1 preserves them */
[34] Fix | Delete
void sepol_set_preserve_tunables(sepol_handle_t * sh, int preserve_tunables);
[35] Fix | Delete
[36] Fix | Delete
#ifdef __cplusplus
[37] Fix | Delete
}
[38] Fix | Delete
#endif
[39] Fix | Delete
[40] Fix | Delete
#endif
[41] Fix | Delete
[42] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function