AUDIT_SET_BACKLOG_LIMIT(3)

πŸ“¦
version 4.2.1 Β· 2 versions
, in alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, fedora 43, fedora 44, nixpkgs unstable, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

okay so bestie, welcome to AUDIT_SET_BACKLOG_LIMIT(3) β€” it's a Library Functions Manual page, and it's all about the function audit_set_backlog_limit, aka Set the audit backlog limit. periodt πŸ’…


✨ SYNOPSIS ✨

#include <libaudit.h>

int audit_set_backlog_limit(int fd, uint32_t limit);"

🌸 DESCRIPTION 🌸

okay so audit_set_backlog_limit sets the queue length for audit events awaiting transfer on the descriptor given in fd. The limit argument specifies how many events may be queued. The default value is 64, which can potentially be overrun by bursts of activity. When the backlog limit is reached, the kernel consults the failure_flag to see what action to take. that's the tea πŸ«–βœ¨


πŸ’… RETURN VALUE πŸ’…

The return value is <= 0 on error, otherwise it is the netlink sequence id number. This function can have any error that sendto would encounter. so yeah, keep an eye out for those errors, bestie 😭


πŸ‘‘ SEE ALSO πŸ‘‘


πŸŽ€ AUTHOR πŸŽ€

Steve Grubb. iconic. πŸ‘‘


sending you love from the Linux Audit API, Oct 2006, on the AUDIT_SET_BACKLOG_LIMIT(3) page. mwah πŸ’‹βœ¨πŸ¦‹