Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-27 | man: Update man page documentation for CPUAffinity | Filipe Brandenburger | |
Document support for commas as a separator and possibility of specifying ranges of CPU indices. Tested by regenerating the manpages locally and reading them on man. | |||
2015-10-27 | cpu-set-util: Support ranges in parse_cpu_set_and_warn | Filipe Brandenburger | |
Tested CPUAffinity ranges on both a service unit and in system.conf and confirmed they work as expected (by inspecting /proc/PID/status, for the main pid of the service and for pid 1). Also mixed ranges with both spaces, commas, trailing commas and spaces. Added new tests to increase coverage of ranges and prevent regressions. | |||
2015-10-27 | parse-util: Introduce new parse_range function | Filipe Brandenburger | |
This function will be useful for CPUAffinity settings that involve ranges of CPUs. Make it generic and include test coverage to prevent regressions. | |||
2015-10-27 | cpu-set-util: Accept commas as separators in parse_cpu_set_and_warn | Filipe Brandenburger | |
Tested CPUAffinity settings on both a service unit and in system.conf and confirmed they work as expected. Added a new test to confirm that trailing commas and spaces work and to prevent any regressions in that area. | |||
2015-10-27 | Merge pull request #1698 from poettering/pid-is-unwaited-fix | Tom Gundersen | |
fixup for previous pr | |||
2015-10-27 | service: exiting early is nicer than deeply-indented code blocks | Lennart Poettering | |
2015-10-27 | core: all unit types that watch control PIDs should use the same logic | Lennart Poettering | |
When coldplugging the unit state, make sure to follow the same basic logic for all unit types: always verify whether the control PID is still a waitable process before proceeding. | |||
2015-10-27 | core: don't pass uninitialzed PIDs to pid_is_unwaited() | Lennart Poettering | |
Since 5fd9b2c5467b0a42ccdabc7eb8e516d512609a8e passing a pid of 0 to pid_is_unwaited() and pid_is_live() is considered as a request on the current process, similar how the other calls in process-util.c handle a PID of 0. This broke service.c, which passes a 0 PID and expects it to be considered an unwaited process. This fix make sure we can boot again. | |||
2015-10-27 | Merge pull request #1695 from evverx/fix-cap-bounding-merging | Lennart Poettering | |
core: fix CapabilityBoundingSet merging | |||
2015-10-27 | Merge pull request #1691 from poettering/util-lib-3 | Tom Gundersen | |
split up util.h and macro.h into even more bits | |||
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 | automount: move generically userful call repeat_mount() into mount-util.[ch] | Lennart Poettering | |
2015-10-27 | process-util: move a couple of process-related calls over | Lennart Poettering | |
2015-10-27 | process-util: make some minor corrections to PID live detection | Lennart Poettering | |
2015-10-27 | process-util: rename get_parent_of_pid() → get_process_ppid() | Lennart Poettering | |
In order to match the other get_process_xyz() calls. | |||
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 | update TODO | 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 | stat-util.h: move F_TYPE_EQUAL() macro definition to stat-util.h | Lennart Poettering | |
2015-10-27 | util-lib: split out printf() helpers to stdio-util.h | Lennart Poettering | |
2015-10-27 | macro.h: move definition of MODE_INVALID to parse-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 | socket-util: move CMSG_FOREACH() from macro.h to socket-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 | process-util: move PID related macros from macro.h to process-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 | 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 | detect-virt: add new --chroot switch to detect chroot() environments | 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 | 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 more locale-related calls to locale-util.[ch] | Lennart Poettering | |
2015-10-27 | util-lib: move status printing stuff into src/core/ | Lennart Poettering | |
It's very specific to the core, and not used elsewhere, hence move it out of terminal-util.[ch]. | |||
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 | |