[systemd-devel] [PATCH] RFC: stack_size_guess() and LINE_MAX limitation for MESSAGE

harald at redhat.com harald at redhat.com
Mon Apr 15 07:12:49 PDT 2013


From: Harald Hoyer <harald at redhat.com>

Introduce stack_size_guess() and alloca_maybe_safe() and get rid of
the LINE_MAX limitation for MESSAGE in sd_journal_printv*()

Harald Hoyer (2):
  util: add stack_size_guess() and alloca_maybe_safe()
  journal: get rid of LINE_MAX in sd_journal_printv*()

 CODING_STYLE                    |  7 +++
 Makefile.am                     |  7 +++
 configure.ac                    | 35 +++++++++++++++
 src/journal/journal-send.c      | 99 +++++++++++++++++++++++++++++++----------
 src/journal/test-journal-send.c | 92 +++++++++++++++++++++++++++++++++-----
 src/shared/util.c               | 47 +++++++++++++++++++
 src/shared/util.h               |  8 ++++
 7 files changed, 260 insertions(+), 35 deletions(-)

-- 
1.8.2



More information about the systemd-devel mailing list