Commit Graph

  • 35c9485701 WIP: Implement process signals for i686 trampoline. 4lDO2 2024-07-20 13:01:30 +02:00
  • 289f3147ec Merge branch 'various_graphics_cleanups' into 'master' Jeremy Soller 2024-07-19 23:22:01 +00:00
  • cbe102a0d3 Merge branch 'rustfmt_graphics' into 'master' Jeremy Soller 2024-07-19 23:21:15 +00:00
  • 2e341fa742 Directly pass FrameBuffer to redraw and sync bjorn3 2024-07-19 22:18:34 +02:00
  • 53c02b5322 Move the framebuffer resizing code into a FrameBuffer method bjorn3 2024-07-19 22:12:48 +02:00
  • 857773393d Ensure fields of SyncRect are not reordered bjorn3 2024-07-19 21:56:56 +02:00
  • ef29520cf5 Avoid ptr2int2ptr casts in GraphicScreen::sync bjorn3 2024-07-19 21:51:51 +02:00
  • b33ea2b53a Fix a FIXME in display_fd_unmap bjorn3 2024-07-19 21:50:15 +02:00
  • 1a41bcab14 Enforce formatting in CI bjorn3 2024-07-19 21:39:58 +02:00
  • 8a91bae0a6 Remove unnecessary unsafe block bjorn3 2024-07-19 21:25:52 +02:00
  • 747898dfb2 Run rustfmt on the entire graphics subsystem bjorn3 2024-07-19 21:24:48 +02:00
  • 25a98ba914 Merge branch 'remove_inputd_g' into 'master' Jeremy Soller 2024-07-19 19:19:38 +00:00
  • ebb2243538 Remove all traces of VtMode bjorn3 2024-07-19 21:18:09 +02:00
  • 5f1fdec858 Remove inputd -G bjorn3 2024-07-19 21:11:02 +02:00
  • 232f6e9ade Fix hardcoding of SUPPORTS_AVX. 4lDO2 2024-07-19 18:44:21 +02:00
  • 518ba4c884 Raise unblocked signals in setmask, restore control flag. 4lDO2 2024-07-19 18:39:38 +02:00
  • 44ec1676ae Activate new threads' TCBs early. 4lDO2 2024-07-18 21:11:43 +02:00
  • 01ce7f5aa1 Fix sigchld test. 4lDO2 2024-07-18 19:39:02 +02:00
  • d458b6cdcd Handle waitpid WUNTRACED stop signals properly. 4lDO2 2024-07-18 16:48:12 +02:00
  • 1067295d65 Fix signal restart logic. 4lDO2 2024-07-18 16:47:49 +02:00
  • 6dd9332af2 WIP: Handle spurious signals properly. 4lDO2 2024-07-18 15:08:35 +02:00
  • ff7eace6a7 Obtain offset of sig pctl more sanely. 4lDO2 2024-07-17 19:00:21 +02:00
  • ac5ac928f2 Implement raise() using pthread_kill. 4lDO2 2024-07-17 17:41:10 +02:00
  • 4354bc94e8 Fix process-targeted signals. 4lDO2 2024-07-17 16:42:17 +02:00
  • 15cdc4e0aa Fix (modified) audiod. 4lDO2 2024-07-17 16:04:17 +02:00
  • d00ec085e1 WIP: Support receiving process-targeted signals. 4lDO2 2024-07-17 15:29:31 +02:00
  • 0b3be2d190 Write correct value to kernel when exiting thread. 4lDO2 2024-07-15 16:38:53 +02:00
  • 4cb6644181 Implement exit_this_thread on Redox. 4lDO2 2024-07-15 14:01:09 +02:00
  • c286dd6d33 Use new-thread proc API 4lDO2 2024-07-09 16:13:57 +02:00
  • bf26de70e2 Add setresuid/setresgid (suid/sgid stub on Redox). 4lDO2 2024-07-18 23:54:46 +02:00
  • 29170ccbc7 Fix sigchld test. 4lDO2 2024-07-18 19:38:47 +02:00
  • 05bde858f9 Fix SIGCONT deadlock. 4lDO2 2024-07-18 16:47:16 +02:00
  • daa11c911f Fix syscall debug, more success in sigchld test. 4lDO2 2024-07-18 16:09:02 +02:00
  • c54195f10d Ensure process signals can also interrupt. 4lDO2 2024-07-17 17:31:05 +02:00
  • 99f49db824 Also read pctl in currently_pending_unblocked. 4lDO2 2024-07-17 17:30:08 +02:00
  • 2d50055dfb WIP: support thread/process-specific kill. 4lDO2 2024-07-17 15:29:05 +02:00
  • 312b66e547 Merge branch 'usignal2' into 'master' Jeremy Soller 2024-07-17 09:38:41 +00:00
  • 7ddb8e15eb Merge branch 'fix_ps2d_vmmouse_ub' into 'master' Jeremy Soller 2024-07-16 23:30:27 +00:00
  • 3c540efb00 Support sending signals to individual threads. 4lDO2 2024-07-16 22:06:21 +02:00
  • 8de850e7e9 Ensure all threads stop in exit(). 4lDO2 2024-07-16 20:33:37 +02:00
  • 79bbf79656 Fix some proc scheme FIXMEs. 4lDO2 2024-07-16 20:28:17 +02:00
  • cc465c008b Remove rustc hack. 4lDO2 2024-07-16 19:52:18 +02:00
  • 1f25a69feb Fix UB in the ps2d vmmouse implementation bjorn3 2024-07-16 15:43:48 +02:00
  • dfb234079e Fix signal fxrstor offset. 4lDO2 2024-07-16 13:30:35 +02:00
  • cfabb8945a Merge branch 'fix_inputd' into 'master' Jeremy Soller 2024-07-16 12:44:41 +00:00
  • 66a32016b5 Move sa_restart test to correct category. 4lDO2 2024-07-16 14:43:25 +02:00
  • d9e5c6644d Update deps and fix inputd. 4lDO2 2024-07-16 14:17:19 +02:00
  • 22cab7ca8d Fix errors on non-x86_64. 4lDO2 2024-07-16 13:32:18 +02:00
  • bda12fe55e Print MXCSR in the SIMD exception handler. 4lDO2 2024-07-16 13:10:52 +02:00
  • cde108439c Fix kill deadlock. 4lDO2 2024-07-16 13:05:10 +02:00
  • 17cb748217 Implement syscall restart for waitpid. 4lDO2 2024-07-16 12:48:14 +02:00
  • 4c20a9abb2 Enable syscall restart in futex_wait. 4lDO2 2024-07-16 11:55:06 +02:00
  • aed9fe7c66 Merge branch 'random-bool-modfix' into 'master' Jeremy Soller 2024-07-16 09:16:21 +00:00
  • e5be15cc9b Fix missing modulo in random_bool() Peter Limkilde Svendsen 2024-07-16 09:16:20 +00:00
  • bcce7e18db Implement SA_RESTART for read and write. 4lDO2 2024-07-15 23:24:41 +02:00
  • 85faefc597 Merge branch 'safer-rand48' into 'master' Jeremy Soller 2024-07-15 17:44:57 +00:00
  • dbcf8049fc Refactor rand48 functions with less unsafe Peter Limkilde Svendsen 2024-07-15 17:44:56 +00:00
  • 6bd01513c5 Simplify and improve thread/process cleanup. 4lDO2 2024-07-15 16:38:33 +02:00
  • a3dedb0639 Do proper resource cleanup for thread exit too. 4lDO2 2024-07-15 14:33:00 +02:00
  • 8259ed281c Boot to desktop with process/context changes. 4lDO2 2024-07-15 14:14:10 +02:00
  • 40f5c01586 Flatten syscall match statement. 4lDO2 2024-07-15 13:41:24 +02:00
  • e67c040f69 WIP: Separate process status from context status. 4lDO2 2024-07-15 13:40:53 +02:00
  • 7fbe5c72e9 Use strong references in context set. 4lDO2 2024-07-12 19:33:38 +02:00
  • 80fe891c6e WIP: Replace ContextId with direct Arcs. 4lDO2 2024-07-12 19:27:11 +02:00
  • 038ff03996 Fix waitpid and improve debug. 4lDO2 2024-07-11 21:13:32 +02:00
  • 0de23a1141 Use correct context for proc scheme 'new-thread'. 4lDO2 2024-07-11 16:50:34 +02:00
  • 4202bc3ba0 WIP: add new-thread 4lDO2 2024-07-09 16:13:26 +02:00
  • 208d74899a Fix fork & process creation, now boots to desktop. 4lDO2 2024-07-09 13:03:43 +02:00
  • 25974bec6e It compiles. 4lDO2 2024-07-08 21:41:34 +02:00
  • de1bd46c84 Make proc scheme almost compile. 4lDO2 2024-07-08 21:10:23 +02:00
  • 89d532a267 Fix half of proc scheme errors. 4lDO2 2024-07-08 20:44:10 +02:00
  • 89d1d49a4e Fix most code except proc scheme. 4lDO2 2024-07-08 19:01:21 +02:00
  • 8f452b0b0f WIP: continue the process transition 4lDO2 2024-07-08 16:02:46 +02:00
  • 0da2fce64a Separate context and process IDs. 4lDO2 2024-07-08 14:10:31 +02:00
  • 74b824f40f Add rustfmt to CI. 4lDO2 2024-07-08 13:20:29 +02:00
  • d94baa2712 Run rustfmt. 4lDO2 2024-07-08 13:17:42 +02:00
  • f3532f4549 Fix static mut ref warnings. 4lDO2 2024-07-08 13:13:47 +02:00
  • 5e7db80285 Fix a bunch of warnings. 4lDO2 2024-07-08 13:01:25 +02:00
  • 94ac220267 Merge branch 'redox-rt' into 'master' Jeremy Soller 2024-07-15 15:43:34 +00:00
  • c695af7674 Switch to redox-rt. Jacob Lorentzon 2024-07-15 15:43:34 +00:00
  • 3cd21243ec Merge branch 'usignal' of gitlab.redox-os.org:4lDO2/relibc Jeremy Soller 2024-07-15 09:38:36 -06:00
  • e97f26c763 Use crates.io syscall dependency. 4lDO2 2024-07-15 17:31:12 +02:00
  • 6128f1acf0 0.5.3 Jeremy Soller 2024-07-15 09:29:54 -06:00
  • c86f107344 Switch back to upstream syscall submodule. 4lDO2 2024-07-15 16:46:43 +02:00
  • 9259a36f5e Run more of sigchld test correctly. 4lDO2 2024-07-04 15:36:58 +02:00
  • 5abbcd8e34 Send SIGCHLD to parent after child stop/exit. 4lDO2 2024-07-04 15:10:46 +02:00
  • d70ad544e6 Fix SIGKILL and allow SYS_EXIT to pass 16 bits. 4lDO2 2024-07-03 16:58:07 +02:00
  • 8f3e40a99e Fix aarch64 compilation. 4lDO2 2024-07-02 12:11:17 +02:00
  • 465128da26 Don't block nanosleep/futex <= signals are pending. 4lDO2 2024-07-01 17:31:37 +02:00
  • 9198ee7e52 Reimplement shutdown and restart. 4lDO2 2024-06-30 23:00:05 +02:00
  • 4dba818c83 Check pending unblocked signals before blocking. 4lDO2 2024-06-30 16:39:18 +02:00
  • e9de24c097 Only return EINTR in kill() if self was killed. 4lDO2 2024-06-29 15:10:32 +02:00
  • 965f5879b7 Never clear sig pending bits in the kernel. 4lDO2 2024-06-29 13:55:03 +02:00
  • ae8e13525f Remove is_pending flag, read word directly instead. 4lDO2 2024-06-28 16:42:03 +02:00
  • f91b90445d Force userspace to do post-syscall EINTR check. 4lDO2 2024-06-27 21:49:19 +02:00
  • e8060b259d Only save ip and 'archdep' regs when signalling. 4lDO2 2024-06-27 11:15:16 +02:00
  • 12cfcfc6f2 TMP: change syscall gitmodule to fork 4lDO2 2024-06-27 11:14:43 +02:00
  • 93a3401df4 Fix bug causing raise() to not deliver any signals. 4lDO2 2024-06-26 22:26:19 +02:00
  • 13720f59d5 Make signals masked when clear rather than set. 4lDO2 2024-06-25 11:13:53 +02:00
  • 87046b77c7 Compile on aarch64. 4lDO2 2024-06-24 22:15:35 +02:00