xref: /third_party/selinux/libsepol/src/handle.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/selinux/libsepol/src/
16cd6a6acSopenharmony_ci#ifndef _SEPOL_INTERNAL_HANDLE_H_
26cd6a6acSopenharmony_ci#define _SEPOL_INTERNAL_HANDLE_H_
36cd6a6acSopenharmony_ci
46cd6a6acSopenharmony_ci#include <sepol/handle.h>
56cd6a6acSopenharmony_ci
66cd6a6acSopenharmony_cistruct sepol_handle {
76cd6a6acSopenharmony_ci	/* Error handling */
86cd6a6acSopenharmony_ci	int msg_level;
96cd6a6acSopenharmony_ci	const char *msg_channel;
106cd6a6acSopenharmony_ci	const char *msg_fname;
116cd6a6acSopenharmony_ci#ifdef __GNUC__
126cd6a6acSopenharmony_ci	__attribute__ ((format(printf, 3, 4)))
136cd6a6acSopenharmony_ci#endif
146cd6a6acSopenharmony_ci	void (*msg_callback) (void *varg,
156cd6a6acSopenharmony_ci			      sepol_handle_t * handle, const char *fmt, ...);
166cd6a6acSopenharmony_ci	void *msg_callback_arg;
176cd6a6acSopenharmony_ci
186cd6a6acSopenharmony_ci	int disable_dontaudit;
196cd6a6acSopenharmony_ci	int expand_consume_base;
206cd6a6acSopenharmony_ci	int preserve_tunables;
216cd6a6acSopenharmony_ci};
226cd6a6acSopenharmony_ci
236cd6a6acSopenharmony_ci#endif
24

Indexes created Thu Nov 07 10:32:03 CST 2024