Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-02-20 | api: in constructor function calls, always put the returned object pointer ↵ | Lennart Poettering | |
first (or second) Previously the returned object of constructor functions where sometimes returned as last, sometimes as first and sometimes as second parameter. Let's clean this up a bit. Here are the new rules: 1. The object the new object is derived from is put first, if there is any 2. The object we are creating will be returned in the next arguments 3. This is followed by any additional arguments Rationale: For functions that operate on an object we always put that object first. Constructors should probably not be too different in this regard. Also, if the additional parameters might want to use varargs which suggests to put them last. Note that this new scheme only applies to constructor functions, not to all other functions. We do give a lot of freedom for those. Note that this commit only changes the order of the new functions we added, for old ones we accept the wrong order and leave it like that. | |||
2014-02-20 | sd-bus: the bus returned should be the first arg | Jason A. Donenfeld | |
This matches the API of previous headers, such as sd-journal.h. | |||
2014-02-19 | udev: net-config - allow interface names to be set from the hwdb | Tom Gundersen | |
2014-02-19 | build-sys: install experimental man pages only with --enable-kdbus | Kay Sievers | |
2014-02-19 | build-sys: bump release in preparation for release | Lennart Poettering | |
2014-02-19 | build-sys: enable compat-libs for distcheck | Kay Sievers | |
2014-02-19 | build-sys: export experimental symbols only with --enable-kdbus | Kay Sievers | |
2014-02-19 | bus: fix unreffing logic | Lennart Poettering | |
2014-02-19 | sd-dhcp-client: fix mixup between raw and udp sockets | Tom Gundersen | |
2014-02-19 | build-sys: add gcrypt CFLAGS | Kay Sievers | |
2014-02-19 | man: fix references to .pc files which aren't separate anymore | Lennart Poettering | |
2014-02-19 | sd-damon is LGPL now | Kay Sievers | |
2014-02-19 | update TODO | Lennart Poettering | |
2014-02-19 | man: don't advertise sd-daemon as embeddable anymore | Lennart Poettering | |
It's now part of libsystemd, and should be used like any other API. | |||
2014-02-19 | build-sys: merge libsystemd-journal into libsystemd | Kay Sievers | |
2014-02-19 | busctl: install bash completion | Thomas Hindoe Paaboel Andersen | |
2014-02-19 | tmpfiles: simplification | Lennart Poettering | |
2014-02-19 | util: simplify get_ctty() | Lennart Poettering | |
2014-02-19 | timedatectl: fix minor memory leak | Lennart Poettering | |
2014-02-19 | udev: make sure we always return a valid error code in trie_store() | Lennart Poettering | |
2014-02-19 | sd-id128: use new dev_urandom() call | Lennart Poettering | |
2014-02-19 | journal: don't clobber return parameters of ↵ | Lennart Poettering | |
sd_journal_get_cutoff_realtime_usec() on failure | |||
2014-02-19 | execute: modernizations | Lennart Poettering | |
2014-02-19 | make gcc shut up | Lennart Poettering | |
If -flto is used then gcc will generate a lot more warnings than before, among them a number of use-without-initialization warnings. Most of them without are false positives, but let's make them go away, because it doesn't really matter. | |||
2014-02-19 | NEWS: Mention the new Personality= switch in unit files | Lennart Poettering | |
2014-02-19 | busctl: add --no-legend and use in bash completion | Thomas Hindoe Paaboel Andersen | |
2014-02-19 | busctl: update bash completion | Thomas Hindoe Paaboel Andersen | |
2014-02-19 | man: busctl typo fix | Thomas Hindoe Paaboel Andersen | |
2014-02-19 | sd-rtnl: test - include missing.h to build on old kernels | Tom Gundersen | |
2014-02-19 | networkd: dhcp - log when lease is lost | Tom Gundersen | |
2014-02-19 | networkd: link - only reset transient hostname if it was set by us | Tom Gundersen | |
2014-02-19 | systemctl: remove erroneous return in runlevel_parse_argv() | Maciej Wereski | |
2014-02-19 | logind: remove redundant check in manager_new() | Maciej Wereski | |
2014-02-19 | update TODO | Lennart Poettering | |
2014-02-19 | label: minor optimizations | Lennart Poettering | |
2014-02-19 | missing.h: add some IFLA_* constants | Tom Gundersen | |
These were added to the kernel between 3.5 and 3.9, let's not require such recent kernels (yet). | |||
2014-02-19 | event: fix crash on child-source state modifications | David Herrmann | |
Setting a child-source state to anything but SD_EVENT_OFF currently does nothing. The condition logic is flawed. Move the state update *below* the test for the previous state. Fixes a crash if you call: sd_event_source_set_enabled(source, SD_EVENT_ON); sd_event_source_unref(source); on a child-source in its own callback. | |||
2014-02-19 | man: document $MAINPID | Lennart Poettering | |
2014-02-19 | update TODO | Lennart Poettering | |
2014-02-19 | core: add Personality= option for units to set the personality for spawned ↵ | Lennart Poettering | |
processes | |||
2014-02-18 | build-sys: fixups for libsystemd-daemon merge | Zbigniew Jędrzejewski-Szmek | |
2014-02-19 | build-sys: install headers with --enable-kdbus | Kay Sievers | |
2014-02-19 | build-sys: merge libsystemd-daemon into libsystemd | Kay Sievers | |
2014-02-18 | test: add missing test units | Lennart Poettering | |
2014-02-18 | nspawn: add new --personality= switch to make it easier to run 32bit ↵ | Lennart Poettering | |
containers on a 64bit host | |||
2014-02-18 | delta: add bash completion | Thomas Hindoe Paaboel Andersen | |
2014-02-18 | net-match: fix Driver= match | Tom Gundersen | |
It should match on the driver of the parent device. | |||
2014-02-18 | networkd: refactor link_add() ↵ | Tom Gundersen | |
:( Don't set set **ret when returning r < 0, as matching on the errno may easily give false positives in the future leading to null pointer dereference. Reported-by: David Herrmann <dh.herrmann@gmail.com> | |||
2014-02-18 | nspawn: x86 is special with its socketcall() semantics, be permissive in the ↵ | Lennart Poettering | |
seccomp setup | |||
2014-02-18 | seccomp: add helper call to add all secondary archs to a seccomp filter | Lennart Poettering | |
And make use of it where appropriate for executing services and for nspawn. |