Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-03 | sd-pppoe: drop | Tom Gundersen | |
It is really unclear if we want to / have the resources to support this fully, so drop it for now. It can easily be brought back if a killer usecase emerges. Note that this code was never hooked up, so this does not remove any features. | |||
2015-11-02 | string-util: rework memory_erase() so that it cannot be optimized away | Lennart Poettering | |
memory_erase() so far just called memset(), which the compiler might optimize away under certain conditions if it feels there's benefit in it. C11 knows a new memset_s() call that is like memset(), but may not be optimized away. Ideally, we'd just use that call, but glibc currently does not support it. Hence, implement our own simplistic version of it. We use a GCC pragma to turn off optimization for this call, and also use the "volatile" keyword on the pointers to ensure that gcc will use the pointers as-is. According to a variety of internet sources, either one does the trick. However, there are also reports that at least the volatile thing isn't fully correct, hence let's add some snake oil and employ both techniques. https://news.ycombinator.com/item?id=4711346 | |||
2015-10-31 | test-path: move all related test files to a specific directory | Ronny Chevalier | |
To avoid polluting test/ | |||
2015-10-31 | test-execute: move all files related to a specific directory | Ronny Chevalier | |
To avoid polluting test/ | |||
2015-10-31 | build-sys: add missing test files to EXTRA_DIST | Ronny Chevalier | |
2015-10-31 | test-execute: add tests for IOSchedulingClass | Ronny Chevalier | |
2015-10-31 | test-execute: add tests for OOMScoreAdjust | Ronny Chevalier | |
2015-10-31 | test-execute: add test for EnvironmentFile | Ronny Chevalier | |
2015-10-31 | test-execute: add test for PrivateNetwork | Ronny Chevalier | |
2015-10-28 | test-parse-util: Move parse-util tests into their own test case | Filipe Brandenburger | |
Tests for the functions defined in src/basic/parse-util.c. Reorder them to match the order in which the functions are defined in the source file. Adjusted the list of include files to remove the ones no longer needed in test-util.c. Tested that `make check` still passes as expected. Also checked the number of lines removed from test-util.c matches the expected, as an additional verification that no tests were dropped or duplicated in the move. | |||
2015-10-28 | test-extract-word: Move extract-word tests into their own test case | Filipe Brandenburger | |
Tests for the functions defined in src/basic/extract-word.c. Tested that `make check` still passes as expected. | |||
2015-10-28 | l10n: add zh_CN translation. | Boyuan Yang | |
2015-10-27 | util-lib: split out allocation calls into alloc-util.[ch] | Lennart Poettering | |
2015-10-27 | util-lib: split out globbing related calls into glob-util.[ch] | Lennart Poettering | |
2015-10-27 | util-lib: split out printf() helpers to stdio-util.h | Lennart Poettering | |
2015-10-27 | util-lib: move web-related calls into web-util.[ch] | Lennart Poettering | |
2015-10-27 | util-lib: split out syslog-related calls into syslog-util.[ch] | Lennart Poettering | |
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 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-lib: move mount related utility calls to mount-util.[ch] | Lennart Poettering | |
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 | util-lib: move ether_addr_to_string() into ether-addr-util.c | Lennart Poettering | |
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 | 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-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 | 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 | units: add 'SmackFileSystemRoot=*' option into tmp.mount | Sangjung Woo | |
If SMACK is enabled, 'smackfsroot=*' option should be specified when /tmp is mounted since many non-root processes use /tmp for temporary usage. If not, /tmp is labeled as '_' and smack denial occurs when writing. In order to do that, 'SmackFileSystemRoot=*' is newly added into tmp.mount. | |||
2015-10-22 | networkd: ndisc - split out from dhcp6 code | Tom Gundersen | |
2015-10-22 | libsystemd-network: split icm6-util.[ch] out of dhcp6 code | Tom Gundersen | |
2015-10-22 | sd-icmp6-nd: rename files to sd-ndisc | Tom Gundersen | |
The actual code rename will follow. The reason for the change of name is to make it simpler and more uniform with how we name other libraries (we don't include the underlying protocol). The new name also matches the naming in the kernel (which is particularly relevent here as we expect to let the kernel do some parts of the protocol and we do others). | |||
2015-10-19 | Merge pull request #1584 from mischief/journal-remote-no-gnutls | Lennart Poettering | |
build: install journal-remote units and directory regardless of GNUTLS | |||
2015-10-18 | Revert "units: add 'smackfsroot=*' option into tmp.mount when SMACK is enabled" | Kay Sievers | |
This reverts commit 409c2a13fd65692c611b7bcaba12e908ef7cf1e5. It breaks the bootup of systems which enable smack at compile time, but have no smack enabled in the kernel. This needs a different solution. | |||
2015-10-15 | build: install journal-remote units and directory regardless of GNUTLS | Nick Owens | |
2015-10-15 | Merge pull request #1572 from again4you/devel/tmp-smack | Lennart Poettering | |
units: add 'smackfsroot=*' option into tmp.mount when SMACK is enabled | |||
2015-10-15 | units: add 'smackfsroot=*' option into tmp.mount when SMACK is enabled | Sangjung Woo | |
If SMACK is enabled, 'smackfsroot=*' option should be specified in tmp.mount file since many non-root processes use /tmp for temporary usage. If not, /tmp is labeled as '_' and smack denial occurs when writing. | |||
2015-10-14 | Merge pull request #1562 from michich/overlinking | Lennart Poettering | |
build: fix overlinking | |||
2015-10-14 | build: libdl is needed only for libnss_resolve | Michal Schmidt | |
Not everything needs to link to libdl. dlopen+dlsym are used only by libnss_resolve. |