Jeremy Soller
657394a7cb
Implement rfc 4
2016-11-25 12:09:54 -07:00
Jeremy Soller
d294d56b52
Add ability to contain a process in a scheme sandbox
2016-11-16 20:54:38 -07:00
Jeremy Soller
1f29d163b1
Update to add chmod
2016-11-15 17:08:14 -07:00
David Teller
9c90a8fe42
Converting file handles into a new type FileHandle
...
Keeping file handles (and pids, and scheme id, ...) as usize is a
footgun. Let's remove it.
2016-11-14 07:46:43 +01:00
David Teller
37a34ab7f7
Converting pids into a new type ContextId
...
Keeping pid (and file descriptor, and scheme id, ...) as usize is a
footgun. Let's remove it.
2016-11-14 07:46:43 +01:00
David Teller
d16515ea12
Converting scheme ids into a new type SchemeId
...
Keeping scheme ids (and pids, and file handles, ...) as usize is a
footgun. Let's remove it.
2016-11-14 07:46:43 +01:00
Jeremy Soller
e3317f05f7
Remove resource_sceme, Fix syscall crate name, add fmap
2016-11-02 19:48:25 -06:00
Jeremy Soller
324dbd52e4
Fix #725 by checking mode in chdir
2016-11-01 14:49:51 -06:00
Jeremy Soller
2491e4771e
Redo networking ( #22 )
...
* Rewriting network functions
* Add buffer to dup
Fix non-blocking handling by triggering once on enabling events to read to EOF
* Modifications for UDP API
* Implement TCP client side
* Add active close
* Add DMAR parser
* Implement basic TCP listening. Need to improve the state machine
* Reduce debugging
* Fixes for close procedure
* Updates to fix path processing in libstd
2016-10-26 13:19:56 -06:00
Jeremy Soller
77810d6713
Significant improvements for events - switch to event queue in orbital
2016-10-14 20:12:21 -06:00
Jeremy Soller
f28a128198
Add pipe2
2016-10-06 18:46:24 -06:00
Jeremy Soller
cb5d1fbc58
Add sudo command, add effective UID and GID, and groups file
2016-10-05 20:31:59 -06:00
Jeremy Soller
f38426e458
Implement unix permissions
2016-10-05 18:01:05 -06:00
Jeremy Soller
10c88e7424
Merge branch 'encoded_syscall'
2016-10-05 15:43:35 -06:00
Jeremy Soller
14d3798a48
mkdir and rmdir
2016-09-28 11:26:49 -06:00
Jeremy Soller
a68d5a5237
Fix dup
2016-09-28 11:22:01 -06:00
Jeremy Soller
4488cde338
Unlink syscall
2016-09-28 11:18:28 -06:00
Jeremy Soller
549fe53bc3
Encode many of the file syscalls
2016-09-25 11:20:59 -06:00
Jeremy Soller
0e8487cf83
Event support - demonstration in example scheme
2016-09-23 17:54:39 -06:00
Jeremy Soller
616dfbc055
WIP: Kevent
2016-09-23 15:47:53 -06:00
Jeremy Soller
94ef9dd14a
Add env
2016-09-23 11:01:53 -06:00
Jeremy Soller
0d762918e2
Implement fpath in initfs
2016-09-22 21:13:17 -06:00
Jeremy Soller
ed3170bdcc
Implement more system calls
2016-09-20 16:57:45 -06:00
Jeremy Soller
f60661820d
Create example userspace scheme. Remove kernel duplication of syscalls, use syscall crate instead
2016-09-20 16:23:28 -06:00
Jeremy Soller
abdbadfea3
Minimize locking in schemes. Reenable pcid and ion launch in init. WIP: Userspace schemes
2016-09-19 18:29:28 -06:00
Jeremy Soller
483d466b1a
Add fsync. Add env scheme, currently hardcoded to get ion to launch. Make serial IRQ send data to debug scheme
2016-09-18 17:55:35 -06:00
Jeremy Soller
1b056395bb
Canonicalize paths in open
2016-09-18 12:54:10 -06:00
Jeremy Soller
57f5699664
Update libstd. Add CWD and associated syscalls. Remove debugging
2016-09-17 19:01:34 -06:00
Jeremy Soller
2fffe3ee77
Fix close, add dup
2016-09-11 17:31:21 -06:00
Jeremy Soller
bd7bca30fa
Remove debugging messages, launch elf on APs
2016-09-10 19:03:31 -06:00
Jeremy Soller
aeadd17bb5
Connect schemes so that they can be used
2016-09-08 20:06:33 -06:00
Jeremy Soller
9afe0645e1
Cleanup to use question mark
2016-09-08 19:31:26 -06:00
Jeremy Soller
fb0df8530d
Debug reads writes better, set up stdio for BSP
2016-09-07 21:32:09 -06:00
Jeremy Soller
3b8f396229
Context list class, static context ID magic
2016-08-20 13:43:35 -06:00
Jeremy Soller
490dd16776
Refactor context list
2016-08-18 08:30:45 -06:00
Jeremy Soller
2de2d4cac4
Cleanup schemes list, remove lazy_static
2016-08-18 08:10:08 -06:00
Jeremy Soller
d383cfb595
Lazy static init of schemes
2016-08-16 11:04:14 -06:00
Jeremy Soller
19077d69db
WIP: Schemes
2016-08-14 21:38:32 -06:00
Jeremy Soller
8a6d9b8c9d
Test for BadFile
2016-08-14 19:17:55 -06:00
Jeremy Soller
4e270bb807
Add context and file structs
2016-08-14 18:16:56 -06:00
Jeremy Soller
a490ff13ae
Add syscall module
2016-08-14 15:58:35 -06:00