Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/selinux
File: context.h
#ifndef _SELINUX_CONTEXT_H_
[0] Fix | Delete
#define _SELINUX_CONTEXT_H_
[1] Fix | Delete
[2] Fix | Delete
#ifdef __cplusplus
[3] Fix | Delete
extern "C" {
[4] Fix | Delete
#endif
[5] Fix | Delete
[6] Fix | Delete
/*
[7] Fix | Delete
* Functions to deal with security contexts in user space.
[8] Fix | Delete
*/
[9] Fix | Delete
[10] Fix | Delete
typedef struct {
[11] Fix | Delete
void *ptr;
[12] Fix | Delete
} context_s_t;
[13] Fix | Delete
[14] Fix | Delete
typedef context_s_t *context_t;
[15] Fix | Delete
[16] Fix | Delete
/* Return a new context initialized to a context string */
[17] Fix | Delete
[18] Fix | Delete
extern context_t context_new(const char *);
[19] Fix | Delete
[20] Fix | Delete
/*
[21] Fix | Delete
* Return a pointer to the string value of the context_t
[22] Fix | Delete
* Valid until the next call to context_str or context_free
[23] Fix | Delete
* for the same context_t*
[24] Fix | Delete
*/
[25] Fix | Delete
[26] Fix | Delete
extern char *context_str(context_t);
[27] Fix | Delete
[28] Fix | Delete
/* Free the storage used by a context */
[29] Fix | Delete
extern void context_free(context_t);
[30] Fix | Delete
[31] Fix | Delete
/* Get a pointer to the string value of a context component */
[32] Fix | Delete
[33] Fix | Delete
extern const char *context_type_get(context_t);
[34] Fix | Delete
extern const char *context_range_get(context_t);
[35] Fix | Delete
extern const char *context_role_get(context_t);
[36] Fix | Delete
extern const char *context_user_get(context_t);
[37] Fix | Delete
[38] Fix | Delete
/* Set a context component. Returns nonzero if unsuccessful */
[39] Fix | Delete
[40] Fix | Delete
extern int context_type_set(context_t, const char *);
[41] Fix | Delete
extern int context_range_set(context_t, const char *);
[42] Fix | Delete
extern int context_role_set(context_t, const char *);
[43] Fix | Delete
extern int context_user_set(context_t, const char *);
[44] Fix | Delete
[45] Fix | Delete
#ifdef __cplusplus
[46] Fix | Delete
}
[47] Fix | Delete
#endif
[48] Fix | Delete
#endif
[49] Fix | Delete
[50] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function