Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | process-util: actually move rename_process() over | Lennart Poettering | |
The prototype was moved long ago, actually move the definition over now, too. | |||
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: 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: 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-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-23 | Merge pull request #1652 from filbranden/extract1 | Lennart Poettering | |
util: Replace state with separate booleans in extract_first_word | |||
2015-10-23 | Merge pull request #1641 from poettering/btrfs-quota | Daniel Mack | |
btrfs quota beef up and various other unrelated changes | |||
2015-10-22 | util: Replace state with separate booleans in extract_first_word | Filipe Brandenburger | |
This simplifies the logic and uniformizes the way single and double quotes are handled. In the end, the code is about 40 lines shorter. Tested by running the excellent test cases from test-util. Also installed the systemd binaries including this patch and booted a system with it, everything looked normal. | |||
2015-10-22 | util: allow unbalanced double quote in EXTRACT_QUOTES|EXTRACT_RELAX mode | Evgeny Vereshchagin | |
extract_first_word understands "\'string" but doesn't understand "\"string" fixed this inconsistency. | |||
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-07 | util: always enforce O_NOCTTY and O_CLOEXEC in openpt_in_namespace() | Lennart Poettering | |
The child process is shortliving, hence always set O_NOCTTY so that the tty doesn't quickly become controlling TTY and then gives it up again. Also set O_CLOEXEC, because it's cleaner, and doesn't affect the parent anyway. | |||
2015-10-06 | util: some comment fixes in fdname_is_valid() | Lennart Poettering | |