diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-11-08 14:05:55 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-01-23 19:49:00 -0500 |
commit | 8a03c9ef744e13dc700a7e7ca6cae8afdcf0d71c (patch) | |
tree | 096c53fd5da8339ebf14e8ebc03378a520818ff7 /src/getty-generator | |
parent | ca8625e9f9f1e0ec11d9976436eb95ec8651f8d4 (diff) |
journald: allow additional payload in server_driver_message
The code to format the iovec is shared with log.c. All call sites to
server_driver_message are changed to include the additional "MESSAGE="
part, but the new functionality is not used and change in functionality
is not expected.
iovec is preallocated, so the maximum number of messages is limited.
In server_driver_message N_IOVEC_PAYLOAD_FIELDS is currently set to 1.
New code is not oom safe, it will fail if memory cannot be allocated.
This will be fixed in subsequent commit.
Diffstat (limited to 'src/getty-generator')
0 files changed, 0 insertions, 0 deletions