clients: grant layer-shell to unprivileged clients
This commit is contained in:
parent
ef53d72ff8
commit
886339ff96
7 changed files with 51 additions and 50 deletions
|
|
@ -1,7 +1,7 @@
|
|||
use {
|
||||
crate::{
|
||||
async_engine::SpawnedFuture,
|
||||
client::ClientCaps,
|
||||
client::{ClientCaps, CAP_LAYER_SHELL},
|
||||
state::State,
|
||||
utils::{errorfmt::ErrorFmt, oserror::OsError, xrd::xrd},
|
||||
},
|
||||
|
|
@ -154,7 +154,7 @@ impl Acceptor {
|
|||
state.eng.spawn(accept(
|
||||
acc.socket.insecure.clone(),
|
||||
state.clone(),
|
||||
ClientCaps::none(),
|
||||
CAP_LAYER_SHELL,
|
||||
)),
|
||||
];
|
||||
state.acceptor.set(Some(acc.clone()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue