Jeremy Soller
515aa3671b
Implement dup2. Add debugging lines.
2016-12-27 11:18:41 -07:00
Jeremy Soller
a46a68b5c7
Use isohybrid to generate a USB stick friendly ISO
...
Add assertions to verify that grants are unmapped
Fix grant unmapping in exec and exit, thus fixing some crashes without network cards
2016-12-06 14:47:05 -07:00
Jeremy Soller
bbe2dd0ff4
Implement rfc 4
2016-11-25 12:09:54 -07:00
Jeremy Soller
93d43f7dbc
Add signal support - exit on signal
2016-11-17 12:12: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
7c35351dc2
Merge branch 'cap2' of https://github.com/Yoric/redox into Yoric-cap2
2016-11-15 14:05:43 -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
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
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
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
e7a4b786b0
Add CPU ID lock
2016-10-23 11:24:10 -06:00
Jeremy Soller
99fee86ef9
Significant improvements for events - switch to event queue in orbital
2016-10-14 20:12:21 -06:00
Jeremy Soller
c484241e1c
Add sys scheme to allow inspection of processes. WIP: Signals.
2016-10-13 21:00:51 -06:00
Jeremy Soller
d778f0b040
Orbital ( #16 )
...
* Port previous ethernet scheme
* Add ipd
* Fix initfs rebuilds, use QEMU user networking addresses in ipd
* Add tcp/udp, netutils, dns, and network config
* Add fsync to network driver
* Add dns, router, subnet by default
* Fix e1000 driver. Make ethernet and IP non-blocking to avoid deadlocks
* Add orbital server, WIP
* Add futex
* Add orbutils and orbital
* Update libstd, orbutils, and orbital
Move ANSI key encoding to vesad
* Add orbital assets
* Update orbital
* Update to add login manager
* Add blocking primitives, block for most things except waitpid, update orbital
* Wait in waitpid and IRQ, improvements for other waits
* Fevent in root scheme
* WIP: Switch to using fevent
* Reorganize
* Event based e1000d driver
* Superuser-only access to some network schemes, display, and disk
* Superuser root and irq schemes
* Fix orbital
2016-10-13 17:21:42 -06:00
Jeremy Soller
df87992af4
Add sudo command, add effective UID and GID, and groups file
2016-10-05 20:31:59 -06:00
Jeremy Soller
82d2c49543
Add permissions to the filesystem, preliminary permissions to the syscalls
2016-10-05 14:24:08 -06:00
Jeremy Soller
4f73b7b5a5
Implement vfork
2016-09-28 21:33:54 -06:00
Jeremy Soller
bfaa564afd
Fix CWD without trainling slash
2016-09-28 11:52:29 -06:00
Jeremy Soller
1e2e5a5d31
Event support - demonstration in example scheme
2016-09-23 17:54:39 -06:00
Jeremy Soller
e390c2d00c
WIP: Kevent
2016-09-23 15:47:53 -06:00
Jeremy Soller
3034daac31
Add env
2016-09-23 11:01:53 -06:00
Jeremy Soller
750a2c1f9d
Fix path lookup
2016-09-22 21:27:33 -06:00
Jeremy Soller
35ad65bbda
Enable SSE and FPU
2016-09-22 16:14:45 -06:00
Jeremy Soller
ec240ef778
Clone grants
2016-09-20 22:14:08 -06:00
Jeremy Soller
b01eb8e47b
WIP: VESA driver. Make initfs generated by code
2016-09-20 21:52:45 -06:00
Jeremy Soller
4ee9a6b492
Create example userspace scheme. Remove kernel duplication of syscalls, use syscall crate instead
2016-09-20 16:23:28 -06:00
Jeremy Soller
3ae7dc8d98
Grant to allow passing data to scheme handler
2016-09-20 14:50:04 -06:00
Jeremy Soller
298d999300
Seperate PS/2 keyboard and mouse driver
2016-09-19 09:43:30 -06:00
Jeremy Soller
4403e3e7ac
Allow userspace to handle IRQs (WIP). Create basic keyboard handler
2016-09-18 20:17:08 -06:00
Jeremy Soller
8ba97b8cff
Canonicalize paths in open
2016-09-18 12:54:10 -06:00
Jeremy Soller
75016bfe39
Update libstd. Add CWD and associated syscalls. Remove debugging
2016-09-17 19:01:34 -06:00
Jeremy Soller
c5afb10b00
Add exit status to status enum
2016-09-17 09:23:36 -06:00
Jeremy Soller
959ecdad04
Fix creation of kstack
2016-09-17 09:18:35 -06:00
Jeremy Soller
9bc242c179
Implement the typical use of waitpid
2016-09-16 18:50:47 -06:00
Jeremy Soller
5f570fa5b4
Allow cloning of files and memory
2016-09-16 18:27:54 -06:00
Jeremy Soller
91fc7c96ab
work on shared memory accross threads
2016-09-16 17:51:27 -06:00
Jeremy Soller
356ba325ea
Collapse status of context into one status variable
2016-09-16 11:10:53 -06:00
Jeremy Soller
0f27cd24ce
Organize context module
2016-09-16 10:44:52 -06:00
Jeremy Soller
1711303ef8
Fix implementation of clone and exec. Now the init process can load and execute the pci driver
2016-09-15 08:35:07 -06:00
Jeremy Soller
8607367058
WIP: Create new page table for clone
2016-09-14 22:21:52 -06:00
Jeremy Soller
932026fed8
WIP: Copy usermode stack
2016-09-13 21:27:27 -06:00
Jeremy Soller
d3ace7dcad
Allow cloning of kernel threads. Userspace breaks potentially due to stack aliasing
2016-09-13 20:06:39 -06:00
Jeremy Soller
d1c0e3b5da
Use flush_all instead of flush for performance
2016-09-13 11:20:55 -06:00