This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".

The branch, master has been updated
       via  30202dccdf54fc7efb0c4a4ccf6c9e2eadf6041a (commit)
      from  be1c927a37993205a61b6da7cd3c0a5f03609309 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 30202dccdf54fc7efb0c4a4ccf6c9e2eadf6041a
Author: ajrojas <[email protected]>
Date:   Thu Nov 26 11:07:33 2026 -0300

    shutdown: Only let root power the machine off
    
    acpi_sleep is restricted to root, but the shutdown translator runs as
    root and makes that call for whoever sends it shutdown_shutdown.  So
    once /servers/shutdown is set up, as Debian's setup-translators does,
    any user can power the machine off at once, without stopping services
    or syncing file systems.  The mode of the node does not prevent it: a
    lookup with no open flags succeeds for anyone, and the RPC needs no
    more.
    
    startup opens /servers/shutdown as root, so halt keeps working.
    Message-ID: <[email protected]>

-----------------------------------------------------------------------

Summary of changes:
 shutdown/shutdown.c | 7 +++++++
 1 file changed, 7 insertions(+)


hooks/post-receive
-- 
Hurd

Reply via email to