Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2015-10-17 | sd-bus: fix error handling of pthread API calls | Lennart Poettering | |
pthread APIs (unlike the rest of libc) return their errors as positive error codes directly from the functions, rather than using errno. Let's make sure we always handle things that way. | |||
2015-10-15 | sd-netlink: refcount multicast groups | Tom Gundersen | |
Track the number of matches installed for a given multicast group, and leave the group once no matches depend on it. In order to handle passed-in sockets that are already members of multicast groups we initialize the refcount based on the membership once we take over the socket. This way we will leave the socket in the state we found it once we finish with it. On kernels that do not fully support reading out the multicast group membership we fall back to never leaving any groups (as before). | |||
2015-10-14 | Merge pull request #1530 from teg/network-fixes-2 | Lennart Poettering | |
networkd/libsystemd-network: collection of trivial patches v2 | |||
2015-10-12 | sd-daemon: wipe out memory before using CMSG_NXTHDR() | Daniel Mack | |
CMSG_NXTHDR() checks for cmsg->cmsg_len *after* it increased the pointer. While this makes sense for parsing received messages, that's a pitfall for code crafting messages with this macro. Wipe out the allocated memory to fix this. | |||
2015-10-11 | sd-netlink: add support for subscribing to ROUTE messages | Tom Gundersen | |
Also, explicitly don't support subscribing to GET or SET messages, as these will never be emitted by the kernel. | |||
2015-10-11 | sd-netlink: rtnl - add route_get_{scope,tos,table,protocol}() | Tom Gundersen | |
2015-10-09 | sd-daemon: simply code simplification | Lennart Poettering | |
No change in behaviour, just make the code more obvious. | |||
2015-10-07 | build-sys: add sd_listen_fds_with_name() to .sym file | Lennart Poettering | |
2015-10-06 | Merge pull request #1465 from teg/siphash24 | Lennart Poettering | |
hashmap/siphash24: refactor hash functions | |||
2015-10-06 | Merge pull request #1468 from poettering/fdnames | Tom Gundersen | |
Add support for naming fds for socket activation and more | |||
2015-10-06 | Merge pull request #1466 from kaysievers/wip | Tom Gundersen | |
libsystemd: sd-device - translate / vs. ! in sysname |