Liav A
8d0dbdeaac
Kernel+Userland: Introduce a new way to reboot and poweroff the machine
...
This change removes the halt and reboot syscalls, and create a new
mechanism to change the power state of the machine.
Instead of how power state was changed until now, put a SysFS node as
writable only for the superuser, that with a defined value, can result
in either reboot or poweroff.
In the future, a power group can be assigned to this node (which will be
the GroupID responsible for power management).
This opens an opportunity to permit to shutdown/reboot without superuser
permissions, so in the future, a userspace daemon can take control of
this node to perform power management operations without superuser
permissions, if we enforce different UserID/GroupID on that node.
2021-09-12 11:52:16 +02:00
..
2021-08-28 14:43:07 +01:00
2021-08-22 10:29:06 +02:00
2021-08-18 10:33:48 +02:00
2021-08-14 19:58:11 +02:00
2021-08-22 10:29:06 +02:00
2021-09-10 00:00:03 +02:00
2021-07-21 17:45:24 +02:00
2021-07-13 19:02:20 +01:00
2021-08-28 14:43:07 +01:00
2021-07-17 01:45:20 +02:00
2021-09-06 01:55:14 +02:00
2021-08-14 22:32:00 +01:00
2021-08-14 22:32:00 +01:00
2021-06-06 22:16:11 +02:00
2021-07-27 13:15:16 +02:00
2021-05-08 18:11:52 +02:00
2021-05-30 19:37:32 +02:00
2021-08-14 19:58:11 +02:00
2021-08-14 19:58:11 +02:00
2021-08-22 10:29:06 +02:00
2021-07-08 10:11:00 +02:00
2021-08-14 22:32:00 +01:00
2021-08-19 22:27:26 +02:00
2021-07-08 10:11:00 +02:00
2021-07-15 11:16:58 +02:00
2021-07-17 13:00:33 +02:00
2021-07-15 23:51:59 +02:00
2021-07-22 04:18:39 +04:30
2021-08-22 10:29:06 +02:00
2021-07-13 23:19:33 +02:00
2021-06-05 10:56:37 +02:00
2021-05-08 19:14:21 +02:00
2021-08-14 18:42:14 +02:00
2021-09-10 18:05:46 +03:00
2021-05-09 21:16:11 +02:00
2021-09-11 20:36:43 +03:00
2021-08-14 19:58:11 +02:00
2021-06-08 17:29:57 +02:00
2021-07-06 17:25:34 +02:00
2021-07-04 01:07:28 +02:00
2021-05-30 08:41:17 +02:00
2021-05-06 13:52:46 +01:00
2021-05-14 22:24:02 +02:00
2021-08-12 18:56:30 +02:00
2021-07-30 21:26:31 +01:00
2021-08-14 22:32:00 +01:00
2021-08-14 22:32:00 +01:00
2021-09-07 13:53:14 +02:00
2021-09-11 19:05:00 +02:00
2021-09-11 19:05:00 +02:00
2021-08-31 01:37:30 +02:00
2021-05-30 17:42:03 +01:00
2021-05-01 15:56:16 +02:00
2021-08-22 15:23:25 +02:00
2021-08-18 10:33:48 +02:00
2021-05-14 22:24:02 +02:00
2021-07-17 01:45:20 +02:00
2021-05-14 23:32:10 +02:00
2021-05-30 14:56:50 +01:00
2021-09-09 21:49:49 +02:00
2021-08-14 19:58:11 +02:00
2021-08-08 00:03:45 +02:00
2021-06-04 10:39:41 +02:00
2021-06-28 22:29:28 +02:00
2021-05-25 17:36:02 +02:00
2021-06-10 20:21:08 +01:00
2021-05-07 21:12:09 +02:00
2021-09-11 20:36:43 +03:00
2021-08-14 19:58:11 +02:00
2021-08-12 21:10:44 +02:00
2021-08-14 19:58:11 +02:00
2021-05-08 19:14:21 +02:00
2021-09-12 11:52:16 +02:00
2021-09-12 11:52:16 +02:00
2021-05-30 14:56:50 +01:00
2021-05-30 14:56:50 +01:00
2021-07-27 16:53:16 +02:00
2021-07-27 16:53:16 +02:00