Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-23 | tests: add sd_event_now to test_basic | Evgeny Vereshchagin | |
2015-11-22 | tests: add missing sd_event_add_post to test_basic | Evgeny Vereshchagin | |
2015-11-22 | tests: check exit handler invocation | Evgeny Vereshchagin | |
2015-11-22 | sd-event: use prioq_ensure_allocated where possible | Evgeny Vereshchagin | |
2015-11-19 | sd-event: define a new PREPARING state | Lennart Poettering | |
We already have a state RUNNING and EXITING when we dispatch regular and exit callbacks. Let's introduce a new state called PREPARING that is active while we invoke preparation callbacks. This way we have a state each for all three kinds of event handlers. The states are currently not documented, hence let's add a new state to the end, before we start documenting this. | |||
2015-11-19 | sd-event: make _ref() calls NOPs when NULL is passed to them | Lennart Poettering | |
Let's make _ref() calls happy when NULL is passed to them, and simply return NULL without any assertion logic. This makes them nicely symmetric to the _unref() calls which also are happy to take NULL and become NOPs then. | |||
2015-11-18 | tree-wide: sort includes in *.h | Thomas Hindoe Paaboel Andersen | |
This is a continuation of the previous include sort patch, which only sorted for .c files. | |||
2015-11-17 | tree-wide: use right cast macros for UIDs, GIDs and PIDs | Lennart Poettering | |
2015-11-17 | Merge pull request #1923 from zonque/siphash | Lennart Poettering | |
siphash24: let siphash24_finalize() and siphash24() return the result… | |||
2015-11-16 | siphash24: let siphash24_finalize() and siphash24() return the result directly | Daniel Mack | |
Rather than passing a pointer to return the result, return it directly from the function calls. Also, return the result in native endianess, and let the callers care about the conversion. For hash tables and bloom filters, we don't care, but in order to keep MAC addresses and DHCP client IDs stable, we explicitly convert to LE. | |||
2015-11-16 | tree-wide: sort includes | Thomas Hindoe Paaboel Andersen | |
Sort the includes accoding to the new coding style. | |||
2015-11-16 | tree-wide: add missing includes | Thomas Hindoe Paaboel Andersen | |
Add a few includes that we rely on to be include already. | |||
2015-11-16 | siphash24: change result argument to uint64_t | Martin Pitt | |
Change the "out" parameter from uint8_t[8] to uint64_t. On architectures which enforce pointer alignment this fixes crashes when we previously cast an unaligned array to uint64_t*, and on others this should at least improve performance as the compiler now aligns these properly. This also simplifies the code in most cases by getting rid of typecasts. The only place which we can't change is struct duid's en.id, as that is _packed_ and public API, so we can't enforce alignment of the "id" field and have to use memcpy instead. | |||
2015-11-11 | sd-netlink: add support for RTA_PREF | Tom Gundersen | |
2015-11-11 | sd-netlink: types - let tables be sized implicitly | Tom Gundersen | |
This way we do not rely on the size MAX* constants from the kernel headers, as these will be out-of-sync in case we have old headers and new defines in missing.h. | |||
2015-11-11 | sd-netlink: add sd_rtnl_message_route_{s,g}et_flags() | Tom Gundersen | |
2015-11-11 | sd-bus: don't try to acquire connection selinux label unless selinux is ↵ | Lennart Poettering | |
actually enabled Otherwise we might end up mistaking a SMACK label for an selinux label. Also, fixes unexpect debug messages: http://lists.freedesktop.org/archives/systemd-devel/2015-November/034913.html | |||
2015-11-09 | Merge pull request #1820 from michich/errno-v2 | Daniel Mack | |
[v2] treewide: treatment of errno and other cleanups | |||
2015-11-06 | doc: correct punctuation and improve typography in documentation | Jan Engelhardt | |
2015-11-05 | sd-resolve: simplify pthread_join() call | Michal Schmidt | |
POSIX says: The pthread_join() function shall not return an error code of [EINTR]. | |||
2015-11-04 | Merge pull request #1768 from vcaputo/sd-daemon-listen-fds-overflow-bis | Lennart Poettering | |
sd-daemon: fix potential LISTEN_FDS overflow in sd_listen_fds() | |||
2015-11-03 | sd-daemon: fix potential LISTEN_FDS overflow in sd_listen_fds() | Vito Caputo | |
2015-11-03 | sd-daemon: explicitly filter out -1 when parsing watchdog timeout | Lennart Poettering | |
We already filter out 0, and as -1 is usually special (meaning infinity, as in USEC_INFINITY) we should better not accept it either. Better safe than sorry... | |||
2015-11-03 | parse-util: introduce parse_ifindex() and make use of it everywhere | Lennart Poettering | |
We have enough places where we parse an ifindex, hence introduce a proper parsing function for it, that verifies all parameters. | |||
2015-11-01 | sd-daemon: verify NOTIFY_SOCKET path length | Lennart Poettering | |
Better generate a real error then simply connect to the wrong socket. | |||
2015-10-31 | sd-daemon: increase sd_notify() socket buffer size | Lennart Poettering | |
Let's make sure we don't start blocking on sd_notify() earlier than necessary, let's bump the socket buffer sizes to 8M. We already do something similar for our logging socket buffers, hence apply a similar bump here. | |||
2015-10-27 | util-lib: move inotify-related definitions to fs-util.[ch] | Lennart Poettering | |
2015-10-27 | util-lib: split out allocation calls into alloc-util.[ch] | Lennart Poettering | |
2015-10-27 | util-lib: split out printf() helpers to stdio-util.h | Lennart Poettering | |
2015-10-27 | io-util.h: move iovec stuff from macro.h to io-util.h | Lennart Poettering | |
2015-10-27 | user-util: move UID/GID related macros from macro.h to user-util.h | 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: 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: 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: move filename_is_valid() and path_is_safe() to path-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-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 | 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 | 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: 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-18 | Merge pull request #1595 from poettering/proxy-fixes | David Herrmann | |
bus proxy fixes, and more |