Jeremy Soller
4586dbc606
Workaround for an issue where a leftover grant is not unmapped before reap
2016-12-13 20:41:43 -07:00
Jeremy Soller
31d62f9272
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
c018bfe5ef
Implement O_DIRECTORY, switch to open for mkdir
2016-11-25 18:24:38 -07:00
Jeremy Soller
657394a7cb
Implement rfc 4
2016-11-25 12:09:54 -07:00
Jeremy Soller
35e9253365
Update orbutils, fix warnings
2016-11-17 14:23:41 -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
b551b30300
More advanced setns syscall
2016-11-16 22:14: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
1f29d163b1
Update to add chmod
2016-11-15 17:08:14 -07:00
Jeremy Soller
16f5c82796
FileHandle from in exec close
2016-11-15 14:09:08 -07:00
Jeremy Soller
297b6e09fc
Merge branch 'cap2' of https://github.com/Yoric/redox into Yoric-cap2
2016-11-15 14:05:43 -07:00
Jeremy Soller
28cb4c1f18
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
3c0abadfd0
Implement more test arch features
2016-11-14 11:04:31 -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
25743a89a2
Correct init process, allow waiting on any children, reap zombies in init
2016-11-01 11:04:53 -06:00
Jeremy Soller
b95a399a59
Remove debugging
2016-10-31 19:40:27 -06:00
Jeremy Soller
973fdcb20b
Fixes for TLS
2016-10-31 19:09:22 -06:00
Jeremy Soller
4fc9283aff
Remove rd/wrfsbase
2016-10-31 18:04:28 -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
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
a715e157d4
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
cbac6c4b8d
Remove unnecessary context switch in waitpid
2016-10-20 21:50:11 -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
ad448956d6
Add specification to vesad
...
Fix piping
Fix bug where resources are not closed
Add arpd
Remove question_mark features
2016-10-14 18:22:57 -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
64cc730eac
Time ( #11 )
...
* WIP: Time syscalls
* Count time from PIT using low tickrate
* Implement realtime
* Implement nanosleep with a tight loop
2016-10-06 20:50:14 -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
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
5e1d2f8c64
64-bit stat size, read entire executable in one go
2016-09-28 20:42:03 -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
dad81d3c46
WIP: AHCI drivers and more memory syscalls
2016-09-26 17:00:06 -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
c77fbdb69e
Folders in initfs
2016-09-22 20:26:33 -06:00
Jeremy Soller
bc1b503d25
Enable SSE and FPU
2016-09-22 16:14:45 -06:00