From 7eb3a5f23ad6cdfbf3bbd10ccf28d209b03855ff Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Wed, 5 Oct 2016 14:24:08 -0600 Subject: [PATCH] Add permissions to the filesystem, preliminary permissions to the syscalls --- vesad/src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vesad/src/main.rs b/vesad/src/main.rs index 74c17f93f1..5deb03e231 100644 --- a/vesad/src/main.rs +++ b/vesad/src/main.rs @@ -258,6 +258,9 @@ fn main() { if ! scheme.input.borrow().is_empty() && *scheme.requested.borrow() & EVENT_READ == EVENT_READ { let event_packet = Packet { id: 0, + pid: 0, + uid: 0, + gid: 0, a: syscall::number::SYS_FEVENT, b: 0, c: EVENT_READ,