summaryrefslogtreecommitdiffstats
path: root/src/basic/cgroup-util.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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
* tree-wide: use new RET_NERRNO() helper at various placesLennart Poettering2021-11-161-8/+2
* cgroup-util: laccess() returns negative errno alreadyLennart Poettering2021-11-161-4/+1
* alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhereLennart Poettering2021-10-141-1/+1
* Merge pull request #20910 from poettering/nftw-no-moreLennart Poettering2021-10-071-1/+0
|\
| * tree-wide: remove a few unnecessary inclusions of ftw.hLennart Poettering2021-10-071-1/+0
* | cgroup-util: add reusable union type for cgroupfs file_handle structsLennart Poettering2021-10-071-10/+3
* | xattr-util: merge various getxattr()/listxattr() helpers into getxattr_at_mal...Lennart Poettering2021-10-071-1/+1
|/
* cgroup-util: add cg_path_get_cgroupid()Iago López Galeiras2021-10-061-0/+23
* cgroup-util: use string_hash_ops_freeYu Watanabe2021-09-111-6/+2
* cgroup-util: use _cleanup_free_ attributeYu Watanabe2021-09-111-8/+4
* core: implement RestrictNetworkInterfaces=Mauricio Vásquez2021-08-181-0/+1