summaryrefslogtreecommitdiff
path: root/src/basic/cgroup-util.c
Commit message (Expand)AuthorAgeFilesLines
* 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-311-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
* pid1: add support for cgroup.killAlbert Brox2021-08-091-23/+72
* tree-wide: always drop unnecessary dot in pathYu Watanabe2021-05-281-5/+5
* alloc-util: simplify GREEDY_REALLOC() logic by relying on malloc_usable_size()Lennart Poettering2021-05-191-2/+2
* core: add socket-bind cgroup mask harnessJulia Kartseva2021-04-261-0/+1
* core: add bpf-foreign cgroup mask and harnessJulia Kartseva2021-04-091-0/+1
* tree-wide: use the same comment for work-around initializationsZbigniew Jędrzejewski-Szmek2021-04-071-1/+1
* basic/cgroup-util: silence gcc warning about unitialized variableZbigniew Jędrzejewski-Szmek2021-03-311-1/+2
* tree-wide: use read_full_virtual_file() where appropriateLennart Poettering2021-03-171-1/+1
* cg_unified_cached: return ENOMEDIUM if we cannot find a known hierarchyMike Gilbert2021-03-171-1/+7
* basic/group-util: optimize alloca useZbigniew Jędrzejewski-Szmek2021-03-111-7/+5
* Merge pull request #18553 from Werkov/cgroup-user-instance-controllersZbigniew Jędrzejewski-Szmek2021-03-101-42/+43
|\
| * core: Make (user) instance aware of delegated cgroup controllersMichal Koutný2021-02-111-14/+27
| * cgroup: Simplify cg_get_path_and_checkMichal Koutný2021-02-111-34/+22
* | basic: tighten two filename length checksLennart Poettering2021-03-081-1/+1
* | tree-wide: use UINT64_MAX or friendsYu Watanabe2021-03-051-1/+1
* | Merge pull request #18401 from anitazha/oomdxattrZbigniew Jędrzejewski-Szmek2021-02-131-0/+41
|\ \ | |/ |/|
| * oom: implement avoid/omit xattr supportAnita Zhang2021-02-091-0/+33
| * cgroup-util: add ManagedOOMPreference enum to use between pid1 and oomdAnita Zhang2021-02-091-0/+8
* | tree-wide: replace strverscmp() and str_verscmp() with strverscmp_improved()Yu Watanabe2021-02-091-1/+1
|/
* treewide: tighten variable scope in loops (#18372)Susant Sahani2021-01-271-5/+3
* string-util: imply NULL termination of strextend() argument listLennart Poettering2021-01-061-2/+2
* tree-wide: fix "a the" or "the a"Yu Watanabe2020-11-131-3/+2
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* cgroup-util: add cg_get_attribute_as_bool() helperAnita Zhang2020-10-071-0/+20
* core: add ManagedOOM*= properties to configure systemd-oomd on the unitAnita Zhang2020-10-071-0/+7
* basic/cgroup-util: port over to string_contains_word()Zbigniew Jędrzejewski-Szmek2020-09-091-23/+13
* core: introduce support for cgroup freezerMichal Sekletár2020-04-301-3/+15
* basic/cgroup-util: introduce cg_get_keyed_attribute_full()Michal Sekletár2020-04-291-3/+10
* cgroup-util: check for SYSFS_MAGIC when detecting cgroup formatDan Streetman2020-04-251-0/+3