Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-27 | util-lib: move inotify-related definitions to fs-util.[ch] | Lennart Poettering | |
2015-10-27 | util-lib: move fdname_is_valid() to fd-util.[ch] | Lennart Poettering | |
2015-10-27 | process-util: move a couple of process-related calls over | Lennart Poettering | |
2015-10-27 | mount-util: move fstype_is_network() and name_to_handle_at() definitions over | Lennart Poettering | |
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 | macro: move DECIMAL_STR_WIDTH() into macro.h | Lennart Poettering | |
So that it sets next to DECIMAL_STR_MAX(), where it belongs. | |||
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 running_in_chroot() into virt.[ch] | Lennart Poettering | |
It's a very weak kind of virtualization, after all. | |||
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 | 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 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-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 | 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: move logind_running() to login-util.[ch] | Lennart Poettering | |
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-22 | util: improve dir_is_empty() call | Lennart Poettering | |
Simplify the call, and add dir_is_populated() as inverse call, in order to make some checks easier to read. | |||
2015-10-20 | Merge pull request #1619 from iaguis/nspawn-sysfs-netns-3 | Lennart Poettering | |
nspawn: skip /sys-as-tmpfs if we don't use private-network | |||
2015-10-20 | nspawn: skip /sys-as-tmpfs if we don't use private-network | Iago López Galeiras | |
Since v3.11/7dc5dbc ("sysfs: Restrict mounting sysfs"), the kernel doesn't allow mounting sysfs if you don't have CAP_SYS_ADMIN rights over the network namespace. So the mounting /sys as a tmpfs code introduced in d8fc6a000fe21b0c1ba27fbfed8b42d00b349a4b doesn't work with user namespaces if we don't use private-net. The reason is that we mount sysfs inside the container and we're in the network namespace of the host but we don't have CAP_SYS_ADMIN over that namespace. To fix that, we mount /sys as a sysfs (instead of tmpfs) if we don't use private network and ignore the /sys-as-a-tmpfs code if we find that /sys is already mounted as sysfs. Fixes #1555 | |||
2015-10-19 | strv: Add _cleanup_strv_free_erase_ and _cleanup_string_free_erase_ | Zbigniew Jędrzejewski-Szmek | |
2015-10-19 | tree-wide: whenever we deal with passwords, erase them from memory after use | Lennart Poettering | |
A bit snake-oilish, but can't hurt. | |||
2015-10-17 | util: add func for checking OOMScoreAdjust | Evgeny Vereshchagin | |
2015-10-14 | util: add functions for validating syslog level and facility | Evgeny Vereshchagin | |
2015-10-08 | basic: move two more terminal-related calls into terminal-util.[ch] | Lennart Poettering | |
2015-10-06 | core: add support for naming file descriptors passed using socket activation | Lennart Poettering | |
This adds support for naming file descriptors passed using socket activation. The names are passed in a new $LISTEN_FDNAMES= environment variable, that matches the existign $LISTEN_FDS= one and contains a colon-separated list of names. This also adds support for naming fds submitted to the per-service fd store using FDNAME= in the sd_notify() message. This also adds a new FileDescriptorName= setting for socket unit files to set the name for fds created by socket units. This also adds a new call sd_listen_fds_with_names(), that is similar to sd_listen_fds(), but also returns the names of the fds. systemd-activate gained the new --fdname= switch to specify a name for testing socket activation. This is based on #1247 by Maciej Wereski. Fixes #1247. | |||
2015-09-30 | basic: split out cpu set specific APIs into cpu-set-util.[ch] | Lennart Poettering | |