summaryrefslogtreecommitdiffstats
path: root/src/basic/cgroup-util.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* fs-util: rename laccess to access_nofollowMike Yuan2024-10-051-1/+1
* Revert "cgroup-util: Don't try to open pidfd for kernel threads"Daan De Meyer2024-08-211-3/+1
* Merge pull request #33911 from YHNdnzj/cgroup-setup-cleanupYu Watanabe2024-08-021-214/+96
|\
| * cgroup-util: clean up cg_kill() and friends, completely split out cg_kill_ker...Mike Yuan2024-08-021-78/+76
| * cgroup-util: drop unused cg_rmdir()Mike Yuan2024-08-021-31/+0
| * cgroup-util: refactor cg_{ns,freezer,kill}_supportedMike Yuan2024-08-021-21/+21
| * cgroup-setup: move cg_{,un}install_release_agent from cgroup-utilMike Yuan2024-08-021-85/+0
* | cgroup-util: fix typoYu Watanabe2024-08-021-1/+1
|/
* cgroup-util: Don't try to open pidfd for kernel threadsDaan De Meyer2024-07-311-1/+3
* cgroup-util: Ignore kernel threads in cg_kill_items()Daan De Meyer2024-07-301-0/+6
* various: move ptr indicator to return valueZbigniew Jędrzejewski-Szmek2024-06-191-1/+1
* cgroup-util: Don't try to open pidfd for pids from cgroup.threadsDaan De Meyer2024-05-301-2/+11
* cgroup-util: Add debug logging for cg_kill_recursive()Daan De Meyer2024-05-291-9/+13
* cgroup-util: allow cg_read_pid() to skip unmapped (zero) pidsTimo Rothenpieler2024-05-141-18/+27
* cgroup-util: add helpers for opening cgroup by idLennart Poettering2024-04-061-1/+48
* cgroup-util: use path_find_first_component where appropriateMike Yuan2024-03-221-7/+10
* basic/cgroup-util: use strdup_to() and strdup_to_full() as appropriateZbigniew Jędrzejewski-Szmek2024-03-201-73/+21
* cgroup-util: check ferror() firstMike Yuan2023-12-151-4/+3
* cgroup-util: introduce cg_pidref_get_unitMike Yuan2023-11-111-0/+21
* cgroup-util: add cg_is_delegated_fd() helperLennart Poettering2023-10-261-10/+20
* tree-wide: port various users over to the new getxattr_at_bool() callLennart Poettering2023-10-261-3/+3
* cgroup-util: use RET_GATHER more, return first errorMike Yuan2023-10-191-20/+12
* cgroup-util: drop dead code blockYu Watanabe2023-10-191-7/+0
* killall: port killing spree loop over to PidRefLennart Poettering2023-10-181-2/+1
* core: port unit/process kill logic to pidrefLennart Poettering2023-10-181-13/+17
* cgroup-util: make cg_pidref_get_path() PidRef parameter constLennart Poettering2023-10-181-1/+1
* cgroup-util: rename all return parameters in cgroup-util to ret_xyzLennart Poettering2023-10-181-56/+57
* core: add CoredumpReceive= settingNick Rosbrook2023-10-131-0/+12
* cgroup-util: add cg_is_delegated helperNick Rosbrook2023-10-131-0/+19
* Merge pull request #29454 from poettering/cg-pidref-get-pathLennart Poettering2023-10-051-0/+22
|\
| * cgroup-util: add cg_pidref_get_path() helper and use itLennart Poettering2023-10-051-0/+22
* | cgroup-util: make sure cg_get_owner() only works for cgroups, not cgroup attr...Lennart Poettering2023-10-051-2/+5
* | cgroup-util: drop "controller" argument from various cgroup helper callsLennart Poettering2023-10-051-53/+49
|/
* Merge pull request #29193 from keszybz/path-util-adjustmentDaan De Meyer2023-09-291-15/+6
|\
| * tree-wide: add path_simplify_alloc() and use itZbigniew Jędrzejewski-Szmek2023-09-221-15/+6
* | cgroup-util: add cg_read_pidref() helperLennart Poettering2023-09-281-0/+27
* | cgroup-util: tighten range check before casting to pid_tLennart Poettering2023-09-191-0/+2
* | cgroup-util: initialize return param on all success returnsLennart Poettering2023-09-191-1/+4
* | cgroup-util: rename return param to 'ret', as per coding styleLennart Poettering2023-09-191-17/+16
|/
* alloc-util: add free_many() helperLennart Poettering2023-08-241-3/+1
* cgroup: rework how we validate/escape cgroupsLennart Poettering2023-04-271-44/+55
* Include <threads.h> if possible to get thread_local definitionCristian Rodríguez2023-03-061-0/+1
* core: add cg_path_get_unit_path()Quentin Deslandes2023-02-081-0/+22
* basic: fix hosed return value in skip_session()Cristian Rodríguez2023-01-031-1/+1
* Rename def.h to constants.hZbigniew Jędrzejewski-Szmek2022-11-081-1/+1
* cgroup-util: Properly handle conditions where cgroup.threads is empty after S...msizanoen12022-05-301-3/+12
* cgroup-util: introduce cg_is_threaded()Yu Watanabe2022-02-161-0/+24
* cgroup-util: refuse the case that both path and suffix are empty stringsYu Watanabe2022-02-121-1/+1
* cgroup-util: minor modernizationsLennart Poettering2022-02-111-27/+20
* tree-wide: make FOREACH_DIRENT_ALL define the iterator variableZbigniew Jędrzejewski-Szmek2021-12-151-2/+0