Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-27 | util-lib: move /proc/cmdline parsing code to proc-cmdline.[ch] | Lennart Poettering | |
2015-10-27 | src/basic: rename audit.[ch] → audit-util.[ch] and capability.[ch] → ↵ | Lennart Poettering | |
capability-util.[ch] The files are named too generically, so that they might conflict with the upstream project headers. Hence, let's add a "-util" suffix, to clarify that this are just our utility headers and not any official upstream headers. | |||
2015-10-27 | util-lib: split out umask-related code to umask-util.h | Lennart Poettering | |
2015-10-27 | util-lib: move more locale-related calls to locale-util.[ch] | Lennart Poettering | |
2015-10-27 | util-lib: move string table stuff into its own string-table.[ch] | Lennart Poettering | |
2015-10-27 | util-lib: split stat()/statfs()/stavfs() related calls into stat-util.[ch] | Lennart Poettering | |
2015-10-27 | util-lib: move a number of fs operations into fs-util.[ch] | Lennart Poettering | |
2015-10-27 | util-lib: split out file attribute calls to chattr-util.[ch] | Lennart Poettering | |
2015-10-27 | util-lib: split xattr-related calls into xattr-util.[ch] | Lennart Poettering | |
2015-10-27 | util-lib: introduce dirent-util.[ch] for directory entry calls | Lennart Poettering | |
Also, move a couple of more path-related functions to path-util.c. | |||
2015-10-27 | util-lib: split out resource limits related calls into rlimit-util.[ch] | Lennart Poettering | |
2015-10-27 | util: move filename_is_valid() and path_is_safe() to path-util.[ch] | Lennart Poettering | |
2015-10-27 | util-lib: move mount related utility calls to mount-util.[ch] | Lennart Poettering | |
2015-10-27 | util-lib: move fstab_node_to_udev_node() to fstab-util.[ch] | Lennart Poettering | |
2015-10-27 | util-lib: move more file I/O related calls into fileio.[ch] | Lennart Poettering | |
2015-10-27 | util: remove path_get_parent(), in favour of dirname_malloc() | Lennart Poettering | |
We don't need two functions that do essentialy the same, hence drop path_get_parent(), and stick to dirname_malloc(), but move it to path-util.[ch]. | |||
2015-10-27 | util-lib: split out hex/dec/oct encoding/decoding into its own file | Lennart Poettering | |
2015-10-27 | util-lib: split string parsing related calls from util.[ch] into parse-util.[ch] | Lennart Poettering | |
2015-10-26 | Merge pull request #1676 from poettering/util-lib-2 | Tom Gundersen | |
split up util.[ch] into more pieces, and other stuff | |||
2015-10-26 | util-lib: split out user/group/uid/gid calls into user-util.[ch] | Lennart Poettering | |
2015-10-26 | util-lib: split out IO related calls to io-util.[ch] | Lennart Poettering | |
2015-10-26 | run: can launch units with ProtectHome | Evgeny Vereshchagin | |
2015-10-25 | Merge pull request #1654 from poettering/util-lib | Tom Gundersen | |
Various changes to src/basic/ | |||
2015-10-25 | util-lib: move formats-util.h from shared/ to basic/ | Lennart Poettering | |
It's only a header file, definining format strings for basic system types, hence it should be in src/basic/, not src/shared/. | |||
2015-10-25 | util-lib: split out fd-related operations into fd-util.[ch] | Lennart Poettering | |
There are more than enough to deserve their own .c file, hence move them over. | |||
2015-10-24 | run: can launch units with ProtectSystem | Evgeny Vereshchagin | |
2015-10-24 | util-lib: split our string related calls from util.[ch] into its own file ↵ | Lennart Poettering | |
string-util.[ch] There are more than enough calls doing string manipulations to deserve its own files, hence do something about it. This patch also sorts the #include blocks of all files that needed to be updated, according to the sorting suggestions from CODING_STYLE. Since pretty much every file needs our string manipulation functions this effectively means that most files have sorted #include blocks now. Also touches a few unrelated include files. | |||
2015-10-24 | util: split out escaping code into escape.[ch] | Lennart Poettering | |
This really deserves its own file, given how much code this is now. | |||
2015-10-24 | util: split out extract_first_word() and related calls into extract-word.[ch] | Lennart Poettering | |
This is quite a lot of code these days, hence move it to its own source file. | |||
2015-10-24 | util-lib: get_current_dir_name() can return errors other than ENOMEM | Lennart Poettering | |
get_current_dir_name() can return a variety of errors, not just ENOMEM, hence don't blindly turn its errors to ENOMEM, but return correct errors in path_make_absolute_cwd(). This trickles down into a couple of other functions, some of which receive unrelated minor fixes too with this commit. | |||
2015-10-24 | path-util: rework find_binary(), fsck_exists() and mkfs_exists() | Lennart Poettering | |
Modernize the code a bit: - Get rid of FOREACH_WORD_SEPARATOR() loop in favour of a extract_first_word() loop. - Remove find_binary()'s "local" flag. It's not reasonably possible to look for binaries on remote systems, we hence should not pretend we could. - When we cannot find a suitable binary, return the last error returned from access() rather than ENOENT unconditionally. - Rework fsck_exists() and mkfs_exists() to return 1 on success, 0 if the implementation is missing and negative on real errors. This is more like we do it in other functions. - Make sure we also detect direct fsck symlinks to "true", rather than just absolute ones to /bin/true. | |||
2015-10-22 | import: when downloading images, create a subtree quota group for them | Lennart Poettering | |
2015-10-22 | btrfs: beef-up btrfs support with a limited understanding of quota | Lennart Poettering | |
With this change we understand more than just leaf quota groups for btrfs file systems. Specifically: - When we create a subvolume we can now optionally add the new subvolume to all qgroups its parent subvolume was member of too. Alternatively it is also possible to insert an intermediary quota group between the parent's qgroups and the subvolume's leaf qgroup, which is useful for a concept of "subtree" qgroups, that contain a subvolume and all its children. - The remove logic for subvolumes has been updated to optionally remove any leaf qgroups or "subtree" qgroups, following the logic above. - The snapshot logic for subvolumes has been updated to replicate the original qgroup setup of the source, if it follows the "subtree" design described above. It will not cover qgroup setups that introduce arbitrary qgroups, especially those orthogonal to the subvolume hierarchy. This also tries to be more graceful when setting up /var/lib/machines as btrfs. For example, if mkfs.btrfs is missing we don't even try to set it up as loopback device. Fixes #1559 Fixes #1129 | |||
2015-10-20 | run: can launch units with ReadWriteDirectories, ReadOnlyDirectories, ↵ | Evgeny Vereshchagin | |
InaccessibleDirectories | |||
2015-10-20 | Merge pull request #1616 from evverx/run-fix-environment-parsing | Lennart Poettering | |
run: fix Environment parsing | |||
2015-10-20 | run: fix Environment parsing | Evgeny Vereshchagin | |
* `Environment=` resets previous assignments * `Environment='a=1 b=2'` sets `a` to `1` and `b` to `2` * `Environment='"a=1 2" b=2"'` sets `a` to `1 2` and `b` to `2` | |||
2015-10-19 | strv: Add _cleanup_strv_free_erase_ and _cleanup_string_free_erase_ | Zbigniew Jędrzejewski-Szmek | |
2015-10-19 | tree-wide: whenever we deal with passwords, erase them from memory after use | Lennart Poettering | |
A bit snake-oilish, but can't hurt. | |||
2015-10-19 | Hook more properties for transient units | Nicolas Cornu | |
systemd-run can now launch units with EnvironmentFile set. | |||
2015-10-17 | run: can launch units with OOMScoreAdjust | Evgeny Vereshchagin | |
2015-10-15 | run: can launch units with TimerSlackNSec | Evgeny Vereshchagin | |
2015-10-14 | systemd-run: can launch units with SyslogFacility | Evgeny Vereshchagin | |
2015-10-14 | systemd-run: can launch units with SyslogLevel | Evgeny Vereshchagin | |
2015-10-13 | bus-util: change `Default`-chopping to `Limit`-searching | Evgeny Vereshchagin | |
See https://github.com/systemd/systemd/pull/1534#commitcomment-13744013 Actually, thinking about this, maybe it would be nicer to actually look for "Limit" in the string rather than chopping off a "Default".... Sounds more generic... | |||
2015-10-13 | Merge pull request #1534 from evverx/expose-rlimits-on-dbus | Lennart Poettering | |
Expose `DefaultLimit*` as properties on dbus | |||
2015-10-12 | core: manager: expose DefaultLimit* as properties on dbus | Evgeny Vereshchagin | |
2015-10-12 | bus-util: add bus_property_get_rlimit (move from core/dbus_execute) | Evgeny Vereshchagin | |
2015-10-11 | shared: remove an unused variable | Thomas Hindoe Paaboel Andersen | |
2015-10-09 | systemd-run can now launch units with SyslogIdentifier | Evgeny Vereshchagin | |
2015-10-09 | systemd-run can now launch units with SyslogLevelPrefix | Evgeny Vereshchagin | |