summaryrefslogtreecommitdiff
path: root/src/journal/journal-def.h
Commit message (Collapse)AuthorAge
* journal: have a named enum ObjectTypeMichal Schmidt2014-12-13
|
* journal: consistently use OBJECT_<type> names instead of numbersMichal Schmidt2014-12-13
| | | | | | Note that numbers 0 and -1 are both replaced with OBJECT_UNUSED, because they are treated the same everywhere (e.g. type_to_context() translates them both to 0).
* Always prefer our headers to system headersZbigniew Jędrzejewski-Szmek2014-07-31
| | | | | | In practice this shouldn't make much difference, but sometimes our headers might be newer, and we want to test them.
* fix #ifdefRonny Chevalier2014-07-08
|
* journal: add LZ4 as optional compressorZbigniew Jędrzejewski-Szmek2014-07-06
| | | | | | | | | | | | | | Add liblz4 as an optional dependency when requested with --enable-lz4, and use it in preference to liblzma for journal blob and coredump compression. To retain backwards compatibility, XZ is used to decompress old blobs. Things will function correctly only with lz4-119. Based on the benchmarks found on the web, lz4 seems to be the best choice for "quick" compressors atm. For pkg-config status, see http://code.google.com/p/lz4/issues/detail?id=135.
* journal: move _packed_ attribute to the endZbigniew Jędrzejewski-Szmek2012-12-17
| | | | | | | | | | | | GCC manual states that "For an enum, struct or union type, you may specify attributes either between the enum, struct or union tag and the name of the type, or just past the closing curly brace of the definition. The former syntax is preferred." This means that the attribute should not be located before 'struct'. Putting it between 'struct' and the name seems cluttered. Putting it at the end seems most readable. This avoids clang warnings.
* journal: use le64_t instead of uint64_t where this is appropriateLennart Poettering2012-10-21
|
* journal: link up documentation with the file structure headerLennart Poettering2012-10-20
|
* journal: even more simple static object testsLennart Poettering2012-08-18
|
* journald: add additional simple static tests to verifierLennart Poettering2012-08-18
|
* journal: rework terminologyLennart Poettering2012-08-17
| | | | | | | | | | | | | | | | | | | | | | Let's clean up our terminology a bit. New terminology: FSS = Forward Secure Sealing FSPRG = Forward Secure Pseudo-Random Generator FSS is the combination of FSPRG and a HMAC. Sealing = process of adding authentication tags to the journal. Verification = process of checking authentication tags to the journal. Sealing Key = The key used for adding authentication tags to the journal. Verification Key = The key used for checking authentication tags of the journal. Key pair = The pair of Sealing Key and Verification Key Internally, the Sealing Key is the combination of the FSPRG State plus change interval/start time. Internally, the Verification Key is the combination of the FSPRG Seed plus change interval/start time.
* journal: add FSPRG journal authenticationLennart Poettering2012-08-16
|
* journal: count number of entry arrays in headerLennart Poettering2012-08-16
|
* journal: verify structural consistencyLennart Poettering2012-08-16
|
* journal: implement basic journal file verification logicLennart Poettering2012-08-16
|
* journal: include tag object header in hmacLennart Poettering2012-08-13
|
* journald: initial version of FSPRG hookupLennart Poettering2012-08-13
| | | | | | This adds forward-secure authentication of journal files. This patch includes key generation as well as tagging of journal files, Verification of journal files will be added in a later patch.
* use #pragma once instead of foo*foo #define guardsShawn Landden2012-07-19
| | | | | | | | | | | | | | | | | #pragma once has been "un-deprecated" in gcc since 3.3, and is widely supported in other compilers. I've been using and maintaining (rebasing) this patch for a while now, as it annoyed me to see #ifndef fooblahfoo, etc all over the place, almost arrogant about the annoyance of having to define all these names to perform a commen but neccicary functionality, when a completely superior alternative exists. I havn't sent it till now, cause its kindof a style change, and it is bad voodoo to mess with style that has been established by more established editors. So feel free to lambast me as a crazy bafoon. v2 - preserve externally used headers
* journal: automatically rotate journal files if the data hash table is full > 75%Lennart Poettering2012-07-17
| | | | | | | Previously, when the main data hash table grows too full the performance simply started to decrease drastically. Instead, now simply rotate to a new journal file as the hash table gets to full, so that we can start with a new fresh empty hash table.
* journal: expose and make use of cutoff times of journalLennart Poettering2012-06-17
| | | | | This helps explaining when the log output of "systemctl status" is incomplete because the logs got rotated since the service was started.
* journal: add basic object definition for signaturesLennart Poettering2012-06-17
|
* journal: replace arena offset by header sizeLennart Poettering2012-06-17
|
* relicense to LGPLv2.1 (with exceptions)Lennart Poettering2012-04-12
| | | | | | | | | | | | | | We finally got the OK from all contributors with non-trivial commits to relicense systemd from GPL2+ to LGPL2.1+. Some udev bits continue to be GPL2+ for now, but we are looking into relicensing them too, to allow free copy/paste of all code within systemd. The bits that used to be MIT continue to be MIT. The big benefit of the relicensing is that closed source code may now link against libsystemd-login.so and friends.
* add sparse support to detect endianness bugFrederic Crozat2012-03-22
| | | | | | le16/32/64_t type should be used when storing little-endian value header to integrate with sparse from Josh Triplett <josh@joshtriplett.org>
* build-sys: move public header files into a dir of their ownLennart Poettering2012-01-05
|
* journal: add inline compression support with XZLennart Poettering2011-12-21
|
* journal: fix space reservation limit enforcementLennart Poettering2011-12-20
|
* journal: implement multiple field matchesLennart Poettering2011-11-08
|
* journal: properly implement matching with multiple matchesLennart Poettering2011-10-15
|
* journal: implementation rotationLennart Poettering2011-10-13
|
* journal: implement parallel traversal in clientLennart Poettering2011-10-08
|
* journal: store XOR combination of entry data object hashes to identify hash ↵Lennart Poettering2011-10-07
| | | | lines
* journal: add preliminary incomplete implementationLennart Poettering2011-10-07