Jeremy Soller
bbe2dd0ff4
Implement rfc 4
2016-11-25 12:09:54 -07:00
Jeremy Soller
5ef013eecf
Fix warnings, increase size of fs
2016-11-19 20:23:25 -07:00
Jeremy Soller
b17444e3ce
Allow compiling both livedisk and harddrive
2016-11-19 20:19:41 -07:00
Jeremy Soller
6b084d3ff5
Allow initfs to be written
2016-11-18 08:46:11 -07:00
Jeremy Soller
71fbf2e8f4
Add statvfs
2016-11-18 08:44:03 -07:00
Jeremy Soller
f2e15b81bd
Update orbutils, fix warnings
2016-11-17 14:23:41 -07:00
Jeremy Soller
a5f95cd2b1
Replace setuid, setgid with setreuid, setregid
2016-11-17 14:16:39 -07:00
Jeremy Soller
1fe0dae848
Cleanup zombies in container - show scheme namespace in context list
2016-11-17 12:24:46 -07:00
Jeremy Soller
93d43f7dbc
Add signal support - exit on signal
2016-11-17 12:12:02 -07:00
Jeremy Soller
3da2ea9d9a
More advanced setns syscall
2016-11-16 22:14:02 -07:00
Jeremy Soller
c290fd78db
Add ability to contain a process in a scheme sandbox
2016-11-16 20:54:38 -07:00
Jeremy Soller
0dd2befe4d
Pass through fcntl
2016-11-15 17:09:28 -07:00
Jeremy Soller
a9c7a4e773
Update to add chmod
2016-11-15 17:08:14 -07:00
Jeremy Soller
3e5a43d47d
Update syscall and rust, add fcntl for permissions
2016-11-15 16:12:51 -07:00
Jeremy Soller
3363859cb7
FileHandle from in exec close
2016-11-15 14:09:08 -07:00
Jeremy Soller
7c35351dc2
Merge branch 'cap2' of https://github.com/Yoric/redox into Yoric-cap2
2016-11-15 14:05:43 -07:00
Jeremy Soller
41f8e349af
Pass clone and exec to dup to identify dup location, make exec dup to implement cloexec
2016-11-14 20:55:31 -07:00
Jeremy Soller
7a241b28bf
Add sys:exe to get current executable
2016-11-14 20:54:33 -07:00
Jeremy Soller
3469310a19
Add fcntl
2016-11-14 12:15:34 -07:00
Jeremy Soller
a7bfe1232a
Implement more test arch features
2016-11-14 11:04:31 -07:00
Jeremy Soller
c3f38be7ca
Use core intrinsics instead of memset
2016-11-14 10:50:00 -07:00
David Teller
53c2c7a332
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
008ca3c207
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
3aa2f2d0c4
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
David Teller
c7735dd177
Introducing macros for defining SchemeId, Pid, ...
2016-11-14 07:46:43 +01:00
Jeremy Soller
99a15e791d
Get CPU features
2016-11-07 13:56:02 -07:00
Jeremy Soller
25988d6b71
Add memory information
2016-11-07 12:47:32 -07:00
Jeremy Soller
e3f7c9a692
Update scheme documentation
2016-11-04 13:38:40 -06:00
Jeremy Soller
194b674155
Add some documentation
2016-11-03 20:29:19 -06:00
Jeremy Soller
e9ae9b190c
Fix eventing in kernel
2016-11-03 16:02:44 -06:00
David Teller
dcf0a21da2
Improving self-documentation of the implementation of Registry. ( #732 )
2016-11-03 09:06:44 -06:00
pythoneer
6b8b7c03ab
increase process id range ( #729 )
2016-11-03 07:36:12 -06:00
Jeremy Soller
3fc5e52c64
Remove resource_sceme, Fix syscall crate name, add fmap
2016-11-02 19:48:25 -06:00
Jeremy Soller
190ccc2ef1
Fix #725 by checking mode in chdir
2016-11-01 14:49:51 -06:00
Jeremy Soller
fb20ed5436
Add contributing and readme
2016-11-01 12:04:50 -06:00
Jeremy Soller
dc53add6a9
Correct init process, allow waiting on any children, reap zombies in init
2016-11-01 11:04:53 -06:00
Jeremy Soller
a33ddef38f
remove take message
2016-10-31 22:12:10 -06:00
Jeremy Soller
7952e3ed63
Add null: and zero:
2016-10-31 21:54:56 -06:00
Jeremy Soller
aad20b0e8b
Remove debugging
2016-10-31 19:40:27 -06:00
Jeremy Soller
fd71b5e3f1
Fixes for TLS
2016-10-31 19:09:22 -06:00
Jeremy Soller
b98a814dfc
Remove rd/wrfsbase
2016-10-31 18:04:28 -06:00
Jeremy Soller
ed9c2b9d6c
Smp ( #23 )
...
* Fire up multiple processors
* Use IPIs to wake up secondary processors
* Much better exception information
* Modifications to show more information on fault
* WIP: Use real libstd
* Add TLS (not complete)
* Add random function, export getpid, cleanup
* Do not spin APs until new context
* Update rust
* Update rust
* Use rd/wrfsbase
* Implement TLS
* Implement compiler builtins and update rust
* Update rust
* Back to Redox libstd
* Update rust
2016-10-31 10:49:00 -06:00
Jeremy Soller
1a1fb1f5e1
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
David Teller
580f30e520
Documenting use of enable_and_halt(). ( #21 )
2016-10-24 16:03:03 -06:00
Jeremy Soller
e7a4b786b0
Add CPU ID lock
2016-10-23 11:24:10 -06:00
Jeremy Soller
c680f2531e
Make all perCPU mappings available in all contexts - this will allow APs to pick up threads
2016-10-23 09:13:12 -06:00
Jeremy Soller
ad152ad968
Remove unnecessary context switch in waitpid
2016-10-20 21:50:11 -06:00
Jeremy Soller
a97aa95c23
Improve wait condition performance
2016-10-20 21:49:47 -06:00
Jeremy Soller
962836aa47
Do not block on IRQ read, add more debugging to RTL8168/9
2016-10-20 15:49:17 -06:00
Jeremy Soller
9c3a06b8f9
Add nonblocking root scheme
2016-10-20 12:31:39 -06:00