summaryrefslogtreecommitdiff
path: root/src/libsystemd
AgeCommit message (Collapse)Author
2016-08-02./fixup.shLuke Shumaker
2016-08-02fixLuke Shumaker
2016-08-01find src \( -name '*.h' -o -name '*.c' \) -type f -exec ./fixup_includes {} \;Luke Shumaker
2016-07-30stuffLuke Shumaker
2016-07-28headerssssLuke Shumaker
2016-07-28Begone with sd-utf8 and sd-pathLuke Shumaker
2016-07-28tidy headersLuke Shumaker
2016-07-28fixLuke Shumaker
2016-07-27fixLuke Shumaker
2016-07-27Merge branch 'lukeshu/postmove' into lukeshu/masterLuke Shumaker
# Conflicts: # src/libsystemd/src/sd-journal/Makefile
2016-07-27./move.shLuke Shumaker
2016-07-27Merge branch 'lukeshu/postmove' into lukeshu/masterLuke Shumaker
# Conflicts: # src/libshared/Makefile # src/libsystemd/src/Makefile # src/libsystemd/src/sd-journal/Makefile
2016-07-27./move.shLuke Shumaker
2016-07-27fix (mostly adjust #includes to have sd- prefix)Luke Shumaker
2016-07-27Merge branch 'lukeshu/postmove' into lukeshu/masterLuke Shumaker
# Conflicts: # src/libsystemd/src/Makefile
2016-07-27pre-mergeLuke Shumaker
2016-07-27./move.shLuke Shumaker
2016-07-27get `make install` mostly workingLuke Shumaker
2016-07-25Merge pull request #3728 from poettering/dynamic-usersZbigniew Jędrzejewski-Szmek
2016-07-25sd-id128: be more liberal when reading files with 128bit IDsLennart Poettering
Accept both files with and without trailing newlines. Apparently some rkt releases generated them incorrectly, missing the trailing newlines, and we shouldn't break that.
2016-07-22core: add a concept of "dynamic" user ids, that are allocated as long as a ↵Lennart Poettering
service is running This adds a new boolean setting DynamicUser= to service files. If set, a new user will be allocated dynamically when the unit is started, and released when it is stopped. The user ID is allocated from the range 61184..65519. The user will not be added to /etc/passwd (but an NSS module to be added later should make it show up in getent passwd). For now, care should be taken that the service writes no files to disk, since this might result in files owned by UIDs that might get assigned dynamically to a different service later on. Later patches will tighten sandboxing in order to ensure that this cannot happen, except for a few selected directories. A simple way to test this is: systemd-run -p DynamicUser=1 /bin/sleep 99999
2016-07-22sd-id128: handle NULL return parameter in sd_id128_from_string() nicerLennart Poettering
If the return parameter is NULL, simply validate the string, and return no error.
2016-07-22machine-id-setup: port machine_id_commit() to new id128-util.c APIsLennart Poettering
2016-07-22sd-id128: split UUID file read/write code into new id128-util.[ch]Lennart Poettering
We currently have code to read and write files containing UUIDs at various places. Unify this in id128-util.[ch], and move some other stuff there too. The new files are located in src/libsystemd/sd-id128/ (instead of src/shared/), because they are actually the backend of sd_id128_get_machine() and sd_id128_get_boot(). In follow-up patches we can use this reduce the code in nspawn and machine-id-setup by adopted the common implementation.
2016-07-22tree-wide: use sd_id128_is_null() instead of sd_id128_equal where appropriateLennart Poettering
It's a bit easier to read because shorter. Also, most likely a tiny bit faster.
2016-07-12Various fixes for typos found by lintian (#3705)Michael Biebl
2016-07-11treewide: fix typos and remove accidental repetition of wordsTorstein Husebø
2016-07-02sd-resolve: use close_many() (#3643)0xAX
2016-06-30sd-event: expose the event loop iteration counter via ↵Lennart Poettering
sd_event_get_iteration() (#3631) This extends the existing event loop iteration counter to 64bit, and exposes it via a new function sd_event_get_iteration(). This is helpful for cases like issue #3612. After all, since we maintain the counter anyway, we might as well expose it. (This also fixes an unrelated issue in the man page for sd_event_wait() where micro and milliseconds got mixed up)
2016-06-30Merge pull request #3608 from teg/sd-device-driver-idLennart Poettering
sd-device: handle the 'drivers' pseudo-subsystem correctly
2016-06-29sd-bus: Fix a read after free error in bus-match. (#3624) (#3625)Weng Xuetian
The loop on bus_match_run should break and return immediately if bus->match_callbacks_modified is true. Otherwise the loop may access free'd data.
2016-06-27sd-device: new_from_subsystem_sysnam - support a real subsystem called 'drivers'Tom Gundersen
We support writing out tags and db files in case a real subsystem called 'drivers' exists, so there is no reason to refuse parsing it.
2016-06-27sd-device: device_id - set correctly for 'drivers'Tom Gundersen
The 'drivers' pseudo-subsystem needs special treatment. These pseudo-devices are found under /sys/bus/drivers/, so needs the real subsystem encoded in the device_id in order to be resolved. The reader side already assumed this to be the case.
2016-06-26sd-device: enumerator - do not abort enumeration if a device failsTom Gundersen
Collect the errors and return to the caller, but continue enumerating all devices.
2016-06-16systemctl: make sure we terminate the bus connection first, and then close ↵Lennart Poettering
the pager (#3550) If "systemctl -H" is used, let's make sure we first terminate the bus connection, and only then close the pager. If done in this order ssh will get an EOF on stdin (as we speak D-Bus through ssh's stdin/stdout), and then terminate. This makes sure the standard error we were invoked on is released by ssh, and only that makes sure we don't deadlock on the pager which waits for all clients closing its input pipe. (Similar fixes for the various other xyzctl tools that support both pagers and -H) Fixes: #3543
2016-06-16networkd: added support for vrf interfaces (#3316)Andreas Rammhold
2016-06-15tree-wide: htonl() is weird, let's use htobe32() instead (#3538)Lennart Poettering
Super-important change, yeah!
2016-06-12fLuke Shumaker
2016-06-12fixityLuke Shumaker
2016-06-12fixityLuke Shumaker
2016-06-12Merge branch 'lukeshu/postmove' into 'lukeshu/master'Luke Shumaker
2016-06-09./move.shLuke Shumaker
2016-06-09stuffLuke Shumaker
2016-06-08Merge pull request #3431 from poettering/network-fixesTom Gundersen
put limits on addresses and routers per link and per network
2016-06-07Merge pull request #3394 from poettering/triple-tstampLennart Poettering
timestamping improvements and IPv6 RA revamp
2016-06-07sd-netlink: fix deep recursion in message destruction (#3455)David Herrmann
On larger systems we might very well see messages with thousands of parts. When we free them, we must avoid recursing into each part, otherwise we very likely get stack overflows. Fix sd_netlink_message_unref() to use an iterative approach rather than recursion (also avoid tail-recursion in case it is not optimized by the compiler).
2016-06-07Merge branch 'lukeshu/postmove' into lukeshu/masterLuke Shumaker
2016-06-07./move.shLuke Shumaker
2016-06-07Merge branch 'lukeshu/postmove' into lukeshu/masterLuke Shumaker
# Conflicts: # src/Makefile # src/grp-boot/Makefile # src/grp-coredump/Makefile # src/grp-machine/Makefile # src/libsystemd/libsystemd-internal/subdir.mk # src/libudev/Makefile
2016-06-07./move.shLuke Shumaker