diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-06-22 06:41:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-22 06:41:34 -0700 |
commit | e8fbda4d21305d0e85ff57aa93fca2520437ddc0 (patch) | |
tree | fa6c907e611ed5bc2eafd5a399528dcffa3e60f7 /include/sway/server.h | |
parent | abdbf3c1d735b70c28bc2d2f776cad2ed6fb420f (diff) | |
parent | a5c091e3026eb41d3a4daef3db95b47a3445aa11 (diff) |
Merge pull request #2146 from tobiasblass/prepare_server_before_dropping_privileges
Perform (partial) server initialization before dropping privileges.
Diffstat (limited to 'include/sway/server.h')
-rw-r--r-- | include/sway/server.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/server.h b/include/sway/server.h index 65d96e7a..963d4dc1 100644 --- a/include/sway/server.h +++ b/include/sway/server.h @@ -47,6 +47,8 @@ struct sway_server { struct sway_server server; +/* Prepares an unprivileged server_init by performing all privileged operations in advance */ +bool server_privileged_prepare(struct sway_server *server); bool server_init(struct sway_server *server); void server_fini(struct sway_server *server); void server_run(struct sway_server *server); |