Exploit databaseDownload repository ZIP
GH-a31bd441ffdfe229d44219a228ed734b
r0rt1z2/huawei-unlock
Sources for CVE-2019-2215
37 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files27
r0rt1z2/huawei-unlockRevision 861f4c5a32d6
- ↑..Parent directory
- policydb/
- boolean_record.h
- booleans.h
- context.h
- context_record.h
- debug.h
- errcodes.h
- handle.h
- ibendport_record.h
- ibendports.h
- ibpkey_record.h
- ibpkeys.h
- iface_record.h
- interfaces.h
- kernel_to_cil.h
- kernel_to_conf.h
- module.h
- module_to_cil.h
- node_record.h
- nodes.h
- policydb.h
- port_record.h
- ports.h
- roles.h
- sepol.h
- user_record.h
- users.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
libsepol/include/sepol/debug.h
Text · 975 bytes#ifndef _SEPOL_DEBUG_H_
#define _SEPOL_DEBUG_H_
#include <sepol/handle.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Deprecated */
extern void sepol_debug(int on);
/* End deprecated */
#define SEPOL_MSG_ERR 1
#define SEPOL_MSG_WARN 2
#define SEPOL_MSG_INFO 3
extern int sepol_msg_get_level(sepol_handle_t * handle);
extern const char *sepol_msg_get_channel(sepol_handle_t * handle);
extern const char *sepol_msg_get_fname(sepol_handle_t * handle);
/* Set the messaging callback.
* By the default, the callback will print
* the message on standard output, in a
* particular format. Passing NULL here
* indicates that messaging should be suppressed */
extern void sepol_msg_set_callback(sepol_handle_t * handle,
#ifdef __GNUC__
__attribute__ ((format(printf, 3, 4)))
#endif
void (*msg_callback) (void *varg,
sepol_handle_t *
handle,
const char *fmt, ...),
void *msg_callback_arg);
#ifdef __cplusplus
}
#endif
#endif