Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-27 | util-lib: move /proc/cmdline parsing code to proc-cmdline.[ch] | Lennart Poettering | |
2015-10-27 | util-lib: move is_main_thread() to process-util.[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 status printing stuff into src/core/ | Lennart Poettering | |
It's very specific to the core, and not used elsewhere, hence move it out of terminal-util.[ch]. | |||
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: move string_is_safe() to string-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-lib: move take_password_lock() to user-util.[ch] | Lennart Poettering | |
Also, rename it take_etc_passwd_lock(), in order to make it more expressive. | |||
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-27 | resolved: port to extract_first_word | Susant Sahani | |
2015-10-27 | timesysnd: port to extract_first_word | Susant Sahani | |
2015-10-26 | path-util: do not return NULL as int | Thomas Hindoe Paaboel Andersen | |
strv_split will only return NULL on oom so we should return -ENOMEM instead. Looks like an oversight from the changes in 0f474365 | |||
2015-10-26 | Merge pull request #1679 from evverx/refuse-manual-start-by-reload-or-restart | Lennart Poettering | |
core: don't allow manual start with reload-or-restart too | |||
2015-10-26 | unmount: Pass in mount options when remounting read-only | Jan Janssen | |
man 2 mount says that the mountflags and data parameteres should match the original values except for the desired changes. We only bother with the mount options since the only flags we can change are MS_RDONLY, MS_SYNCHRONOUS and MS_MANDLOCK; which shouldn't matter too much. Fixes: #351 | |||
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 | journal: add missing include | Tom Gundersen | |
2015-10-26 | Merge pull request #1681 from ssahani/journal | Lennart Poettering | |
journald-server: port to extract_first_word | |||
2015-10-26 | journald-server: port to extract_first_word | Susant Sahani | |
2015-10-26 | core: don't allow manual start with reload-or-restart too | Evgeny Vereshchagin | |
fix bug: systemctl reload-or-restart starts a service with RefuseManualStart=yes | |||
2015-10-26 | process-util: move more process related calls to process-util.[ch] | Lennart Poettering | |
2015-10-26 | socket-util: move remaining socket-related calls from util.[ch] to ↵ | Lennart Poettering | |
socket-util.[ch] | |||
2015-10-26 | build-sys: add missing makefile symlink | Lennart Poettering | |
2015-10-26 | util-lib: move ether_addr_to_string() into ether-addr-util.c | Lennart Poettering | |
2015-10-26 | path-util: minor coding style fix | Lennart Poettering | |
We usually avoid relying on C's degrade-to-boolean functionality when comparing numerical variables with 0. We use it only for pointers and actual booleans. | |||
2015-10-26 | core: rename SmackFileSystemRoot= to SmackFileSystemRootLabel= | Lennart Poettering | |
That way it's in sync with the other SMACK label settings. https://github.com/systemd/systemd/pull/1664#issuecomment-150891270 | |||
2015-10-26 | user-util: never hand out or accept invalid UIDs | Lennart Poettering | |
libc isn't that strict, but it's a good idea if we are, to not create confusion around invalid user ids. | |||
2015-10-26 | util: remove lookup_uid(), replace by uid_to_name() | Lennart Poettering | |
So far we had two pretty much identical calls in user-util.[ch]: lookup_uid() and uid_to_name(). Get rid of the former, in favour of the latter, and while we are at it, rewrite it, to use getpwuid_r() correctly, inside an allocation loop, as POSIX intended. | |||
2015-10-26 | user-util: simplify uid parsing a bit | Lennart Poettering | |
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-26 | Merge pull request #1674 from evverx/run-fix-couldnot-find-executable | Lennart Poettering | |
run: fix "couldn't find executable" for the existing executables | |||
2015-10-25 | run: fix "couldn't find executable" for the existing executables | Evgeny Vereshchagin | |
Fixes: #1672 | |||
2015-10-25 | test: "today UTC" is not always "today UTC" | Hristo Venev | |
On Oct 25 2015 in EET/EEST there is a UTC+3->UTC+2 transition. This means that the representation of "today UTC" as local time is ambiguous. | |||
2015-10-25 | basic: use the return value of endswith | Hristo Venev | |
It returns the position where the suffix begins, which can be used for strndup to extract the prefix without calling strlen. | |||
2015-10-25 | Merge pull request #1668 from ssahani/net1 | Tom Gundersen | |
networkd: fix asserts | |||
2015-10-25 | Merge pull request #1654 from poettering/util-lib | Tom Gundersen | |
Various changes to src/basic/ |