From 89e162f3916de5a4faef5bd626590d004bdcdc39 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Thu, 31 Oct 2024 14:05:25 +0200 Subject: formatting and docs updates --- include/kmi/uapi.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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. -- cgit v1.3