setools/setools-seaudit-headers.patch
OBS User autobuild c81443a124 Accepting request 34373 from security:SELinux
Copy from security:SELinux/setools based on submit request 34373 from user prusnak

OBS-URL: https://build.opensuse.org/request/show/34373
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=4
2010-03-09 16:07:02 +00:00

45 lines
1.9 KiB
Diff

Index: setools-3.3.6/libseaudit/include/seaudit/avc_message.h
===================================================================
--- setools-3.3.6.orig/libseaudit/include/seaudit/avc_message.h
+++ setools-3.3.6/libseaudit/include/seaudit/avc_message.h
@@ -104,7 +104,7 @@ extern "C"
* @return Source target, or NULL upon error or if unknown. Do not
* free() this string.
*/
- extern const char *seaudit_avc_message_get_source__mls_lvl(const seaudit_avc_message_t * avc);
+ extern const char *seaudit_avc_message_get_source_mls_lvl(const seaudit_avc_message_t * avc);
/**
* Return the source context's mls clearance of an avc message.
@@ -114,7 +114,7 @@ extern "C"
* @return Source target, or NULL upon error or if unknown. Do not
* free() this string.
*/
- extern const char *seaudit_avc_message_get_source__mls_clr(const seaudit_avc_message_t * avc);
+ extern const char *seaudit_avc_message_get_source_mls_clr(const seaudit_avc_message_t * avc);
/**
* Return the target context's user of an avc message.
Index: setools-3.3.6/seaudit/toplevel.h
===================================================================
--- setools-3.3.6.orig/seaudit/toplevel.h
+++ setools-3.3.6/seaudit/toplevel.h
@@ -164,7 +164,7 @@ apol_vector_t *toplevel_get_log_types(to
* @return Vector of sorted types, or NULL if no log is loaded. The
* caller must call apol_vector_destroy() upon the return value.
*/
-apol_vector_t *toplevel_get_log_clr(toplevel_t * top);
+apol_vector_t *toplevel_get_log_mls_lvl(toplevel_t * top);
/**
* Return a vector of strings corresponding to all mls
@@ -176,7 +176,7 @@ apol_vector_t *toplevel_get_log_clr(topl
* @return Vector of sorted types, or NULL if no log is loaded. The
* caller must call apol_vector_destroy() upon the return value.
*/
-apol_vector_t *toplevel_get_log_clr(toplevel_t * top);
+apol_vector_t *toplevel_get_log_mls_clr(toplevel_t * top);
/**
* Return a vector of strings corresponding to all object classes