summaryrefslogtreecommitdiff
path: root/src/basic/cgroup-util.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* cgroup-util: cg_get_xattr_malloc helperAnita Zhang2020-03-241-0/+19
* cgroup-util: helper to cg_get_attribute and convert to uint64_tAnita Zhang2020-03-241-0/+26
* basic/cgroup-util: modernize cg_split_spec()Zbigniew Jędrzejewski-Szmek2020-03-101-59/+35
* cgroup-util: add new cg_remove_xattr() for removing xattr from cgroupLennart Poettering2019-11-201-0/+17
* tree-wide: drop stat.h or statfs.h when stat-util.h is includedYu Watanabe2019-11-041-2/+0
* tree-wide: drop dirent.h when dirent-util.h is includedYu Watanabe2019-11-041-1/+0
* tree-wide: drop string.h when string-util.h or friends are includedYu Watanabe2019-11-041-1/+0
* tree-wide: drop missing.hYu Watanabe2019-10-311-1/+1
* Merge pull request #13246 from keszybz/add-SystemdOptions-efi-variableZbigniew Jędrzejewski-Szmek2019-10-031-873/+22
|\
| * util-lib: move some functions from basic/cgroup-util to shared/cgroup-setupZbigniew Jędrzejewski-Szmek2019-09-161-846/+0