Commit graph

23 commits

Author SHA1 Message Date
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
Jeremy Soller cab27d0f67 Add some documentation 2016-11-03 20:29:19 -06:00
Jeremy Soller 25743a89a2 Correct init process, allow waiting on any children, reap zombies in init 2016-11-01 11:04:53 -06:00
Jeremy Soller 149b0297a4 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 221b4c0116 Add CPU ID lock 2016-10-23 11:24:10 -06:00
Jeremy Soller d18bf07f3e Add sys scheme to allow inspection of processes. WIP: Signals. 2016-10-13 21:00:51 -06:00
Jeremy Soller 224c43f761 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 cb5d1fbc58 Add sudo command, add effective UID and GID, and groups file 2016-10-05 20:31:59 -06:00
Jeremy Soller f4a1d06f07 Add permissions to the filesystem, preliminary permissions to the syscalls 2016-10-05 14:24:08 -06:00
Jeremy Soller b3d980b9ac Implement vfork 2016-09-28 21:33:54 -06:00
Jeremy Soller a716eee4c3 Fix CWD without trainling slash 2016-09-28 11:52:29 -06:00
Jeremy Soller 0e8487cf83 Event support - demonstration in example scheme 2016-09-23 17:54:39 -06:00
Jeremy Soller 94ef9dd14a Add env 2016-09-23 11:01:53 -06:00
Jeremy Soller 5b3aeb4a9f Fix path lookup 2016-09-22 21:27:33 -06:00
Jeremy Soller bc1b503d25 Enable SSE and FPU 2016-09-22 16:14:45 -06:00
Jeremy Soller 941fc0b494 Grant to allow passing data to scheme handler 2016-09-20 14:50:04 -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 dfbcca99dd Add exit status to status enum 2016-09-17 09:23:36 -06:00
Jeremy Soller e680a84a57 Allow cloning of files and memory 2016-09-16 18:27:54 -06:00
Jeremy Soller 8ee9f1d7da work on shared memory accross threads 2016-09-16 17:51:27 -06:00
Jeremy Soller 6ad843184d Collapse status of context into one status variable 2016-09-16 11:10:53 -06:00
Jeremy Soller fbbfe16764 Organize context module 2016-09-16 10:44:52 -06:00