Commit Graph

54 Commits

Author SHA1 Message Date
4lDO2 178461f6fb Remove remnants of the old packet format. 2025-12-27 15:10:54 +01:00
4lDO2 e4cc6bfcd5 Make arch module available on nonredox.
This both reduces IDE confusion, and allows compiling the kernel for
host, in order to run unit tests.
2024-09-14 10:57:42 +02:00
4lDO2 eefe3c2e3c Add SYS_GETDENTS 2024-09-08 22:22:13 +02:00
4lDO2 1d098c4e1d Rustfmt. 2024-09-08 20:32:32 +02:00
4lDO2 9f59be32eb Add loom test, and move signal ABI to separate mod. 2024-06-30 12:01:04 +02:00
4lDO2 47c186630e Improve signal data structure defs. 2024-06-25 15:10:54 +02:00
4lDO2 ffbef13397 Remove SignalStack, add Sigcontrol struct. 2024-06-25 15:10:53 +02:00
4lDO2 0a83083aca Remove integration tests from CI.
This made sense when the syscall ABI was stable, but the syscall CI has
been failing for years by now. It's better to have a minimal CI
enforcing unit tests (todo) pass and all arches compile. All integration
tests should instead be done in acid.
2024-06-25 13:07:56 +02:00
Jacob Lorentzon ef099bdd2e Improved scheme protocol with offset+flags as read/write args 2024-06-14 11:18:10 +00:00
4lDO2 67cf0997dc Remove clone() and Daemon abstraction. 2022-07-27 10:48:48 +02:00
Jeremy Soller aa7d36ed83 0.2.15 - fix x86 32-bit path 2022-07-22 16:22:32 -06:00
Jeremy Soller c4d3a40a96 0.2.13 - remove x86 and arm 32-bit syscalls 2022-03-30 10:32:42 -06:00
4lDO2 418051ac78 Replace llvm_asm with asm to support stable Rust. 2022-03-12 10:36:30 +01:00
4lDO2 efb5b3ee5b Replace ! with Infallible for now. 2022-03-12 10:36:07 +01:00
Jeremy Soller 87ffd8b862 0.2.11 - add daemon abstraction 2022-02-28 15:03:51 -07:00
coolreader18 9c7053d77f Specify feature(const_fn_trait_bound) 2021-06-15 19:53:58 +00:00
Jeremy Soller ca3b4d2b94 Add riscv64 syscall implementation and register stubs 2021-05-04 08:09:28 -06:00
Jeremy Soller ee9a92367e 0.2.4 - use correct arch when target_os is none 2021-01-11 07:00:34 -07:00
jD91mZM2 7f668b27cf Replace llvm_asm in x86_64 code with asm
Also removes the syscall1_clobber call, because `clone` now saves the
registers in the kernel anyway.
2020-08-01 16:52:16 +02:00
David L. Campbell 5cc40831ef Rename asm to llvm_asm. 2020-07-27 17:05:30 -07:00
jD91mZM2 6ba71e7e06 Add ptrace exit breakpoint 2019-08-15 14:21:50 +02:00
jD91mZM2 df993cc26e Switch to 2018 edition 2019-07-24 21:41:53 +02:00
Jeremy Soller e3fd644ba9 Compile on non-redox platforms but return ENOSYS for all system calls 2019-07-04 07:44:09 -06:00
Jeremy Soller 43c562a921 0.1.55:
- deprecate chmod
- add tests
- CI using redoxer
2019-07-03 21:29:08 -06:00
Jeremy Soller ea1f9e098b Compile empty on non-redox platforms 2019-07-03 20:12:32 -06:00
Jeremy Soller a5c19c54de Do not require transpose_result, it is now stable 2019-04-07 10:51:41 -06:00
Jeremy Soller 0c30603ec0 Add aarch64 2018-11-26 11:38:53 -07:00
Jeremy Soller 0ab552da9a Transpose result in SchemeBlock 2018-05-30 09:39:30 -06:00
Ian Douglas Scott 3fc22e2e4c Remove core_intrinsics feature
Stable versions of these functions now exist under core::ptr, so use
those.
2018-01-06 22:38:37 -08: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 b5101b25cc Update syscall 2017-01-09 20:12:42 -07:00
Jeremy Soller 148a354432 Add ARM, update version 2016-12-20 11:09:07 -07:00
Jeremy Soller 2d238fada7 Add some documentation 2016-11-03 20:28:59 -06:00
Jeremy Soller a21644c278 Add fmap 2016-11-02 19:26:21 -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 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 33a533665b WIP: AHCI drivers and more memory syscalls 2016-09-26 17:00:06 -06:00
Jeremy Soller a1311b50d7 Encode many of the file syscalls 2016-09-25 11:20:59 -06:00
Jeremy Soller a57b45e86b WIP: Kevent 2016-09-23 15:47:53 -06:00
Jeremy Soller 416ec07ea4 WIP: VESA driver. Make initfs generated by code 2016-09-20 21:52:45 -06:00
Jeremy Soller da8e5db5c8 Implement more system calls 2016-09-20 16:57:45 -06:00
Jeremy Soller a5cfb8f363 Create example userspace scheme. Remove kernel duplication of syscalls, use syscall crate instead 2016-09-20 16:23:28 -06:00
Jeremy Soller 62f2f83ec8 Implement user schemes. Example in pcid. Currently deadlocks in UserInner 2016-09-20 08:47:16 -06:00
Jeremy Soller 05aa4d16da Complete execve - add argument support using safe ABI 2016-09-17 21:44:50 -06:00