summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-05test: hashmap - cripple the hash function by truncating the input rather ↵Tom Gundersen
than the output The reason for the crippled hash function is to reduce the distribution of the hash function, do this by truncating the domain rather than the range. This does introduce a change in behavoir as the range is no longer contiguous, which greatly reduces collisions. This is needed as a follow-up patch will no longer allow individual hash functions to alter the output directly.
2015-10-05test: siphash24 - verify internal state and composabilityTom Gundersen
Verify the state of the hash-function according to the reference paper, also verify that we can decompose the input and hash the chunks one by one and still get the same result.
2015-10-05siphash24: expose the internal helper functionsTom Gundersen
2015-10-05siphash24: make siphash24_compress decomposableTom Gundersen
This allows the input to siphash24_compress to be decomposed into smaller chunks and the function to be called on each individual chunk.
2015-10-05siphash24: move last compression iteration from compression step to ↵Tom Gundersen
finalization step The last compression is special as it deals with the length byte, and padding. Move it to the finalization step in preparation for making compression decomposable.
2015-10-05siphash24: split out the compression stepTom Gundersen
2015-10-05siphash24: split out the finalization stepTom Gundersen
2015-10-05siphash24: introduce state structTom Gundersen
Encapsulate the four state variables in a struct so we can more easily pass them around.
2015-10-05test: siphash24 - add regression testTom Gundersen
2015-10-05Merge pull request #1461 from Danielmachon/patch-1Daniel Mack
Update NEWS
2015-10-05Update NEWSDaniel Machon
Fixed spelling error: seriban -> serbian
2015-10-05NEWS updateDaniel Mack
2015-10-04Merge pull request #1457 from martinpitt/masterKay Sievers
keymap: Add Thinkpad Yoga 12 (2015)
2015-10-04Merge pull request #1454 from kostich/masterLennart Poettering
po, catalog: added Serbian translation.
2015-10-04keymap: Add Thinkpad Yoga 12 (2015)Martin Pitt
Fixes #1440
2015-10-03po, catalog: added Serbian translation.Марко М. Костић (Marko M. Kostić)
2015-10-03Merge pull request #1450 from evverx/man-journal-fieldsLennart Poettering
man: systemd.journal-fields: add info about _TRANSPORT=audit
2015-10-03man: systemd.journal-fields: add info about _TRANSPORT=auditEvgeny Vereshchagin
2015-10-01Merge pull request #1439 from poettering/CODING_STYLEDaniel Mack
Coding style
2015-10-01logind: remove warn_melody() logicLennart Poettering
The internal speaker is usually not available on modern latops that support suspend, and even if it is available in the hardware, most distributions turned support for it off in the kernel. And even if it is enabled, it's probably still a bad idea to make use of it for the suspend-failures. If anything a proper sound should be played. Long story short, let's remove support of this anachronism.
2015-10-01update CODING_STYLE with various additionsLennart Poettering
2015-10-01Merge pull request #1428 from franciozzy/tagenhanceKay Sievers
Enhance matching of TAG keys
2015-10-01Merge pull request #1438 from poettering/rfkill-reworkDaniel Mack
An rfkill rework among other things
2015-10-01Merge pull request #1430 from evverx/driver-syslogLennart Poettering
journald: add syslog fields for driver messages
2015-10-01update NEWSLennart Poettering
2015-10-01rfkill: rework and make it listen on /dev/rfkillLennart Poettering
With this rework we introduce systemd-rfkill.service as singleton that is activated via systemd-rfkill.socket that listens on /dev/rfkill. That way, we get notified each time a new rfkill device shows up or changes state, in which case we restore and save its current setting to disk. This is nicer than the previous logic, as this means we save/restore state even of rfkill devices that are around only intermittently, and save/restore the state even if the system is shutdown abruptly instead of cleanly. This implements what I suggested in #1019 and obsoletes it.
2015-10-01core: add new setting Writable= to ListenSpecial= socket unitsLennart Poettering
Writable= is a new boolean setting. If ture, then ListenSpecial= will open the specified path in O_RDWR mode, rather than just O_RDONLY. This is useful for implementing services like rfkill, where /dev/rfkill is more useful when opened in write mode, if we want to not only save but also restore its state.
2015-10-01systemctl: fix how we decode types and statesLennart Poettering
There was a bad memory access among other smaller issues.
2015-10-01man: minor wording improvements to USB FunctionFS documentationLennart Poettering
2015-10-01fix typo in NEWSDaniel Mack
2015-10-01Merge pull request #1434 from reverendhomer/patch-1Daniel Mack
systemctl: fix memory leak in systemctl_parse_argv
2015-10-01Merge pull request #1433 from michich/log-errnoDaniel Mack
tree-wide: add missing errno arguments to log_*_errno()
2015-10-01udev: fix format string after conversion to log_*_errno()Michal Schmidt
Use %m where previously %s was used together with strerrno(). Fixes: e53fc357a9b "tree-wide: remove a number of invocations of strerror() and replace by %m"
2015-10-01sd-device: fix format strings after conversion to log_*_errno()Michal Schmidt
Use %m where previously %s was used together with strerrno(). Fixes: e53fc357a9b "tree-wide: remove a number of invocations of strerror() and replace by %m"
2015-10-01systemctl: fix memory leak in systemctl_parse_argvreverendhomer
This commit fixes Coverity #1325228
2015-10-01tree-wide: add missing errno arguments to log_*_errno()Michal Schmidt
A few of the recent conversions to log_*_errno() were missing the errno value arguments. Fixes: e53fc357a9b "tree-wide: remove a number of invocations of strerror() and replace by %m"
2015-10-01Merge pull request #1429 from poettering/dhcp-hostnameDaniel Mack
DHCP and journal remoting fix, as well as NEWS update
2015-10-01Merge pull request #1427 from dbuch/masterDaniel Mack
sd-pppoe: use strna() instead of strempty()
2015-10-01Merge pull request #1426 from poettering/log-syntaxDaniel Mack
logging fixes and more
2015-10-01journald: add syslog fields for driver messagesEvgeny Vereshchagin
2015-09-30journal: make sure to set MHD_USE_PIPE_FOR_SHUTDOWN for libmicrohttpd serversLennart Poettering
This makes sure libmicrohttpd won't call shutdown() on our listening sockets, which make sure socket activation and re-activation will work cleanly. See: https://github.com/systemd/systemd/pull/1286 https://lists.gnu.org/archive/html/libmicrohttpd/2015-09/msg00014.html Fixes #1286
2015-09-30dhcp: make sure we can deal with a single trailing NUL byte in the hostnameLennart Poettering
Fixes #1337
2015-09-30update NEWSLennart Poettering
2015-09-30sd-pppoe: use strna() instead of strempty()Daniel Buch
In cases where we use for instance. log_debug() with a statement + string it is better to output (Service-name: N/A) instead of (Service-name: )
2015-09-30Support OP_NOMATCH for TAG keyFelipe Franciosi
The TAG key can be used in rules for event matching. At the moment, it does not support inequality tests. This patch enhances the key test to validate the rule if it does not contain a given TAG (by TAG!="value"). Signed-off-by: Felipe Franciosi <felipe@paradoxo.org>
2015-09-30Merge pull request #1425 from kaysievers/wipLennart Poettering
gpt-auto-generator: check fstab for /boot entries
2015-09-30Merge pull request #1422 from keszybz/sd-daemon-mq-badfLennart Poettering
sd-daemon: fix return value for sd_is_mq
2015-09-30Merge pull request #1419 from keszybz/shell-completionLennart Poettering
Shell completion tweaks
2015-09-30core: make sure we expose the empty string when we detect no virtualizationLennart Poettering
On the bus, stick to exposing the empty string as "no virtualization", instead of none. Fixes #1423
2015-09-30tree-wide: remove a number of invocations of strerror() and replace by %mLennart Poettering
Let's clean up our tree a bit, and reduce invocations of the thread-unsafe strerror() by replacing it with printf()'s %m specifier.