Skip to content

Conversation

@Blarse
Copy link
Contributor

@Blarse Blarse commented Aug 26, 2025

The set_aumessage_mode function and its associated constants (MSG_QUIET, DBG_NO) were removed from libaudit in version 4.1.1, breaking the ABI and causing build failures.

This function call was redundant as it was setting the library's default behavior (only receiving highest priority audit status messages). Remove the obsolete call to restore compatibility with newer libaudit versions while maintaining identical functionality.

The change is backward compatible and will compile successfully with both older libaudit versions (that still contain the function) and newer versions (where it has been removed).

Fixes: #8665

The set_aumessage_mode function and its associated constants (MSG_QUIET,
DBG_NO) were removed from libaudit in version 4.1.1, breaking the ABI
and causing build failures.

This function call was redundant as it was setting the library's default
behavior (only receiving highest priority audit status messages). Remove
the obsolete call to restore compatibility with newer libaudit versions
while maintaining identical functionality.

The change is backward compatible and will compile successfully with both
older libaudit versions (that still contain the function) and newer
versions (where it has been removed).

Fixes: osquery#8665
@Blarse Blarse requested review from a team as code owners August 26, 2025 06:15
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Aug 26, 2025

CLA Signed

  • ✅login: Blarse / name: Egor Ignatov / (4ffb420)

The committers listed above are authorized under a signed CLA.

Copy link
Member

@zwass zwass left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thank you!

@zwass zwass enabled auto-merge (squash) September 10, 2025 19:02
@zwass zwass merged commit 1a4114c into osquery:master Sep 11, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failed to build with libaudit 4.1.1: set_aumessage_mode function removed

2 participants