[systemd-devel] [PATCH] selinux-access:log_callback() increase buffer for audit logging

Harald Hoyer harald at redhat.com
Thu Feb 14 00:41:41 PST 2013


Am 13.02.2013 19:39, schrieb Lennart Poettering:
> On Wed, 13.02.13 17:08, harald at redhat.com (harald at redhat.com) wrote:
> 
>> From: Harald Hoyer <harald at redhat.com>
>>
>> As per https://bugzilla.redhat.com/show_bug.cgi?id=883043#c5
>> we can increase the buffer used with audit_log_user_avc_message() safely
>> to 4096 bytes.
> 
> I have now changed this to use a dynamically sized buffer instead. This
> should avoid the issue for good, so that we don't have to double the
> buffer size in two months again. 

smart :)



More information about the systemd-devel mailing list