chiark / gitweb /
journald: Do not dynamically allocate _UID/_GID/_PID strings
authorHolger Hans Peter Freyther <holger@freyther.de>
Sat, 6 Apr 2013 08:20:35 +0000 (10:20 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 8 Apr 2013 13:35:03 +0000 (15:35 +0200)
commitc2457105d76e3daf159f554a9bafb9751b23d756
tree5931d93fcc4fee03fa4ed998dda7888824aa6910
parent0a20e3c10761378869af7bbef2733e3ae879d0f1
journald: Do not dynamically allocate _UID/_GID/_PID strings

Avoid the dynamic allocation for the _UID, _GID, and _PID strings.
The maximum size of the string can be determined at compile time.

The code has only been compile tested.
src/journal/journald-server.c