summaryrefslogtreecommitdiffstats
path: root/src/basic/cgroup-util.h (follow)
Commit message (Expand)AuthorAgeFilesLines
* cgroup-util: Don't try to open pidfd for pids from cgroup.threadsDaan De Meyer2024-05-301-0/+1
* cgroup-util: allow cg_read_pid() to skip unmapped (zero) pidsTimo Rothenpieler2024-05-141-8/+9
* cgroup-util: add helpers for opening cgroup by idLennart Poettering2024-04-061-1/+10
* cgroup-util: fix typoYu Watanabe2024-02-021-1/+1
* cgroup: don't enable bpf pseudo-controllers when doing a wildcard delegationLennart Poettering2024-01-251-1/+4
* tree-wide: drop several doubled spaceYu Watanabe2023-12-241-1/+1
* cgroup-util: introduce cg_pidref_get_unitMike Yuan2023-11-111-0/+1
* cgroup-util: add cg_is_delegated_fd() helperLennart Poettering2023-10-261-0/+1
* core: port unit/process kill logic to pidrefLennart Poettering2023-10-181-1/+1
* 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-26/+26
* Merge pull request #29272 from enr0n/coredump-containerLennart Poettering2023-10-161-0/+4
|\
| * core: add CoredumpReceive= settingNick Rosbrook2023-10-131-0/+2
| * cgroup-util: add cg_is_delegated helperNick Rosbrook2023-10-131-0/+2
* | core: add systemd-executor binaryLuca Boccassi2023-10-121-1/+1
|/
* Merge pull request #29454 from poettering/cg-pidref-get-pathLennart Poettering2023-10-051-0/+1
|\
| * cgroup-util: add cg_pidref_get_path() helper and use itLennart Poettering2023-10-051-0/+1
* | cgroup-util: drop "controller" argument from various cgroup helper callsLennart Poettering2023-10-051-10/+10
|/
* cgroup-util: add cg_read_pidref() helperLennart Poettering2023-09-281-0/+2
* cgroup-util: rename return param to 'ret', as per coding styleLennart Poettering2023-09-191-6/+5
* cgroup: rework how we validate/escape cgroupsLennart Poettering2023-04-271-1/+2
* shared: move cg_set_access() declaration to right header fileLennart Poettering2023-02-231-1/+0
* core: add cg_path_get_unit_path()Quentin Deslandes2023-02-081-0/+1
* Rename def.h to constants.hZbigniew Jędrzejewski-Szmek2022-11-081-1/+1
* core/cgroup: CPUWeight/CPUShares support idle inputwineway2022-08-111-0/+1
* cgroup-util: introduce cg_is_threaded()Yu Watanabe2022-02-161-0/+2
* cgroup-util: Move macros to macros and tests to testsMichal Koutný2022-01-101-0/+14
* cgroup-util: add reusable union type for cgroupfs file_handle structsLennart Poettering2021-10-071-0/+10
* core: use LSM BPF functions to implement RestrictFileSystems=Iago Lopez Galeiras2021-10-061-0/+3
* cgroup-util: add cg_path_get_cgroupid()Iago López Galeiras2021-10-061-0/+1
* core: implement RestrictNetworkInterfaces=Mauricio Vásquez2021-08-181-1/+3
* pid1: add support for cgroup.killAlbert Brox2021-08-091-0/+2
* core: add socket-bind cgroup mask harnessJulia Kartseva2021-04-271-1/+3
* core: add bpf-foreign cgroup mask and harnessJulia Kartseva2021-04-101-1/+3
* Merge pull request #18553 from Werkov/cgroup-user-instance-controllersZbigniew Jędrzejewski-Szmek2021-03-101-0/+1
|\
| * core: Make (user) instance aware of delegated cgroup controllersMichal Koutný2021-02-111-0/+1
* | Drop parens from around already-parenthesized definesZbigniew Jędrzejewski-Szmek2021-03-051-4/+4
* | tree-wide: use UINT64_MAX or friendsYu Watanabe2021-03-041-4/+4
* | basic: use -EINVAL for _MANAGED_OOM_PREFERENCE_INVALIDBenjamin Robin2021-02-161-1/+1
* | Merge pull request #18401 from anitazha/oomdxattrZbigniew Jędrzejewski-Szmek2021-02-131-0/+14
|\ \ | |/ |/|
| * oom: implement avoid/omit xattr supportAnita Zhang2021-02-091-0/+3
| * cgroup-util: add ManagedOOMPreference enum to use between pid1 and oomdAnita Zhang2021-02-091-0/+11
* | tree-wide: use -EINVAL for enum invalid valuesZbigniew Jędrzejewski-Szmek2021-02-101-3/+3
|/
* 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-081-0/+3
* core: add ManagedOOM*= properties to configure systemd-oomd on the unitAnita Zhang2020-10-081-0/+10
* core: introduce support for cgroup freezerMichal Sekletár2020-04-301-0/+1
* basic/cgroup-util: introduce cg_get_keyed_attribute_full()Michal Sekletár2020-04-291-1/+23
* cgroup-util: cg_get_xattr_malloc helperAnita Zhang2020-03-251-0/+1
* cgroup-util: helper to cg_get_attribute and convert to uint64_tAnita Zhang2020-03-251-0/+2