Add permissions to the filesystem, preliminary permissions to the syscalls

This commit is contained in:
Jeremy Soller
2016-10-05 14:24:08 -06:00
parent 1983def7f4
commit 7eb3a5f23a
+3
View File
@@ -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,