Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | Merge pull request #1675 from evverx/run-protect-home | Lennart Poettering | |
systemd-run can launch units with ProtectHome | |||
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 | shell-completion: systemd-run: add the property ProtectHome | Evgeny Vereshchagin | |
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 | Merge pull request #1673 from mustrumr/date-fixes | Lennart Poettering | |
Date fixes | |||
2015-10-25 | run: fix "couldn't find executable" for the existing executables | Evgeny Vereshchagin | |
Fixes: #1672 | |||
2015-10-25 | man: fix systemd.time RAS syndrome and line length | Hristo Venev | |
"UTC time" is a RAP phrase (redundant acronym phrase phrase). | |||
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 #1671 from keszybz/zsh-journalctl-identifier | Ronny Chevalier | |
zsh-completion: journalctl --identifier | |||
2015-10-25 | zsh-completion: journalctl --identifier | Zbigniew Jędrzejewski-Szmek | |
Fixes #1549. | |||
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/ | |||
2015-10-25 | Merge pull request #1667 from evverx/run-protect-system | Lennart Poettering | |
systemd-run can launch units with ProtectSystem | |||
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-25 | Merge pull request #1663 from poettering/journal-compress-fix | Zbigniew Jędrzejewski-Szmek | |
journal: fix error handling when compressing journal objects | |||
2015-10-25 | vxlan: fix assert | Susant Sahani | |
2015-10-25 | veth: fix assert | Susant Sahani | |
2015-10-25 | ipvlan: fix assert | Susant Sahani | |
2015-10-25 | bond: fix assert | Susant Sahani | |
2015-10-25 | vlan: fix assert | Susant Sahani | |
2015-10-24 | shell-completion: systemd-run: add the property ProtectSystem | Evgeny Vereshchagin | |
2015-10-24 | run: can launch units with ProtectSystem | Evgeny Vereshchagin | |
2015-10-24 | Merge pull request #1665 from evverx/unit-printf-fixes | Lennart Poettering | |
core: various small fixes to unit-printf | |||
2015-10-24 | sd-*.h: clean up exported (or to-be-exported) header files | Lennart Poettering | |
Exported header files should not include internal headers. Fix that. Exported header files should not use the bool type. So far we opted to stick to C89 for exported headers, and hence use "int" for bools in them. Continue to do so. Exported header files should have #include lines for everything they use including inttypes.h and sys/types.h, so that they may be included in any order. Exported header files should have C++ guards, hence add them. Exported header files should not use gcc extensions like #pragma once, get rid of it. | |||
2015-10-24 | util: move logind_running() to login-util.[ch] | Lennart Poettering | |
2015-10-24 | core: various small fixes to unit-printf | Evgeny Vereshchagin | |
* check memory allocation errors in specifier_cgroup_slice * %I doesn't fail for non-instantiated units (%i doesn't fail too) * EOPNOTSUPP for consistency | |||
2015-10-24 | man: let's enclose * in shell examples in '' | Lennart Poettering | |
Technically, it's safer that way, since dnf is supposed to parse the "*", not the shell. It doesn't really matter too much in real life (as the expression is too complex), but let's better be safe than sorry, and make sure people won't file bugs about this... | |||
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-lib: rework extract_first_word_and_warn() a bit | Lennart Poettering | |
- Really warn in all error cases, not just some. We need to make sure that all errors are logged to not confuse the user. - Explicitly check for EINVAL error code before claiming anything about invalid escapes, could be ENOMEM after all. | |||
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 | path-util: unify how we process paths specified on the command line | Lennart Poettering | |
Let's introduce a common function that makes relative paths absolute and warns about any errors while doing so. | |||
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. |