summaryrefslogtreecommitdiff
path: root/src/journal/journald-native.c
Commit message (Collapse)AuthorAge
* remove hasprefix(), use startswith()Shawn Landden2013-08-22
|
* journal: allow callers to specify OBJECT_PID=Zbigniew Jędrzejewski-Szmek2013-06-20
| | | | | | | | | | | | | | | | | | | | | | | When journald encounters a message with OBJECT_PID= set coming from a priviledged process (UID==0), additional fields will be added to the message: OBJECT_UID=, OBJECT_GID=, OBJECT_COMM=, OBJECT_EXE=, OBJECT_CMDLINE=, OBJECT_AUDIT_SESSION=, OBJECT_AUDIT_LOGINUID=, OBJECT_SYSTEMD_CGROUP=, OBJECT_SYSTEMD_SESSION=, OBJECT_SYSTEMD_OWNER_UID=, OBJECT_SYSTEMD_UNIT= or OBJECT_SYSTEMD_USER_UNIT=. This is for other logging daemons, like setroubleshoot, to be able to augment their logs with data about the process. https://bugzilla.redhat.com/show_bug.cgi?id=951627
* Add hasprefix macro to check prefixes of fixed lengthZbigniew Jędrzejewski-Szmek2013-06-20
|
* journal: fix off-by-one error in native message iovec countingMichal Schmidt2013-04-16
| | | | | Thanks to Cristian Ciupitu for a reproducer. https://bugzilla.redhat.com/show_bug.cgi?id=924359
* journald: bring max coredump size in sync with max entry sizeLennart Poettering2013-04-08
|
* journal: fix SO_PASSSEC invocationLennart Poettering2012-11-23
| | | | Spotted by Lukas Nykryn
* build-sys: store journald code in a noinst libraryZbigniew Jędrzejewski-Szmek2012-11-14
| | | | | | | | | | | | | | | | | | | | The point is to allow the use of journald functions by other binaries. Before, journald code was split into multiple files (journald-*.[ch]), but all those files all required functions from journald.c. And journald.c has its own main(). Now, it is possible to link against those functions, e.g. from test binaries. This constitutes a fix for https://bugzilla.redhat.com/show_bug.cgi?id=872638. The patch does the following: 1. rename journald.h to journald-server.h and move corresponding code to journald-server.c. 2. add journald-server.c and other journald-*.c parts to libsystemd-journal-internal. 3. remove journald-syslog.c from test_journal_syslog_SOURCES, since it is now contained in libsystemd-journal-internal. There are no code changes, apart from the removal of a few static's, to allow function calls between files.
* dbus: add some more safety checks before accepting data from bus clientsLennart Poettering2012-10-03
|
* journald: only accept fds from certain directoriesLennart Poettering2012-10-03
|
* journald: don't accept arbitrarily sized journal data fieldsLennart Poettering2012-09-19
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=858746
* journald: add missing includesAllin Cottrell2012-08-24
|
* journald: split off native protocol support into its own .c fileLennart Poettering2012-08-22