summaryrefslogtreecommitdiff
path: root/src/basic/cgroup-util.c
Commit message (Expand)AuthorAgeFilesLines
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-2/+0
* pid1: do not reset subtree_control on already-existing units with delegationZbigniew Jędrzejewski-Szmek2018-06-111-3/+12
* path-util: introduce path_simplify()Yu Watanabe2018-06-031-5/+5
* cgroup-util: fix enabling of controllers (#8816)Antique2018-04-261-1/+3
* util-lib: introduce new empty_or_root() helper (#8746)Lennart Poettering2018-04-181-2/+2
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
* tree-wide: use TAKE_PTR() and TAKE_FD() macrosYu Watanabe2018-04-051-2/+1
* fuzz-unit-file: add __has_feature(memory_sanitizer) when skipping ListenNetlink=Zbigniew Jędrzejewski-Szmek2018-03-261-1/+1
* macro: introduce TAKE_PTR() macroLennart Poettering2018-03-221-8/+5
* basic/cgroup-util: fix typo in debug messageZbigniew Jędrzejewski-Szmek2018-03-181-1/+1
* fuzz: add test case for oss-fuzz #6897 and a work-aroundZbigniew Jędrzejewski-Szmek2018-03-171-0/+8
* basic/cgroup-util: remove unused variableZbigniew Jędrzejewski-Szmek2018-03-061-1/+0
* Merge pull request #8149 from poettering/fake-root-cgroupLennart Poettering2018-03-011-23/+61
|\
| * basic/cgroup-util: simplify cg_get_keyed_attribute(), add testZbigniew Jędrzejewski-Szmek2018-03-011-17/+6
| * cgroup-util: rework cg_get_keyed_attribute() a bitLennart Poettering2018-02-091-21/+70
* | basic: shorten the code a bit in two placesZbigniew Jędrzejewski-Szmek2018-02-261-3/+1
|/
* Add mkdir_errno_wrapper() and use instead of mkdir() in various placesZbigniew Jędrzejewski-Szmek2017-12-161-7/+5
* tree-wide: make use of new STRLEN() macro everywhere (#7639)Lennart Poettering2017-12-141-3/+3
* basic: turn off stdio locking for a couple of helper callsLennart Poettering2017-12-141-0/+5
* cgroup-util: merge cg_set_tasks_access() and cg-set_group_access() into oneLennart Poettering2017-11-251-83/+55
* Replace free and nullify by mfreeDaniel Lockyer2017-11-241-2/+1
* cgroup: properly determine cgroups zombie processes belong toLennart Poettering2017-11-211-0/+5
* cgroup-util: optimization — open subtree_control file only once for all con...Lennart Poettering2017-11-211-1/+10
* cgroup-util: move Set* allocation into cg_kernel_controllers()Lennart Poettering2017-11-211-3/+14
* Merge pull request #7198 from poettering/stdin-stdoutLennart Poettering2017-11-191-2/+2
|\
| * fs-util: rename path_is_safe() → path_is_normalized()Lennart Poettering2017-11-171-2/+2
* | Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek2017-11-191-0/+1
|/
* cgroup: assume the use of v1 when all the preceding checks fail (#7366)Evgeny Vereshchagin2017-11-171-10/+11
* util-lib: add debug messages when checking cgroup layoutZbigniew Jędrzejewski-Szmek2017-11-151-5/+12
* cgroup: improve cg_mask_to_string a bit, and add tests for itLennart Poettering2017-11-131-8/+21
* tests: skip tests when cg_pid_get_path fails (#7033)Zbigniew Jędrzejewski-Szmek2017-10-101-1/+4
* tree-wide: use IN_SET macro (#6977)Yu Watanabe2017-10-041-7/+5
* test-cpu-set-util.c: fix typo in comment (#6916)Jan Synacek2017-09-261-3/+6
|\
| * cgroup-util: minor coding style adjustmentLennart Poettering2017-09-221-3/+6
* | Merge pull request #6893 from poettering/cgroup-delegate-yayZbigniew Jędrzejewski-Szmek2017-09-241-7/+37
|\ \
| * | cgroup: rework which files we chown() on delegationLennart Poettering2017-09-221-5/+33
| * | cgroup-util: downgrade log messages from library code to LOG_DEBUGLennart Poettering2017-09-221-2/+4
| |/
* | cgroup-util: replace one use of fgets() by read_line()Lennart Poettering2017-09-221-2/+1
|/
* tree-wide: make use of getpid_cached() wherever we canLennart Poettering2017-07-201-3/+3
* Be slightly more verbose in error messageZbigniew Jędrzejewski-Szmek2017-07-021-1/+1
* core: introduce cg_mask_from_string()/cg_mask_to_string()Franck Bui2017-05-041-18/+58
* cgroup: rework cg_all_unified()Lennart Poettering2017-02-241-1/+7
* cgroup: rename cg_update_unified() → cg_unified_update()Lennart Poettering2017-02-241-4/+4
* cgroup: rename cg_unified() → cg_unified_controller()Lennart Poettering2017-02-241-17/+14
* cgroup: change cg_unified() to possibly return errors againLennart Poettering2017-02-241-30/+97
* cgroup-util: check unified_cache before invoking streq()Lennart Poettering2017-02-241-4/+7
* cgroup-util: fix the case of default=unified, unified-cgroup-hierarchy=0Zbigniew Jędrzejewski-Szmek2017-02-221-1/+4
* cgroup-util: cache all cg_is_*_wanted answers, disable /sys/fs/cgroups/unifie...Zbigniew Jędrzejewski-Szmek2017-02-221-16/+19
* core/mount-setup: if unified hierarchy is not supported, fall back to legacyZbigniew Jędrzejewski-Szmek2017-02-221-6/+8
* Rename cg_is_unified_systemd_controller_wanted to cg_is_hybrid_wantedZbigniew Jędrzejewski-Szmek2017-02-221-1/+1