Commit Graph

357 Commits

Author SHA1 Message Date
4lDO2 4d159ce1c7 WIP: Add next_opaque_id 2024-09-10 09:10:16 +02:00
4lDO2 c043410366 Document (sub)Buffer OOB write ability. 2024-09-09 11:14:57 +02:00
4lDO2 99d5ea8edf Make sure unused header bytes are cleared. 2024-09-09 11:04:21 +02:00
4lDO2 25162a0a08 Future-proof dirent interface. 2024-09-08 22:22:14 +02:00
4lDO2 eefe3c2e3c Add SYS_GETDENTS 2024-09-08 22:22:13 +02:00
4lDO2 227f7fd487 Convert repr(packed) to repr(C, packed).
This is required by crates like bytemuck.
2024-09-08 20:46:07 +02:00
4lDO2 1d098c4e1d Rustfmt. 2024-09-08 20:32:32 +02:00
4lDO2 99f49db824 Also read pctl in currently_pending_unblocked. 2024-07-17 17:30:08 +02:00
Jeremy Soller 6128f1acf0 0.5.3 2024-07-15 09:29:54 -06:00
4lDO2 387f1c3326 Check SA_NOCLDSTOP in sig_will_ign. 2024-07-04 15:10:15 +02:00
4lDO2 f0483e3b33 Fix i686 CAS. 2024-07-03 13:47:00 +02:00
4lDO2 a8dfcdf7df Add FakeThread test abstraction. 2024-07-01 13:09:45 +02:00
4lDO2 9f59be32eb Add loom test, and move signal ABI to separate mod. 2024-06-30 12:01:04 +02:00
4lDO2 0bf7b6e73b Put sigaction-like struct in shmem. 2024-06-29 13:54:02 +02:00
4lDO2 87b8ac6581 Add currently_pending_unblocked. 2024-06-28 16:40:01 +02:00
4lDO2 9609c7bc26 Implement CAS-based 64-bit fetch_add on i686. 2024-06-27 21:29:22 +02:00
4lDO2 bda8fe89c6 Reduce saved sig registers to ip and 'archdep'. 2024-06-27 11:13:49 +02:00
4lDO2 bf01feb121 Add lock prefix to cmpxchg8b :) 2024-06-26 12:50:28 +02:00
4lDO2 b30d93aed0 Re-document control word mask as 'unmask'. 2024-06-25 15:10:54 +02:00
4lDO2 d9a6e334e0 Fix cmpxchg8b invocation. 2024-06-25 15:10:54 +02:00
4lDO2 6345199629 Fix i686. 2024-06-25 15:10:54 +02:00
4lDO2 0929c6500c Implement AtomicU64 for i686 using cmpxchg8b. 2024-06-25 15:10:54 +02:00
4lDO2 47c186630e Improve signal data structure defs. 2024-06-25 15:10:54 +02:00
4lDO2 0c1162979a Add preliminary nocldstop signal bit. 2024-06-25 15:10:54 +02:00
4lDO2 0b2a05ee1f Add sig proc control struct. 2024-06-25 15:10:54 +02:00
4lDO2 e154b74151 Add sig_bit. 2024-06-25 15:10:53 +02:00
4lDO2 b7d65e6b9d Add saved_rflags, some other unrelated flags. 2024-06-25 15:10:53 +02:00
4lDO2 2f944328e5 Remove unused defs, add 'inhibit' sigcontrol flag. 2024-06-25 15:10:53 +02:00
4lDO2 ffbef13397 Remove SignalStack, add Sigcontrol struct. 2024-06-25 15:10:53 +02:00
4lDO2 bd79228c7e Remove sig{procmask,action,return}. 2024-06-25 15:10:53 +02:00
4lDO2 13a0b9b5d5 Change SetSighandlerData. 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
4lDO2 10ce552835 0.5.2 2024-06-14 14:01:48 +02:00
Jacob Lorentzon ef099bdd2e Improved scheme protocol with offset+flags as read/write args 2024-06-14 11:18:10 +00:00
4lDO2 3e9d68c6b2 Fix compilation for nonredox. 2024-03-17 18:09:50 +01:00
4lDO2 44e0cb32df 0.5.1 2024-03-17 18:07:59 +01:00
4lDO2 7163519226 Implement Clone and Copy for Error. 2024-03-12 17:15:36 +01:00
4lDO2 ba54545696 Add SetSighandlerData. 2024-03-12 17:15:36 +01:00
4lDO2 74f2e81992 Use 64-bit masks in sigprocmask. 2024-03-12 17:15:36 +01:00
4lDO2 523a210364 Expand SignalStack struct. 2024-03-12 17:15:20 +01:00
4lDO2 0c464e7421 Add SignalStack, shrink sa_mask. 2024-03-12 17:15:20 +01:00
4lDO2 553370e80e 0.5.0 2024-03-12 16:59:03 +01:00
4lDO2 0100632a4b Add KSMSG_CANCEL. 2024-03-12 16:48:52 +01:00
4lDO2 612dceed00 Remove obsolete tests for fexec and clone. 2024-03-12 16:47:10 +01:00
4lDO2 5948affdd5 Remove SYS_PHYSMAP. 2023-12-09 12:20:36 +01:00
4lDO2 245cdf9caa Remove physalloc* and physfree 2023-12-09 12:20:36 +01:00
4lDO2 adff625d3d Remove Dma module. 2023-12-09 12:20:36 +01:00
4lDO2 727bd870e0 Add GRANT_PHYS_CONTIGUOUS. 2023-12-09 12:20:36 +01:00
Anshul Gupta 9e23908eec Updates bitflags to 2.4
Attempts to preserve backwards compatibility by deriving additional
traits & adding a deprecated unsafe function `from_bits_unchecked`.

However, the replacement of `.bits` field to `.bits()` method is a
breaking change.
2023-11-15 17:04:26 -08:00
4lDO2 06d569933f Add SYS_SENDFD 2023-10-19 15:00:28 +00:00