diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-10-31 14:05:25 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-11-01 10:28:04 +0200 |
| commit | 89e162f3916de5a4faef5bd626590d004bdcdc39 (patch) | |
| tree | 451f62b0aa55e39cb1d13f145d4fe3e2fd66a2ab /include | |
| parent | d89e51f7d4312ec9a3b8b7175475ef794c7c4d35 (diff) | |
| download | kmi-89e162f3916de5a4faef5bd626590d004bdcdc39.tar.gz kmi-89e162f3916de5a4faef5bd626590d004bdcdc39.zip | |
formatting and docs updates
Diffstat (limited to 'include')
| -rw-r--r-- | include/kmi/uapi.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/kmi/uapi.h b/include/kmi/uapi.h index 94ac6a7..87b51b1 100644 --- a/include/kmi/uapi.h +++ b/include/kmi/uapi.h @@ -769,6 +769,10 @@ SYSCALL_DECLARE2(set_handler, tid, pid); * Power off syscall. * * Either shut down or reboot system. + * At least currently, this should be called with care, requires that the caller has + * the POWER capability bit. Does not ensure that all threads are shut down gracefully, + * so caller should ensure that nothing else on the system is running when the + * shutdown occurs. * * @param t Current tcb. * @param type Type of shutdown. \see poweroff_type. |
