Commit Graph

  • 2fbbdcc1c9 Aarch64 fix, make i686 compile. 4lDO2 2025-04-14 23:25:47 +02:00
  • 0213ac2d15 Probably fix aarch. 4lDO2 2025-04-14 20:17:27 +02:00
  • c773544906 Fix sigentry for realtime sigs, fixing sigqueue test. 4lDO2 2025-04-13 21:21:28 +02:00
  • f813f5a222 Fix sigtimedwait realtime signals, almost handler too. 4lDO2 2025-04-13 20:55:35 +02:00
  • 6d72048b13 Store proc_fd in MaybeUninit with external discriminant. 4lDO2 2025-04-13 12:43:36 +02:00
  • 6e947a9b2f Simplify FdGuard. 4lDO2 2025-04-12 17:59:51 +02:00
  • 3a8d63d2b8 Handle self-kill for posix_kill{,_thread}. 4lDO2 2025-04-11 16:10:25 +02:00
  • 134914c580 Expand waitpid test. 4lDO2 2025-04-11 15:13:50 +02:00
  • c99e9c7db3 Add waitpid test back. 4lDO2 2025-04-10 15:58:31 +02:00
  • 2fb247266b Fix typo in pthread_exit test. 4lDO2 2025-04-10 15:35:59 +02:00
  • a8ee9e72ee Fix possible TCB.thread_fd() use-after-free. 4lDO2 2025-04-10 15:34:33 +02:00
  • 9e769fcb57 Add pthread_exit test. 4lDO2 2025-04-10 15:33:36 +02:00
  • cc6fadb8bb Only SyncSigTctl if there exists a proc fd. 4lDO2 2025-04-07 17:38:34 +02:00
  • dc2988968e Use SignalThread call and fix fork sighandler sync with procmgr. 4lDO2 2025-04-04 14:56:42 +02:00
  • 93e88b0ce8 Reacquire thread fd as procmgr-owned in make_init. 4lDO2 2025-04-03 11:30:16 +02:00
  • b30ccb61fe Enforce procmgr errors, fix attrs path. 4lDO2 2025-04-01 14:07:50 +02:00
  • ac7e0755f1 Fix SyncSigPctl invocation. 4lDO2 2025-03-31 16:48:54 +02:00
  • 98c8beae3d Sync sig pages using proc and thread calls. 4lDO2 2025-03-31 16:24:47 +02:00
  • 59090a83f4 Fix thread+proc fd init in ld.so 4lDO2 2025-03-31 15:17:11 +02:00
  • a4dc232a33 Impl getres[ug]id C function. 4lDO2 2025-03-31 13:12:02 +02:00
  • 8bd510ff59 Simplify [res][ug]id getters and setters. 4lDO2 2025-03-31 12:55:43 +02:00
  • 9999bb6068 Add ThisGroup selector for kill. 4lDO2 2025-03-31 11:41:07 +02:00
  • 747d11062b Rename KillTarget -> ProcKillTarget. 4lDO2 2025-03-30 13:57:11 +02:00
  • 88848c25fe Add (backend todo) proc calls for kill+sigq. 4lDO2 2025-03-30 01:13:18 +01:00
  • f4a64cfbc3 Add setresguid. 4lDO2 2025-03-29 12:32:38 +01:00
  • 48df8f5bba Add unstable interface for getting current thread fd. 4lDO2 2025-03-07 23:51:45 +01:00
  • 779c1e60c5 Add todo!() to fix compilation. 4lDO2 2025-02-16 19:13:09 +01:00
  • 9566a00ad1 WIP: waitpid and exit IPC calls. 4lDO2 2025-01-19 14:56:17 +01:00
  • 4138b68117 Implement setrens and waitpid using procmgr. 4lDO2 2024-12-27 21:22:01 +01:00
  • 0c1835a545 Implement waitpid using new SYS_CALL. 4lDO2 2024-12-27 18:20:08 +01:00
  • bd68da3df9 Fix relibc exec thisproc usage. 4lDO2 2024-12-27 16:46:03 +01:00
  • 1cd450a9ae Implement get{r,e}{u,g}id. 4lDO2 2024-12-27 16:41:15 +01:00
  • ad5efd0f11 Reach init fork 4lDO2 2024-12-27 16:32:19 +01:00
  • 26399569de Reach init w/proc manager. 4lDO2 2024-12-27 13:55:26 +01:00
  • b851422214 WIP: use proc manager in non-init fork. 4lDO2 2024-12-26 21:28:48 +01:00
  • 91e58e8568 WIP: dynamic and static proc info 4lDO2 2024-12-26 20:06:07 +01:00
  • 422a32690d Replace removed syscalls with redox-rt stubs. 4lDO2 2024-12-25 14:36:13 +01:00
  • 31570e99ab Patch redox_syscall. 4lDO2 2024-12-25 14:35:54 +01:00
  • f7d413e1bb Use redox-os/syscall for git dep. 4lDO2 2025-04-19 19:23:57 +02:00
  • 10cc54bbd4 Merge branch 'master' into 'master' Jeremy Soller 2025-04-19 16:51:43 +00:00
  • 47784aa56d Update redox-rt. 4lDO2 2025-04-19 18:50:31 +02:00
  • c64058c8b7 tcb: aarch64 Anhad Singh 2025-04-18 01:43:29 +10:00
  • e6df56cf1b Use saner debug IDs for kmain. 4lDO2 2025-04-19 13:29:58 +02:00
  • 6ed49d2ecb Reduce outdated header in sys/context. 4lDO2 2025-04-18 22:55:03 +02:00
  • 1e3e961b78 Simplify context debug names. 4lDO2 2025-04-18 22:07:10 +02:00
  • 22afbde451 Fix being_sigkilled todo! 4lDO2 2025-04-16 11:59:21 +02:00
  • 1227f2222e Fix compilation on riscv64gc. 4lDO2 2025-04-16 11:46:59 +02:00
  • 4d49f1a8e4 Refer to NLnet funding. 4lDO2 2025-04-16 11:23:17 +02:00
  • 9447986889 Remove ksignal from aarch64. 4lDO2 2025-04-16 11:19:44 +02:00
  • b13ef6ada3 Fix i686. 4lDO2 2025-04-15 15:36:16 +02:00
  • 2e6122bc7e Allow procmgr to recognize unhandled exceptions. 4lDO2 2025-04-15 15:18:42 +02:00
  • 020b8ad415 Compile on aarch64. 4lDO2 2025-04-14 20:03:40 +02:00
  • 10c53aef10 Remove RtSigInfo import. 4lDO2 2025-04-13 20:43:31 +02:00
  • 10ef631fc3 Remove WaitMap from existence. 4lDO2 2025-04-10 15:32:29 +02:00
  • f3af1be69f Never return from ForceKill caller. 4lDO2 2025-04-10 15:31:48 +02:00
  • 3a17f50ea8 Remove ContextHandle::Signal. 4lDO2 2025-04-10 14:48:28 +02:00
  • fa6dee36da Report all being_sigkilled contexts as Dead. 4lDO2 2025-04-10 14:38:09 +02:00
  • 5df7031eb1 Add Interrupt ContextVerb. 4lDO2 2025-04-01 15:34:13 +02:00
  • ab11e6b346 Support stopping contexts, by procmgr. 4lDO2 2025-04-01 14:05:40 +02:00
  • 2f977bbc52 Support getting intra-page off and mapping sig [tp]ctl. 4lDO2 2025-03-31 18:32:02 +02:00
  • e002d0be33 Remove commented-out syscalls and SigState.rtqs 4lDO2 2025-03-31 10:32:56 +02:00
  • cb1a838f05 Start moving kill to procmgr. 4lDO2 2025-03-30 13:10:40 +02:00
  • d0e09d9e87 Remove SYS_IOPL and SYS_VIRTTOPHYS debug. 4lDO2 2025-03-22 12:11:00 +01:00
  • ef78ac57b0 Add fd-based virttophys replacement. 4lDO2 2025-03-22 11:27:38 +01:00
  • b4b2ac312b Add interface for setting iopl. 4lDO2 2025-03-07 23:52:04 +01:00
  • 2815800164 Support reading context status. 4lDO2 2025-03-03 13:13:34 +01:00
  • 7b06ca16b1 Make thread kill API async. 4lDO2 2025-02-26 23:54:14 +01:00
  • f40ec48b3e Send event on thread death. 4lDO2 2025-02-21 11:53:38 +01:00
  • db5931504d Remove nonexisted import. 4lDO2 2025-02-16 19:10:39 +01:00
  • ce77a018ec Reach init again, with proc mgr. 4lDO2 2024-12-27 13:54:47 +01:00
  • a9fb2dcb93 Simplify proc scheme security. 4lDO2 2024-12-26 20:06:59 +01:00
  • 0ccc825bfb Patch syscall. 4lDO2 2024-12-26 20:06:41 +01:00
  • a78d36f7f2 Reach init in userspace. 4lDO2 2024-12-25 14:59:44 +01:00
  • 6d1a3e9a4c Convert Handle::Context -> Handle. 4lDO2 2024-12-22 19:44:28 +01:00
  • 2a5bd36899 Reimplement context creation. 4lDO2 2024-12-22 19:35:04 +01:00
  • 8883818501 Make kernel compile. 4lDO2 2024-12-22 19:23:50 +01:00
  • 1d5f8fd46d Move proc code to userspace. 4lDO2 2024-12-17 00:20:42 +01:00
  • fa8aa2857b Remove thisproc from audiod mkns. 4lDO2 2025-04-19 14:08:04 +02:00
  • 10a41dbcf3 Synchronize kernel proc attrs properly. 4lDO2 2025-04-19 13:17:48 +02:00
  • 8f646a63ac Remove commented-out ThreadEvent. 4lDO2 2025-04-19 13:03:51 +02:00
  • 02e9a2a19c Update redox_scheme. 4lDO2 2025-04-19 12:53:06 +02:00
  • c6de9f768c Make thread fds Weak; reparent to init, not ppid. 4lDO2 2025-04-19 00:10:23 +02:00
  • 1b092a11d5 Add /scheme/proc/ps handler for reading info. 4lDO2 2025-04-18 22:44:11 +02:00
  • 7fc0f04f03 Store process name. 4lDO2 2025-04-18 22:07:40 +02:00
  • ba823cf5f1 Add ProcCall::Getppid and implement reparenting. 4lDO2 2025-04-18 20:07:59 +02:00
  • 5cbcb06727 Fix ECHILD check and reap, fixing bash. 4lDO2 2025-04-18 10:48:48 +02:00
  • 771993b260 Potential fix for KillThread for sig>32. 4lDO2 2025-04-17 13:15:34 +02:00
  • 3e58f6ad16 Mod sig_idx by 32. 4lDO2 2025-04-17 00:56:16 +02:00
  • 486c8496b5 Add missing kill uid checks. 4lDO2 2025-04-17 00:28:52 +02:00
  • 26371995cb Fix kill(getpid(), ...). 4lDO2 2025-04-17 00:21:21 +02:00
  • c881b14698 Allow indicating 'exited from signal'. 4lDO2 2025-04-16 23:45:06 +02:00
  • 898c5268ef Fix misc TODOs. 4lDO2 2025-04-16 23:05:33 +02:00
  • 4b27f83bf9 Handle both 'any' and 'any pgid-matching' child in waitpid. 4lDO2 2025-04-16 23:01:09 +02:00
  • 713ba3b23d Import sig numbers from redox_rt rather than syscall. 4lDO2 2025-04-16 11:58:44 +02:00
  • baeb9d0f9c Add reference to NLnet project. 4lDO2 2025-04-16 11:18:07 +02:00
  • 0036fffd82 WIP: Recognize SIGKILL and unhandled exceptions. 4lDO2 2025-04-15 15:23:43 +02:00
  • 8784fb5010 Handle stop signals correctly for orphaned pgrps, fixing bash. 4lDO2 2025-04-14 13:05:36 +02:00
  • 7bebb711d3 Properly return EINVAL if sig>64. 4lDO2 2025-04-13 22:36:57 +02:00
  • dd53cebf91 Implement Sigdeq, fixing sigqueue test. 4lDO2 2025-04-13 21:20:42 +02:00
  • b4d42897d8 Return ERESTART when caller kills itself. 4lDO2 2025-04-11 16:09:56 +02:00