clients: use fine-grained capabilities for privileged protocols
This commit is contained in:
parent
e543646944
commit
ef53d72ff8
13 changed files with 78 additions and 55 deletions
|
|
@ -3,7 +3,7 @@ mod xwm;
|
|||
|
||||
use {
|
||||
crate::{
|
||||
client::ClientError,
|
||||
client::{ClientCaps, ClientError},
|
||||
compositor::DISPLAY,
|
||||
forker::{ForkerError, ForkerProxy},
|
||||
ifs::{
|
||||
|
|
@ -171,7 +171,7 @@ async fn run(
|
|||
Rc::new(client1),
|
||||
uapi::getuid(),
|
||||
pid,
|
||||
true,
|
||||
ClientCaps::all(),
|
||||
true,
|
||||
);
|
||||
let client = match client {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue