Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/sepol
File: module.h
#ifndef _SEPOL_MODULE_H_
[0] Fix | Delete
#define _SEPOL_MODULE_H_
[1] Fix | Delete
[2] Fix | Delete
#include <stddef.h>
[3] Fix | Delete
#include <stdio.h>
[4] Fix | Delete
#include <stdint.h>
[5] Fix | Delete
[6] Fix | Delete
#include <sepol/handle.h>
[7] Fix | Delete
#include <sepol/policydb.h>
[8] Fix | Delete
[9] Fix | Delete
#ifdef __cplusplus
[10] Fix | Delete
extern "C" {
[11] Fix | Delete
#endif
[12] Fix | Delete
[13] Fix | Delete
struct sepol_module_package;
[14] Fix | Delete
typedef struct sepol_module_package sepol_module_package_t;
[15] Fix | Delete
[16] Fix | Delete
/* Module package public interfaces. */
[17] Fix | Delete
[18] Fix | Delete
extern int sepol_module_package_create(sepol_module_package_t ** p);
[19] Fix | Delete
[20] Fix | Delete
extern void sepol_module_package_free(sepol_module_package_t * p);
[21] Fix | Delete
[22] Fix | Delete
extern char *sepol_module_package_get_file_contexts(sepol_module_package_t * p);
[23] Fix | Delete
[24] Fix | Delete
extern size_t sepol_module_package_get_file_contexts_len(sepol_module_package_t
[25] Fix | Delete
* p);
[26] Fix | Delete
[27] Fix | Delete
extern int sepol_module_package_set_file_contexts(sepol_module_package_t * p,
[28] Fix | Delete
char *data, size_t len);
[29] Fix | Delete
[30] Fix | Delete
extern char *sepol_module_package_get_seusers(sepol_module_package_t * p);
[31] Fix | Delete
[32] Fix | Delete
extern size_t sepol_module_package_get_seusers_len(sepol_module_package_t * p);
[33] Fix | Delete
[34] Fix | Delete
extern int sepol_module_package_set_seusers(sepol_module_package_t * p,
[35] Fix | Delete
char *data, size_t len);
[36] Fix | Delete
[37] Fix | Delete
extern char *sepol_module_package_get_user_extra(sepol_module_package_t * p);
[38] Fix | Delete
[39] Fix | Delete
extern size_t sepol_module_package_get_user_extra_len(sepol_module_package_t *
[40] Fix | Delete
p);
[41] Fix | Delete
[42] Fix | Delete
extern int sepol_module_package_set_user_extra(sepol_module_package_t * p,
[43] Fix | Delete
char *data, size_t len);
[44] Fix | Delete
[45] Fix | Delete
extern char *sepol_module_package_get_netfilter_contexts(sepol_module_package_t
[46] Fix | Delete
* p);
[47] Fix | Delete
[48] Fix | Delete
extern size_t
[49] Fix | Delete
sepol_module_package_get_netfilter_contexts_len(sepol_module_package_t * p);
[50] Fix | Delete
[51] Fix | Delete
extern int sepol_module_package_set_netfilter_contexts(sepol_module_package_t *
[52] Fix | Delete
p, char *data,
[53] Fix | Delete
size_t len);
[54] Fix | Delete
[55] Fix | Delete
extern sepol_policydb_t *sepol_module_package_get_policy(sepol_module_package_t
[56] Fix | Delete
* p);
[57] Fix | Delete
[58] Fix | Delete
extern int sepol_link_packages(sepol_handle_t * handle,
[59] Fix | Delete
sepol_module_package_t * base,
[60] Fix | Delete
sepol_module_package_t ** modules,
[61] Fix | Delete
int num_modules, int verbose);
[62] Fix | Delete
[63] Fix | Delete
extern int sepol_module_package_read(sepol_module_package_t * mod,
[64] Fix | Delete
struct sepol_policy_file *file,
[65] Fix | Delete
int verbose);
[66] Fix | Delete
[67] Fix | Delete
extern int sepol_module_package_info(struct sepol_policy_file *file,
[68] Fix | Delete
int *type, char **name, char **version);
[69] Fix | Delete
[70] Fix | Delete
extern int sepol_module_package_write(sepol_module_package_t * p,
[71] Fix | Delete
struct sepol_policy_file *file);
[72] Fix | Delete
[73] Fix | Delete
/* Module linking/expanding public interfaces. */
[74] Fix | Delete
[75] Fix | Delete
extern int sepol_link_modules(sepol_handle_t * handle,
[76] Fix | Delete
sepol_policydb_t * base,
[77] Fix | Delete
sepol_policydb_t ** modules,
[78] Fix | Delete
size_t len, int verbose);
[79] Fix | Delete
[80] Fix | Delete
extern int sepol_expand_module(sepol_handle_t * handle,
[81] Fix | Delete
sepol_policydb_t * base,
[82] Fix | Delete
sepol_policydb_t * out, int verbose, int check);
[83] Fix | Delete
[84] Fix | Delete
#ifdef __cplusplus
[85] Fix | Delete
}
[86] Fix | Delete
#endif
[87] Fix | Delete
[88] Fix | Delete
#endif
[89] Fix | Delete
[90] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function