Commit Graph

164 Commits

Author SHA1 Message Date
Jeremy Soller 4db8f75a65 Add getpgid, setpgid 2017-07-23 14:44:17 -06:00
Ian Douglas Scott ff0915e390 Make sigaction() take Option<_> arguments 2017-07-10 21:23:56 -07:00
Jeremy Soller b41142430c 0.1.26: Restorer as part of syscall crate, add sigreturn 2017-07-10 20:12:20 -06:00
Ian Douglas Scott 44d4ead33e Add MODE_CHR flag for "character special" 2017-07-10 16:35:04 -07:00
Jeremy Soller 969a59666e Fix handler type 2017-07-09 20:37:43 -06:00
Jeremy Soller 9053a668e0 Convert to sigaction from signal 2017-07-09 20:31:34 -06:00
Jeremy Soller 9e7b7a168a 0.1.22: add futimens 2017-07-09 15:35:58 -06:00
Jeremy Soller f3c97bee78 Add signal flags 2017-07-05 21:05:16 -06:00
Ian Douglas Scott 8579c43626 Add O_NOFOLLOW flag 2017-07-03 19:18:54 -07:00
Jeremy Soller 1fbb0b942c Merge pull request #9 from ids1024/symlink
Add symlink-related flags
2017-06-29 06:34:07 -06:00
Ian Douglas Scott 1fc8732fc2 getppid 2017-06-28 22:06:54 -07:00
Ian Douglas Scott 5c22611316 Add symlink-related flags 2017-06-26 09:21:30 -07:00
Ian Douglas Scott d3c0c2b892 Use repr(C) for structs in data.rs 2017-06-02 19:17:15 -07:00
Ian Douglas Scott e540330fe0 Use AsRef<[u8]> for paths, instead of &str 2017-05-08 08:22:51 -07:00
Jeremy Soller 6188e4d040 Remove event 2017-01-09 20:26:19 -07:00
Jeremy Soller 49ede44e2d Fix build 2017-01-09 20:20:22 -07:00
Jeremy Soller 0362efec43 Add features 2017-01-09 20:16:29 -07:00
Jeremy Soller 0664629d75 Fix build 2017-01-09 20:15:19 -07:00
Jeremy Soller b5101b25cc Update syscall 2017-01-09 20:12:42 -07:00
Jeremy Soller 1193791d64 Add deref for timespec 2016-12-29 21:35:16 -07:00
Jeremy Soller 89f6ad9900 Add dup2 call 2016-12-27 11:17:38 -07:00
Jeremy Soller a61d37da57 Add dup2 call 2016-12-27 11:17:29 -07:00
Jeremy Soller 9b0c363b27 Add dup2 2016-12-27 10:02:58 -07:00
Jeremy Soller a076c42403 Remove intel directive 2016-12-20 11:14:44 -07:00
Jeremy Soller 148a354432 Add ARM, update version 2016-12-20 11:09:07 -07:00
Jeremy Soller 1908eea7e9 O_RDWR is now a set of flags, O_STAT added to allow open of dir or file 2016-11-25 17:58:33 -07:00
Jeremy Soller 7497b715cd Use open for mkdir 2016-11-25 16:57:46 -07:00
Jeremy Soller 2835586ee6 Match RFC spec 2016-11-25 12:05:30 -07:00
Jeremy Soller cc90408d14 Add fstatvfs syscall 2016-11-18 08:14:52 -07:00
Jeremy Soller d84ebc61b1 Add fstatvfs, check sizes on fstat 2016-11-18 08:06:27 -07:00
Jeremy Soller 8ce29a6ea2 Use setreuid, setregid for more control over process state 2016-11-17 14:09:40 -07:00
Jeremy Soller 7b8cc59890 More full featured syscall to set namespace 2016-11-16 21:52:24 -07:00
Jeremy Soller af9aa0c3b2 Add CLONE_NEWNS 2016-11-16 20:50:34 -07:00
Jeremy Soller 3ee7a7ff0f Add chmod, update cargo version 2016-11-15 16:43:49 -07:00
Jeremy Soller 681f629afb Add flags to control owner, mode 2016-11-15 15:28:44 -07:00
Jeremy Soller f48cbf22f3 Add fcntl 2016-11-14 12:14:19 -07:00
Jeremy Soller 485a3b8378 Add more documentation 2016-11-10 20:32:19 -07:00
Jeremy Soller 2d238fada7 Add some documentation 2016-11-03 20:28:59 -06:00
Jeremy Soller 77c43866db Update stat 2016-11-03 13:49:50 -06:00
Jeremy Soller a21644c278 Add fmap 2016-11-02 19:26:21 -06:00
Jeremy Soller 5a687dfeb5 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 1f2421a1c8 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 96846aba3f Add sys scheme to allow inspection of processes. WIP: Signals. 2016-10-13 21:00:51 -06:00
Jeremy Soller 78f58afbec 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 207031175d 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 8f44c1556a Add sudo command, add effective UID and GID, and groups file 2016-10-05 20:31:59 -06:00
Jeremy Soller 0bbda9d776 Implement unix permissions 2016-10-05 18:01:05 -06:00
Jeremy Soller 957cd4501e Merge branch 'encoded_syscall' 2016-10-05 15:43:35 -06:00
Jeremy Soller 0e7fec4adf Add permissions to the filesystem, preliminary permissions to the syscalls 2016-10-05 14:24:08 -06:00
Jeremy Soller 837430e604 64-bit stat size, read entire executable in one go 2016-09-28 20:42:03 -06:00