Home
last modified time | relevance | path

Searched refs:cil_log_level (Results 1 – 11 of 11) sorted by relevance

/third_party/selinux/libsepol/cil/src/
Dcil_log.c38 static enum cil_log_level cil_log_level = CIL_ERR; variable
52 __attribute__ ((format (printf, 2, 0))) void cil_vlog(enum cil_log_level lvl, const char *msg, va_l… in cil_vlog()
54 if (cil_log_level >= lvl) { in cil_vlog()
58 (*cil_log_handler)(cil_log_level, buff); in cil_vlog()
60 (*cil_log_handler)(cil_log_level, " <LOG MESSAGE TRUNCATED>"); in cil_vlog()
66 __attribute__ ((format (printf, 2, 3))) void cil_log(enum cil_log_level lvl, const char *msg, ...) in cil_log()
74 void cil_set_log_level(enum cil_log_level lvl) in cil_set_log_level()
76 cil_log_level = lvl; in cil_set_log_level()
79 enum cil_log_level cil_get_log_level(void) in cil_get_log_level()
81 return cil_log_level; in cil_get_log_level()
Dcil_log.h38 __attribute__ ((format(printf, 2, 0))) void cil_vlog(enum cil_log_level lvl, const char *msg, va_li…
39 __attribute__ ((format(printf, 2, 3))) void cil_log(enum cil_log_level lvl, const char *msg, ...);
41 enum cil_log_level cil_get_log_level(void);
Dcil_tree.h55 …t (printf, 3, 4))) void cil_tree_log(struct cil_tree_node *node, enum cil_log_level lvl, const cha…
Dcil_tree.c113 …t (printf, 3, 4))) void cil_tree_log(struct cil_tree_node *node, enum cil_log_level lvl, const cha… in cil_tree_log()
Dcil_post.c2274 enum cil_log_level log_level = cil_get_log_level(); in __cil_post_process_context_rules()
Dcil_binary.c4742 enum cil_log_level log_level = cil_get_log_level(); in __cil_print_neverallow_failure()
4974 enum cil_log_level log_level = cil_get_log_level(); in cil_check_type_bounds()
/third_party/selinux/libsepol/cil/include/cil/
Dcil.h68 enum cil_log_level { enum
73 extern void cil_set_log_level(enum cil_log_level lvl);
79 extern void cil_log(enum cil_log_level lvl, const char *msg, ...);
/third_party/selinux/libsepol/fuzz/
Dsecilc-fuzzer.c16 enum cil_log_level log_level = CIL_ERR; in LLVMFuzzerTestOneInput()
/third_party/selinux/secilc/
Dsecil2conf.c77 enum cil_log_level log_level = CIL_ERR; in main()
Dsecil2tree.c81 enum cil_log_level log_level = CIL_ERR; in main()
Dsecilc.c110 enum cil_log_level log_level = CIL_ERR; in main()