Commit graph

44 commits

Author SHA1 Message Date
Jeremy Soller 64118c158b Update to make libstd use redox_syscall 2016-11-28 18:14:21 -07:00
Jeremy Soller c018bfe5ef Implement O_DIRECTORY, switch to open for mkdir 2016-11-25 18:24:38 -07:00
Jeremy Soller 1f28ec72b7 Replace setuid, setgid with setreuid, setregid 2016-11-17 14:16:39 -07:00
Jeremy Soller bf292bc0d1 Add signal support - exit on signal 2016-11-17 12:12:02 -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 e078f1c040 Update submodules 2016-11-10 21:11:43 -07:00
Jeremy Soller 01d2c8d0f2 Update to use upstream libc and rand 2016-11-09 10:43:05 -07:00
Jeremy Soller 4e314292f8 Update submodules, add browser 2016-11-08 17:23:32 -07:00
Jeremy Soller 2c0982d1fc Update rand, add thread_local macro 2016-11-07 11:28:22 -07:00
Jeremy Soller a4d973fee2 Update libc and ralloc, remove ralloc from repo as it is fetched with cargo 2016-11-03 17:18:03 -06:00
Jeremy Soller e3317f05f7 Remove resource_sceme, Fix syscall crate name, add fmap 2016-11-02 19:48:25 -06:00
Jeremy Soller 259886b37f Update libstd, orbutils, orbital 2016-11-02 12:48:59 -06:00
Jeremy Soller 85f8500cea Update submodules 2016-11-01 15:08:20 -06:00
Jeremy Soller 27375c89c2 Update libstd, remove openlibm (now inside of libstd) 2016-10-31 12:37:29 -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 69b40c1c95 Update submodules 2016-10-26 13:28:04 -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 ead01ea2da Add random number scheme, update userutils to use it 2016-10-24 14:08:15 -06:00
Jeremy Soller 3634afe549 Update libstd 2016-10-23 20:54:29 -06:00
Jeremy Soller c805f53ade Update submodules 2016-10-23 19:01:30 -06:00
Jeremy Soller 6f189bd758 Update libc 2016-10-15 21:12:40 -06:00
Jeremy Soller 64402cfe6c Fixes for updating submodules 2016-10-14 12:00:25 -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 f38426e458 Implement unix permissions 2016-10-05 18:01:05 -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 7596648c6b Update libstd 2016-09-29 19:22:22 -06:00
Jeremy Soller 4943ddf955 Add nobuild qemu, clean smith, update libstd 2016-09-28 22:19:18 -06:00
Jeremy Soller 5e1d2f8c64 64-bit stat size, read entire executable in one go 2016-09-28 20:42:03 -06:00
Jeremy Soller be8cb1ff38 Add more utils 2016-09-28 11:07:54 -06:00
Jeremy Soller a31877e990 Update libstd 2016-09-26 17:13:57 -06:00
Jeremy Soller 94ef9dd14a Add env 2016-09-23 11:01:53 -06:00
Jeremy Soller bc1b503d25 Enable SSE and FPU 2016-09-22 16:14:45 -06:00
Jeremy Soller 76b0c7eeea Add wnohang, make PS/2 driver write input to display scheme, which then passes it to the shell 2016-09-22 10:10:27 -06:00
Jeremy Soller 2b915953c9 Increase buffer size when reading executable, update libstd 2016-09-20 09:51:26 -06:00
Jeremy Soller 791dbfa7ad Implement user schemes. Example in pcid. Currently deadlocks in UserInner 2016-09-20 08:47:16 -06:00
Jeremy Soller cfbaccf4d2 Complete execve - add argument support using safe ABI 2016-09-17 21:44:50 -06:00
Jeremy Soller 57f5699664 Update libstd. Add CWD and associated syscalls. Remove debugging 2016-09-17 19:01:34 -06:00
Jeremy Soller 0b2fd79816 Panic upon use of unsupported flags 2016-09-16 13:45:00 -06:00
Jeremy Soller f0431f4de1 Allow exec, emulate clone by pretending to be child 2016-09-11 18:03:10 -06:00
Jeremy Soller 8563961f28 Flush TLB correctly when remapping
Seperate mouse and keyboard structs in PS/2 driver
2016-09-11 15:02:35 -06:00
Jeremy Soller 44e8b99b46 Implement exec
Implement brk
2016-09-10 22:06:09 -06:00
Jeremy Soller 5d97fd75c7 Fix crash in libstd 2016-09-09 17:25:56 -06:00
Jeremy Soller 8dd26c5239 Compile init as executable using libstd 2016-09-09 17:13:16 -06:00