summaryrefslogtreecommitdiff
path: root/src/libsystemd
AgeCommit message (Collapse)Author
2016-10-21wipLuke Shumaker
2016-09-15Merge branch 'notsystemd/postmove' into notsystemd/masterLuke Shumaker
# Conflicts: # build-aux/Makefile.each.tail/50-sd.mk # build-aux/Makefile.each.tail/70-man.mk # src/grp-resolve/libbasic-dns/Makefile # src/grp-system/libcore/Makefile # tools/notsd-move
2016-09-15./tools/notsd-moveLuke Shumaker
2016-09-14Merge branch 'notsystemd/postmove' into notsystemd/masterLuke Shumaker
# Conflicts: # src/grp-journal/systemd-journald/Makefile # src/grp-login/systemd-logind/Makefile # src/grp-machine/grp-import/systemd-export/Makefile # src/grp-machine/grp-import/systemd-import/Makefile # src/grp-machine/grp-import/systemd-pull/Makefile # src/grp-machine/systemd-machined/Makefile # src/grp-network/libnetworkd-core/Makefile # src/grp-resolve/libbasic-dns/Makefile # src/grp-resolve/systemd-resolved/Makefile # src/grp-utils/systemd-path/Makefile # src/libshared/src/Makefile # src/libsystemd-network/include/systemd-network/sd-ndisc.h # src/libsystemd/Makefile # src/libsystemd/src/test.mk # src/libudev/Makefile # src/systemd-dbus1-generator/Makefile # src/systemd-nspawn/nspawn.c Signed-off-by: Luke Shumaker <lukeshu@sbcglobal.net>
2016-09-13./tools/notsd-moveLuke Shumaker
2016-09-12./tools/notsd-fixup **/MakefileLuke Shumaker
2016-09-11Run the new fixup script.Luke Shumaker
The biggest change is that it keeps looking for new #include blocks. This means that it (more) correctly handles #ifdef'd #includes. I'm not 100% in love with it, but it's pretty good for automated. What I really don't like is it did some silly things with newlines in typedef blocks. I've avoided committing those. I think it may be possible to get it to do the right thing. But really, the typedef blocks are a hack for poorly structured headers. Now that it keeps looking for new #include blocks, I could strip out the typedef support, and it would mostly work; but it wouldn't be able to move some headers back to the top. IDK what to do.
2016-09-06clean up file locations a bitLuke Shumaker
2016-09-06move man pages to appropriate directoriesLuke Shumaker
2016-08-17moreLuke Shumaker
2016-08-10fix build systemLuke Shumaker
2016-08-08fixLuke Shumaker
2016-08-02ensure that include order of headers does not matterLuke Shumaker
2016-08-02fixLuke Shumaker
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-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-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