summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* man: fix indentation of copyright headersZbigniew Jędrzejewski-Szmek2015-03-13
|
* man: no paren in linkZbigniew Jędrzejewski-Szmek2015-03-13
|
* man: fix name of systemd.journal-fields(7)Zbigniew Jędrzejewski-Szmek2015-03-13
|
* man: fix link to strerror(3)Zbigniew Jędrzejewski-Szmek2015-03-13
|
* man: s/sd_bus_message_get_seqno/sd_bus_message_get_seqnum/Zbigniew Jędrzejewski-Szmek2015-03-13
|
* man: fix name of systemd.resource-control(5)Zbigniew Jędrzejewski-Szmek2015-03-13
|
* man: link to fd.o for dbus stuffZbigniew Jędrzejewski-Szmek2015-03-13
|
* man: link to freebsd.org for inetd(8)Zbigniew Jędrzejewski-Szmek2015-03-13
|
* man: fix a bunch of linksZbigniew Jędrzejewski-Szmek2015-03-13
| | | | All hail linkchecker!
* sd-daemon: simplify sd_pid_notify_with_fdsZbigniew Jędrzejewski-Szmek2015-03-13
| | | | | | | | Coverity was complaining that CMSG_NXTHDR is used without checking the return value. In this case it cannot fail, but it is a good excuse to simplify the function a bit. CID #1261726.
* udev: properly calculate size of remaining dataZbigniew Jędrzejewski-Szmek2015-03-13
| | | | | | | The data comes from the kernel, so chances of it being garbled are low, but for correctness' sake, add the check. CID #996458.
* test-dhcp-option: conform to usual coding styleZbigniew Jędrzejewski-Szmek2015-03-13
|
* test-dhcp-option: add assert to check index is nonnegativeZbigniew Jędrzejewski-Szmek2015-03-13
| | | | CID #1237623.
* core: check asprintf return valueZbigniew Jędrzejewski-Szmek2015-03-13
| | | | CID #1261729.
* core: print warning on invalid swap pri= fieldZbigniew Jędrzejewski-Szmek2015-03-13
| | | | CID #1264371.
* core: one more (void)Zbigniew Jędrzejewski-Szmek2015-03-13
| | | | CID #996308.
* logind: explicitly ignore errors we can do nothing aboutZbigniew Jędrzejewski-Szmek2015-03-13
| | | | CID #1237545.
* bus: explicitly ignore failure during error handlingZbigniew Jędrzejewski-Szmek2015-03-13
| | | | CID #1237548.
* core: explicitly ignore failure during cleanupZbigniew Jędrzejewski-Szmek2015-03-13
| | | | CID #1237550.
* core: don't wait for reply if writing to pipe failsZbigniew Jędrzejewski-Szmek2015-03-13
| | | | | | | This shouldn't really happen, but it's seems cleaner to continue on error. CID #1237552.
* core: either ignore or handle mount failuresZbigniew Jędrzejewski-Szmek2015-03-13
| | | | | | | | /dev/pts/ptmx is as important as /dev/pts, so error out if that fails. Others seem less important, since the namespace is usable without them, so ignore failures. CID #123755, #123754.
* Use space after a silencing (void)Zbigniew Jędrzejewski-Szmek2015-03-13
| | | | | We were using a space more often than not, and this way is codified in CODING_STYLE.
* core: ignore any issues with setting time on jobs_in_progress_event_sourceZbigniew Jędrzejewski-Szmek2015-03-13
| | | | CID #1237559.
* sd-resolve: use different element of union to make code more readableZbigniew Jędrzejewski-Szmek2015-03-13
| | | | | | They both point to the same location, but the reader is not forced to look back to the beginning of the function to see that.
* journal-remote: explain why source->buf cannot be nullZbigniew Jędrzejewski-Szmek2015-03-13
| | | | In reference to CID #1238956.
* Check that EWOULDBLOCK is the same as EAGAINZbigniew Jędrzejewski-Szmek2015-03-13
| | | | | | It certainly is everywhere on Linux, but as a courtesy to people doing some strange cross-compilation, check that the assumption holds.
* journal-remote: make process_data staticZbigniew Jędrzejewski-Szmek2015-03-13
|
* nspawn: tell coverity that we ignore return valueZbigniew Jędrzejewski-Szmek2015-03-13
| | | | CID #1271353.
* gpt-auto-generator: allow type check to failZbigniew Jędrzejewski-Szmek2015-03-13
| | | | | add_mount() is OK with unknow file type, but we have to initalize the variable to NULL not to pass garbage on error.
* efi: widen operand to avoid overflowZbigniew Jędrzejewski-Szmek2015-03-13
| | | | CID #1287141.
* core: issue error on oom we can do nothing aboutZbigniew Jędrzejewski-Szmek2015-03-13
| | | | CID #1287142.
* µhttp-util: setup gnutls logs in one functionZbigniew Jędrzejewski-Szmek2015-03-13
|
* udev: make set_usec_initialized() internal to libudevTom Gundersen2015-03-13
| | | | | Instead introduce ensure_usec_initialized(), which copies the timestamp if possible otherwise sets it to now(CLOCK_MONOTONIC).
* sd-rtnl: read_message - don't set group if not neededTom Gundersen2015-03-13
|
* sd-rtnl: process - only apply matches to broadcast messagesTom Gundersen2015-03-13
|
* sd-rtnl: improve detection of broadcast messagesTom Gundersen2015-03-13
| | | | | | Do not rely on nl_pid == 0, but check the groups instead. We currently avoid using nl_pid == 0 for unicast anyway, so this should be redundant, but let's try to be correct.
* sd-rtnl: never set serial to 0Tom Gundersen2015-03-13
| | | | | | | In the unlikely event that we wrap the counter, skip 0 as this is used for broadcasts. Suggested by Richard Maw.
* tree-wide: there is no ENOTSUP on linuxDavid Herrmann2015-03-13
| | | | Replace ENOTSUP by EOPNOTSUPP as this is what linux actually uses.
* bus: stop using EDEADLOCKDavid Herrmann2015-03-13
| | | | | | | The error code is called EDEADLK, stop using legacy names like EDEADLOCK. Note that _some_ weird architectures define them differently (namely, mips and sparc), but on all sane architectures they're exactly the same. So stay with the widely used code, which is EDEADLK.
* journal-remote: stop using EWOULDBLOCKDavid Herrmann2015-03-13
| | | | | There is no reason to ever use EWOULDBLOCK. It's equivalent to EAGAIN on all architectures on linux.
* udev: dont use EWOULDBLOCKDavid Herrmann2015-03-13
| | | | EWOULDBLOCK is the same as EAGAIN, stop using it.
* gpt-auto-generator: fix detection of /srvMathieu Chevrier2015-03-13
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=89226
* man: update example 2 in systemd.network(5)Zbigniew Jędrzejewski-Szmek2015-03-13
| | | | | | none/both/v4/v6 are deprecated in favour of no/yes/ipv4/ipv6. https://bugs.freedesktop.org/show_bug.cgi?id=89221
* po: add Spanish translationAlex Puchades2015-03-13
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=89559
* sd-event: fix typoZbigniew Jędrzejewski-Szmek2015-03-13
|
* journal-remote: process events without delayZbigniew Jędrzejewski-Szmek2015-03-13
| | | | | | | | | | | | | | | | | | journal-remote buffers input, and then parses it handling one journal entry at a time. It was possible for useful data to be left in the buffer after some entries were processesed. But all data would be already read from the fd, so there would be no reason for the event loop to call the handler again. After some new data came in, the handler would be called again, and would then process the "old" data in the buffer. Fix this by enabling a handler wherever we process input data and do not exhaust data from the input buffer (i.e. when EAGAIN was not encountered). The handler runs until we encounter EAGAIN. Looping over the input data is done in this roundabout way to allow the event loop to dispatch other events in the meanwhile. If the loop was inside the handler, a source which produced data fast enough could completely monopolize the process. https://bugs.freedesktop.org/show_bug.cgi?id=89516
* journal-remote: check also for EWOULDBLOCKZbigniew Jędrzejewski-Szmek2015-03-13
| | | | This matches similar code elsewhere.
* journal-remote: downgrade routine messages to debugZbigniew Jędrzejewski-Szmek2015-03-13
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=89486
* sd-pppoe: workaround for incomplete include in old kernelsZbigniew Jędrzejewski-Szmek2015-03-12
|
* networkd: Begin with serial number 1 for netlink requestsRichard Maw2015-03-12
| | | | | | | | | | | | | | | | | | | | | "Notifications are of informal nature and no reply is expected, therefore the sequence number is typically set to 0."[1] If networkd is started soon after recent netlink activity, then there will be messages with sequence number 0 in the buffer. The first thing networkd does is to request a dump of all the links. If it uses sequence number 0 for this, then it may confuse the dump request's response with that of a notification. This will result in it failing to properly enumerate all the links, but more importantly, when it comes to enumerate all the addresses, it will still have the link dump in progress, so the address enumeration will fail with -EBUSY. [1]: http://www.infradead.org/~tgr/libnl/doc/core.html#core_msg_types [tomegun: sequence -> serial]