Commit Graph

218 Commits

Author SHA1 Message Date
Jeremy Soller
04d9d6b40a Specify crates.io versions 2017-01-13 15:09:56 -07:00
Jeremy Soller
35c2297724 Fix from @yoric - incorrect initialization of spin loop 2017-01-11 13:59:10 -07:00
Jeremy Soller
ed69fac232 Allow memory: to be accessed in all namespaces 2017-01-10 09:59:30 -07:00
Jeremy Soller
ba4588e84f Simplify path parsing 2017-01-10 09:22:59 -07:00
Jeremy Soller
433746e13c Move skipping to loop encompasing entire path 2017-01-10 09:19:02 -07:00
Jeremy Soller
e20135575c Refactor to move alloc_kernel in tree, and move io into syscall 2017-01-09 20:35:54 -07:00
Jeremy Soller
1c7b5680a4 Use syscall crate from git 2017-01-09 19:47:44 -07:00
Jeremy Soller
375e8addd2 Merge pull request #1 from cactorium/master
Allow for more complicated directory paths
2017-01-07 07:37:10 -07:00
Kelvin Ly
b0cafc1890 Correctly handle relative paths starting from the root directory 2017-01-07 08:00:16 -05:00
Kelvin Ly
046d8ac0c5 Fix typo and add functionality to more properly handle the parent of the root of the filesystem 2017-01-07 00:49:45 -05:00
Kelvin Ly
fc94bd411a Allow for more complicated directory paths 2017-01-07 00:41:32 -05:00
Jeremy Soller
06118a23dd Remove profiles 2017-01-04 16:33:51 -07:00
Jeremy Soller
882e64bdb9 Ignore Cargo.lock and target 2017-01-04 15:52:38 -07:00
Jeremy Soller
0c8ba636f4 Cleanup Redox repo, update Rust, remove old target 2017-01-03 15:55:00 -07:00
Jeremy Soller
04ed700216 Force flush of tables 2017-01-03 14:09:15 -07:00
Jeremy Soller
2cb8b1fd53 Use variable for temporary page location 2017-01-01 18:00:24 -07:00
Jeremy Soller
5ddd2ca458 Update coreutils, remove sys:memory 2016-12-28 17:22:10 -07:00
Jeremy Soller
aebe7152ce Add memory scheme to live configuration 2016-12-28 12:42:54 -07:00
Jeremy Soller
eb3f76f204 Add memory scheme, implement fstatvfs 2016-12-28 11:38:42 -07:00
Jeremy Soller
164648c200 Compile using real libstd, with no crate overrides 2016-12-27 16:47:08 -07:00
Jeremy Soller
515aa3671b Implement dup2. Add debugging lines. 2016-12-27 11:18:41 -07:00
Jeremy Soller
6c308ada46 Workaround for an issue where a leftover grant is not unmapped before reap 2016-12-13 20:41:43 -07:00
Jeremy Soller
4b5271b52b Remove debug message 2016-12-06 15:27:49 -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
528ce22617 More path cleanup 2016-11-29 18:15:53 -07:00
Jeremy Soller
ddac22a242 Cleanup path usage 2016-11-29 18:14:10 -07:00
Jeremy Soller
cc9fd700cf Update to make libstd use redox_syscall 2016-11-28 18:14:21 -07:00
Jeremy Soller
2b302bd6ea Implement O_DIRECTORY, switch to open for mkdir 2016-11-25 18:24:38 -07:00
Jeremy Soller
bbe2dd0ff4 Implement rfc 4 2016-11-25 12:09:54 -07:00
Jeremy Soller
5ef013eecf Fix warnings, increase size of fs 2016-11-19 20:23:25 -07:00
Jeremy Soller
b17444e3ce Allow compiling both livedisk and harddrive 2016-11-19 20:19:41 -07:00
Jeremy Soller
6b084d3ff5 Allow initfs to be written 2016-11-18 08:46:11 -07:00
Jeremy Soller
71fbf2e8f4 Add statvfs 2016-11-18 08:44:03 -07:00
Jeremy Soller
f2e15b81bd Update orbutils, fix warnings 2016-11-17 14:23:41 -07:00
Jeremy Soller
a5f95cd2b1 Replace setuid, setgid with setreuid, setregid 2016-11-17 14:16:39 -07:00
Jeremy Soller
1fe0dae848 Cleanup zombies in container - show scheme namespace in context list 2016-11-17 12:24:46 -07:00
Jeremy Soller
93d43f7dbc Add signal support - exit on signal 2016-11-17 12:12:02 -07:00
Jeremy Soller
3da2ea9d9a More advanced setns syscall 2016-11-16 22:14: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
0dd2befe4d Pass through fcntl 2016-11-15 17:09:28 -07:00
Jeremy Soller
a9c7a4e773 Update to add chmod 2016-11-15 17:08:14 -07:00
Jeremy Soller
3e5a43d47d Update syscall and rust, add fcntl for permissions 2016-11-15 16:12:51 -07:00
Jeremy Soller
3363859cb7 FileHandle from in exec close 2016-11-15 14:09:08 -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
41f8e349af 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
7a241b28bf Add sys:exe to get current executable 2016-11-14 20:54:33 -07:00
Jeremy Soller
3469310a19 Add fcntl 2016-11-14 12:15:34 -07:00
Jeremy Soller
a7bfe1232a Implement more test arch features 2016-11-14 11:04:31 -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