feat(storage): scoped grants (subtree, ro/rw), narrow-only, release revokes all holders; IPC KEEP_DELEGATE opt-in; shell cd/pwd, programs get ro cwd
This commit is contained in:
@@ -88,7 +88,7 @@ impl<D: InputDevice> Server for InputServer<D> {
|
||||
}
|
||||
}
|
||||
|
||||
fn handle_call(&mut self, _badge: usize, words: [usize; 4], cap: Option<CapSlot>) -> ([usize; 4], Option<CapSlot>) {
|
||||
fn handle_call(&mut self, _badge: usize, words: [usize; 4], cap: Option<CapSlot>) -> ([usize; 4], Option<libkos::syscall::Give>) {
|
||||
if words[0] == types::input::SUBSCRIBE {
|
||||
self.subscriber = cap;
|
||||
return ([0; 4], None);
|
||||
|
||||
Reference in New Issue
Block a user