summaryrefslogtreecommitdiffstats
path: root/src/core/unit.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* core: do BindMount/MountImage operations in async control processLuca Boccassi2024-08-291-10/+90
* service: add 'debug' option to RestartMode=Luca Boccassi2024-08-271-7/+22
* core: move check for combination of PAMName= + KillMode= to unit_verify_conte...Mike Yuan2024-08-261-2/+8
* core/unit: unit_is_filtered() -> unit_passes_filter() and invert logicMike Yuan2024-08-171-4/+4
* core/unit: rename set_unit_path() -> setenv_unit_path()Mike Yuan2024-08-171-2/+4
* core: Introduce unit_is_filtered()Daan De Meyer2024-08-141-0/+16
* core: Use RateLimit struct to store ratelimitsDaan De Meyer2024-08-141-8/+5
* core/unit: do not use unit path cache in unit_need_daemon_reload()Nick Rosbrook2024-08-091-1/+1
* core/unit: utilize cgroup.kill on client request + SIGKILLMike Yuan2024-08-021-13/+28
* core/unit: modernize log_kill() tooMike Yuan2024-08-021-8/+8
* core/unit: unexport cg_kill log funcs, rather take in boolMike Yuan2024-08-021-7/+8
* cgroup-setup: drop unused cg_migrate_callback for cg_attach_everywhere()Mike Yuan2024-08-021-1/+1
* core/unit: add one assertion for u->managerMike Yuan2024-07-211-0/+1
* terminal-util: split out color macros/helpers into its own headerLennart Poettering2024-07-191-0/+1
* core/dbus-unit: add an explicit bus error when unit is frozen by parentMike Yuan2024-07-171-1/+1
* core/unit: introduce unit_freezer_complete, correctly report end stateMike Yuan2024-07-171-15/+9
* core/unit: introduce unit_set_freezer_state, make logging consistentMike Yuan2024-07-171-0/+16
* core/unit: rename a few more vars for unit_next_freezer_state()Mike Yuan2024-07-171-14/+14
* core/unit: use switch for unit_next_freezer_stateMike Yuan2024-07-171-9/+20
* core/unit: rename freezer "target" to "objective"Mike Yuan2024-07-171-14/+14
* core: make unit_can_freeze take const Unit*Mike Yuan2024-07-171-1/+1
* core,unit-def: use our usual way of asserting enumsMike Yuan2024-07-171-2/+2
* core/unit: drop pointless unit_freezer_state wrapperMike Yuan2024-07-171-6/+0
* core/unit: ignore dropins for masked units completely when checking need_reloadMike Yuan2024-07-121-8/+10
* Merge pull request #33258 from YHNdnzj/cg-runtime-accountingMike Yuan2024-06-291-8/+3
|\
| * core: do not drop CGroupRuntime when unit stops, but only on GCMike Yuan2024-06-281-3/+3
| * core: unify reset_accounting handlingMike Yuan2024-06-281-3/+0
| * core/cgroup: call bpf_firewall_close in cgroup_runtime_freeMike Yuan2024-06-281-2/+0
* | Merge pull request #33536 from teknoraver/hashmap_ensure_replaceLuca Boccassi2024-06-291-6/+1
|\ \
| * | Use hashmap_ensure_replace()Matteo Croce2024-06-281-6/+1
| |/
* / core/unit: follow merged units before updating SourcePath= timestamp tooMike Yuan2024-06-281-1/+3
|/
* core: verify WorkingDirectory= is outside of API VFS only under mount namespa...Mike Yuan2024-06-241-0/+5
* various: move ptr indicator to return valueZbigniew Jędrzejewski-Szmek2024-06-191-2/+2
* various: move const ptr indicator to return valueZbigniew Jędrzejewski-Szmek2024-06-191-1/+1
* Fix confusion between killer and preyZbigniew Jędrzejewski-Szmek2024-06-191-9/+9
* core: do not imply PrivateTmp with DynamicUser, create a private tmpfs insteadLuca Boccassi2024-06-171-2/+6
* io-util: move fputs_with_newline to fileioMike Yuan2024-06-131-4/+3
* Merge pull request #33257 from YHNdnzj/unit-notify-cleanupLuca Boccassi2024-06-131-65/+67
|\
| * core: clean up OnFailure= and OnSuccess= handling a bitMike Yuan2024-06-091-42/+51
| * core/unit: place OnFailure= handling close to OnSuccess=Mike Yuan2024-06-091-7/+3
| * core/unit: merge nested if statements, use else where appropriateMike Yuan2024-06-091-13/+11
| * core/unit: add one assertion, reduce variable scopeMike Yuan2024-06-091-4/+3
* | io-util: add new helper fputs_with_newline()Lennart Poettering2024-06-131-4/+2
* | Merge pull request #32805 from YHNdnzj/no-cred-mount-unitYu Watanabe2024-06-121-5/+1
|\ \
| * | core/exec-credential: drop unused unit_add_default_credential_dependenciesMike Yuan2024-06-121-4/+0
| * | Revert "core/credential,mount: re-read /proc/self/mountinfo before invoking u...Mike Yuan2024-06-121-1/+1
| |/
* | Merge pull request #33071 from keszybz/sd_event_source-cleanupYu Watanabe2024-06-121-8/+0
|\ \ | |/ |/|
| * sd-event: emit a debug line if disabling unreffed source failsZbigniew Jędrzejewski-Szmek2024-05-301-8/+0
* | core/unit: refuse to spawn units under frozen cgroupMike Yuan2024-05-311-1/+6
|/
* core: introduce unit_verify_contextsMike Yuan2024-05-261-1/+16