PHP 7.4.33
Preview: handle.h Size: 1.36 KB
/home/godevadmin/public_html/upload_images/home/000~ROOT~000/usr/include/sepol/handle.h

#ifndef _SEPOL_HANDLE_H_
#define _SEPOL_HANDLE_H_

#ifdef __cplusplus
extern "C" {
#endif

struct sepol_handle;
typedef struct sepol_handle sepol_handle_t;

/* Create and return a sepol handle. */
sepol_handle_t *sepol_handle_create(void);

/* Get whether or not dontaudits will be disabled, same values as
 * specified by set_disable_dontaudit. This value reflects the state
 * your system will be set to upon commit, not necessarily its
 * current state.*/
int sepol_get_disable_dontaudit(sepol_handle_t * sh);

/* Set whether or not to disable dontaudits, 0 is default and does 
 * not disable dontaudits, 1 disables them */
void sepol_set_disable_dontaudit(sepol_handle_t * sh, int disable_dontaudit);

/* Set whether module_expand() should consume the base policy passed in.
 * This should reduce the amount of memory required to expand the policy. */
void sepol_set_expand_consume_base(sepol_handle_t * sh, int consume_base);

/* Destroy a sepol handle. */
void sepol_handle_destroy(sepol_handle_t *);

/* Get whether or not needless unused branch of tunables would be preserved */
int sepol_get_preserve_tunables(sepol_handle_t * sh);

/* Set whether or not to preserve the needless unused branch of tunables,
 * 0 is default and discard such branch, 1 preserves them */
void sepol_set_preserve_tunables(sepol_handle_t * sh, int preserve_tunables);

#ifdef __cplusplus
}
#endif

#endif

Directory Contents

Dirs: 2 × Files: 26

Name Size Perms Modified Actions
cil DIR
- drwxr-xr-x 2024-08-07 14:27:23
Edit Download
policydb DIR
- drwxr-xr-x 2024-08-07 14:27:23
Edit Download
2.19 KB lrw-r--r-- 2021-10-09 02:44:18
Edit Download
1.51 KB lrw-r--r-- 2021-10-09 02:44:18
Edit Download
752 B lrw-r--r-- 2021-10-09 02:44:18
Edit Download
1.63 KB lrw-r--r-- 2021-10-09 02:44:18
Edit Download
975 B lrw-r--r-- 2021-10-09 02:44:18
Edit Download
851 B lrw-r--r-- 2021-10-09 02:44:18
Edit Download
1.36 KB lrw-r--r-- 2021-10-09 02:44:18
Edit Download
1.35 KB lrw-r--r-- 2021-10-09 02:44:18
Edit Download
2.13 KB lrw-r--r-- 2021-10-09 02:44:18
Edit Download
1.32 KB lrw-r--r-- 2021-10-09 02:44:18
Edit Download
2.25 KB lrw-r--r-- 2021-10-09 02:44:18
Edit Download
1.80 KB lrw-r--r-- 2021-10-09 02:44:18
Edit Download
1.37 KB lrw-r--r-- 2021-10-09 02:44:18
Edit Download
125 B lrw-r--r-- 2021-10-09 02:44:18
Edit Download
126 B lrw-r--r-- 2021-10-09 02:44:18
Edit Download
2.62 KB lrw-r--r-- 2021-10-09 02:44:18
Edit Download
329 B lrw-r--r-- 2021-10-09 02:44:18
Edit Download
1.28 KB lrw-r--r-- 2021-10-09 02:44:18
Edit Download
2.74 KB lrw-r--r-- 2021-10-09 02:44:18
Edit Download
4.58 KB lrw-r--r-- 2021-10-09 02:44:18
Edit Download
1.28 KB lrw-r--r-- 2021-10-09 02:44:18
Edit Download
1.97 KB lrw-r--r-- 2021-10-09 02:44:18
Edit Download
339 B lrw-r--r-- 2021-10-09 02:44:18
Edit Download
862 B lrw-r--r-- 2021-10-09 02:44:18
Edit Download
1.98 KB lrw-r--r-- 2021-10-09 02:44:18
Edit Download
2.33 KB lrw-r--r-- 2021-10-09 02:44:18
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).