Current Path: > > usr > include > selinux
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
av_permissions.h | File | 65296 bytes | March 11 2025 12:11:55. | |
avc.h | File | 16446 bytes | March 11 2025 12:11:55. | |
context.h | File | 1209 bytes | March 11 2025 12:11:55. | |
flask.h | File | 6400 bytes | March 11 2025 12:11:55. | |
get_context_list.h | File | 2920 bytes | March 11 2025 12:11:55. | |
get_default_type.h | File | 629 bytes | March 11 2025 12:11:55. | |
label.h | File | 5978 bytes | March 11 2025 12:11:55. | |
restorecon.h | File | 6038 bytes | March 11 2025 12:11:55. | |
selinux.h | File | 27539 bytes | March 11 2025 12:11:55. |
#ifndef _SELINUX_CONTEXT_H_ #define _SELINUX_CONTEXT_H_ #ifdef __cplusplus extern "C" { #endif /* * Functions to deal with security contexts in user space. */ typedef struct { void *ptr; } context_s_t; typedef context_s_t *context_t; /* Return a new context initialized to a context string */ extern context_t context_new(const char *); /* * Return a pointer to the string value of the context_t * Valid until the next call to context_str or context_free * for the same context_t* */ extern char *context_str(context_t); /* Free the storage used by a context */ extern void context_free(context_t); /* Get a pointer to the string value of a context component */ extern const char *context_type_get(context_t); extern const char *context_range_get(context_t); extern const char *context_role_get(context_t); extern const char *context_user_get(context_t); /* Set a context component. Returns nonzero if unsuccessful */ extern int context_type_set(context_t, const char *); extern int context_range_set(context_t, const char *); extern int context_role_set(context_t, const char *); extern int context_user_set(context_t, const char *); #ifdef __cplusplus } #endif #endif
SILENT KILLER Tool