We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9943799 commit 19300d4Copy full SHA for 19300d4
src/auditd-event.c
@@ -101,6 +101,11 @@ static volatile ATOMIC_INT flush;
101
static auparse_state_t *au = NULL;
102
103
/* Local definitions */
104
+// The reason 24 was chosen is lost in time. Enriched events start life with
105
+// format_raw which reserves 32 bytes. After that a newline, space a separator
106
+// get added. That leaves roughly 28 bytes. It is suspected that 24 was chosen
107
+// to at least allow one syscall or a uid to fully fit. In practice
108
+// MIN_SPACE_LEFT should never be hit unless the system uses very long paths.
109
#define MIN_SPACE_LEFT 24
110
111
static inline int from_network(const struct auditd_event *e)
0 commit comments