1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-07 01:27:11 +03:00
systemd/src/core
Minkyung 2787d83c28 watchdog: Support changing watchdog_usec during runtime (#3492)
Add sd_notify() parameter to change watchdog_usec during runtime.

Application can change watchdog_usec value by
sd_notify like this. Example. sd_notify(0, "WATCHDOG_USEC=20000000").

To reset watchdog_usec as configured value in service file,
restart service.

Notice.
sd_event is not currently supported. If application uses
sd_event_set_watchdog, or sd_watchdog_enabled, do not use
"WATCHDOG_USEC" option through sd_notify.
2016-06-22 13:26:05 +02:00
..
.gitignore Move daemon-reload from package %post scripts to file triggers 2015-11-15 18:38:37 -05:00
audit-fd.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
audit-fd.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
automount.c automount: handle expire_tokens when the mount unit changes its state (#3434) 2016-06-05 11:25:14 -04:00
automount.h automount: rework propagation between automount and mount units 2016-05-02 16:51:45 +02:00
bus-policy.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
bus-policy.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
busname.c Ensure kdbus isn't used (#3501) 2016-06-18 17:24:23 -04:00
busname.h core: move enforcement of the start limit into per-unit-type code again 2016-05-02 13:08:00 +02:00
cgroup.c core: log the right set of the supported controllers (#3558) 2016-06-20 20:40:46 +02:00
cgroup.h core: pass Unit into cgroup_context_apply() and use log_unit*() 2016-06-02 13:02:49 -04:00
dbus-automount.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-automount.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-busname.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-busname.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-cgroup.c systemctl: allow percent-based MemoryLimit= settings via systemctl set-property 2016-06-14 20:01:45 +02:00
dbus-cgroup.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-device.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-device.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-execute.c core: Restrict mmap and mprotect with PAGE_WRITE|PAGE_EXEC (#3319) (#3379) 2016-06-03 17:58:18 +02:00
dbus-execute.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-job.c core: don't log job status message in case job was effectively NOP (#3199) 2016-05-16 11:24:51 -04:00
dbus-job.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-kill.c tree-wide: remove newlines from unit_write_drop_in 2016-05-28 16:29:42 -04:00
dbus-kill.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-manager.c core: added ListUnitsByNames dbus method (#3182) 2016-05-12 18:58:59 +02:00
dbus-manager.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-mount.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-mount.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-path.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-path.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-scope.c tree-wide: remove newlines from unit_write_drop_in 2016-05-28 16:29:42 -04:00
dbus-scope.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-service.c tree-wide: remove newlines from unit_write_drop_in 2016-05-28 16:29:42 -04:00
dbus-service.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-slice.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-slice.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-socket.c core: expose TriggerLimitIntervalUSec 2016-05-06 20:14:06 +00:00
dbus-socket.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-swap.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-swap.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-target.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-target.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-timer.c tree-wide: remove newlines from unit_write_drop_in 2016-05-28 16:29:42 -04:00
dbus-timer.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
dbus-unit.c tree-wide: remove newlines from unit_write_drop_in 2016-05-28 16:29:42 -04:00
dbus-unit.h core,systemctl: add bus API to retrieve processes of a unit 2016-04-22 16:06:20 +02:00
dbus.c tree-wide: introduce new SOCKADDR_UN_LEN() macro, and use it everywhere 2016-05-05 22:24:36 +02:00
dbus.h core: use an AF_UNIX/SOCK_DGRAM socket for cgroup agent notification 2016-05-05 12:37:04 +02:00
device.c Move no_instances information to shared/ 2016-05-01 19:58:59 -04:00
device.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
execute.c core: set $JOURNAL_STREAM to the dev_t/ino_t of the journal stream of executed services 2016-06-15 23:00:27 +02:00
execute.h core/execute: add the magic character '!' to allow privileged execution (#3493) 2016-06-10 18:19:54 +02:00
failure-action.c core: rework reboot parameter logic a bit 2016-04-12 13:43:32 +02:00
failure-action.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
hostname-setup.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
hostname-setup.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
ima-setup.c tree-wide: use mdash instead of a two minuses 2016-04-21 23:00:13 -04:00
ima-setup.h tree-wide: use mdash instead of a two minuses 2016-04-21 23:00:13 -04:00
job.c core: don't log job status message in case job was effectively NOP (#3199) 2016-05-16 11:24:51 -04:00
job.h core: don't log job status message in case job was effectively NOP (#3199) 2016-05-16 11:24:51 -04:00
kill.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
kill.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
killall.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
killall.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
kmod-setup.c Ensure kdbus isn't used (#3501) 2016-06-18 17:24:23 -04:00
kmod-setup.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
load-dropin.c core: don't drop transient drop-ins when loading the rest 2016-04-12 13:43:31 +02:00
load-dropin.h core: rework generator dir logic, move the dirs into LookupPaths structure 2016-04-12 13:43:29 +02:00
load-fragment-gperf.gperf.m4 core: Restrict mmap and mprotect with PAGE_WRITE|PAGE_EXEC (#3319) (#3379) 2016-06-03 17:58:18 +02:00
load-fragment.c Merge pull request #3481 from poettering/relative-memcg 2016-06-16 13:56:23 +02:00
load-fragment.h core: add io controller support on the unified hierarchy 2016-05-05 16:43:06 -04:00
locale-setup.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
locale-setup.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
loopback-setup.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
loopback-setup.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
machine-id-setup.c machine-id-setup: explicitly fsync() the machine ID after writing 2016-04-22 16:06:20 +02:00
machine-id-setup.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
macros.systemd.in rpm: fix %systemd_user_post() macro. 2015-11-22 20:38:05 +01:00
main.c Merge pull request #3526 from fbuihuu/fix-console-log-color 2016-06-22 12:34:25 +02:00
Makefile
manager.c Ensure kdbus isn't used (#3501) 2016-06-18 17:24:23 -04:00
manager.h Merge pull request #3193 from htejun/cgroup-io-controller 2016-05-16 22:05:27 +02:00
mount-setup.c Ensure kdbus isn't used (#3501) 2016-06-18 17:24:23 -04:00
mount-setup.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
mount.c core: add minor comment 2016-06-06 22:03:31 +02:00
mount.h core: move enforcement of the start limit into per-unit-type code again 2016-05-02 13:08:00 +02:00
namespace.c namespace: Make private /dev noexec and readonly (#3263) 2016-05-15 22:34:05 -04:00
namespace.h Remove kdbus custom endpoint support 2016-02-11 22:12:04 +01:00
org.freedesktop.systemd1.conf core: added ListUnitsByNames dbus method (#3182) 2016-05-12 18:58:59 +02:00
org.freedesktop.systemd1.policy.in.in core: rework policykit hookup 2015-02-18 18:56:27 +01:00
org.freedesktop.systemd1.service
path.c core: move enforcement of the start limit into per-unit-type code again 2016-05-02 13:08:00 +02:00
path.h core: move enforcement of the start limit into per-unit-type code again 2016-05-02 13:08:00 +02:00
scope.c core: on unified we don't need to check u->pids: we can use proper notifications (#3531) 2016-06-14 14:08:01 +02:00
scope.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
selinux-access.c core: prefix selinux messages with "selinux: " 2016-04-21 00:12:29 -04:00
selinux-access.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
selinux-setup.c selinux: use *_raw API from libselinux 2016-03-04 01:58:28 +00:00
selinux-setup.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
service.c watchdog: Support changing watchdog_usec during runtime (#3492) 2016-06-22 13:26:05 +02:00
service.h watchdog: Support changing watchdog_usec during runtime (#3492) 2016-06-22 13:26:05 +02:00
show-status.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
show-status.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
shutdown.c core: rework reboot parameter logic a bit 2016-04-12 13:43:32 +02:00
slice.c Move no_instances information to shared/ 2016-05-01 19:58:59 -04:00
slice.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
smack-setup.c tree-wide: indentation fixes 2016-02-26 22:23:38 +01:00
smack-setup.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
socket.c tree-wide: htonl() is weird, let's use htobe32() instead (#3538) 2016-06-15 01:26:01 +02:00
socket.h core: move enforcement of the start limit into per-unit-type code again 2016-05-02 13:08:00 +02:00
swap.c Merge pull request #3170 from poettering/v230-preparation-fixes 2016-05-04 10:46:13 +02:00
swap.h core: move enforcement of the start limit into per-unit-type code again 2016-05-02 13:08:00 +02:00
system.conf core: add io controller support on the unified hierarchy 2016-05-05 16:43:06 -04:00
systemd.pc.in build-sys: move systemd.pc from pkgconfiglibdir back into pkgconfigdatadir 2015-04-21 20:35:17 +02:00
target.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
target.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
timer.c core: move enforcement of the start limit into per-unit-type code again 2016-05-02 13:08:00 +02:00
timer.h core: move enforcement of the start limit into per-unit-type code again 2016-05-02 13:08:00 +02:00
transaction.c core: don't log job status message in case job was effectively NOP (#3199) 2016-05-16 11:24:51 -04:00
transaction.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
triggers.systemd.in rpm triggers: add note about minimum supported version 2016-04-02 11:35:07 -04:00
umount.c core/mount: Don't unmount initramfs mounts 2016-03-04 15:16:34 +00:00
umount.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
unit-printf.c core: reuse manager_get_runtime_prefix() at more places 2016-04-12 13:43:30 +02:00
unit-printf.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
unit.c unit: properly comment generated comments in unit files 2016-06-14 20:01:45 +02:00
unit.h Merge pull request #3160 from htejun/cgroup-fixes-rev2 2016-05-07 15:08:57 -04:00
user.conf core: rename StartLimitInterval= to StartLimitIntervalSec= 2016-04-29 16:27:48 +02:00