Commit Graph

117 Commits

Author SHA1 Message Date
1b240143c4 [*] POSIX: AuProcesses mustn't allocate (sorta) while in a COW address space (including accessing bad CRT apis) 2024-08-06 03:13:53 +01:00
af5c8e86c0 [*] AuSPtr<AuMemoryViewXXXX> is now an anti-pattern. After 3 fucking years, memory views of shared control blocks and atomic in use counters are properly utilized everywhere. We do not need generic superclasses to be safe anymore 2024-07-12 20:22:48 +01:00
e4fa5d549e [*] Refactor IAuroraThread 2024-05-27 13:28:57 +01:00
c26eaf86a7 [*] Minor UWP progress 2024-04-21 11:52:24 +01:00
83f34b0c47 [*] I was right. String views are [mostly] pointless (*)
03:28:55:638  17>2 of 53388 functions (<0.1%) were compiled, the rest were copied from previous compilation.
03:28:55:638  17>  0 functions were new in current compilation
03:28:55:638  17>  65 functions had inline decision re-evaluated but remain unchanged
03:28:56:749  17>Finished generating code

the header of const AuString & is the same as std::string_view therefore nothing changes. in fact, we still need to alloc strings a bunch of times for a zero terminated string. worse, <c++20 always allocs each time we want to access a hashmap with o(1) lookup, making small hashmaps kinda pointless when we always have to alloc+copy (thx std)

perhaps this will help some language binders
2024-04-19 05:58:08 +01:00
971b007ab9 [+] PosixFDYeetus() 2024-04-14 19:48:40 +01:00
e3745d0efa [*] Ensure POSIX compilers dont touch this file 2024-04-13 19:13:50 +01:00
54dedf67cc [*] Improper Win32Open2 transition 2024-04-12 11:38:13 +01:00
a087595009 [*] Minor tweaks + more not-so-lazy loads in case of uwp 2024-04-10 00:09:21 +01:00
81d7c7027c [*] Cont work on AuIOHandle cleanup 2024-03-16 09:51:41 +00:00
ccc4116394 [*] PosixShutup for AuProcesses::OpenXXXX and two minor bug fixes 2024-03-15 06:19:30 +00:00
7b302a7f35 [*] Improve AuProcesses CompletionGroup integration 2024-03-05 21:52:52 +00:00
2371794d47 [+] Linux Exception Handlers and AuExit::ETriggerLevel::eSigQuitNow
[*] Linux stability fixes
[+] AuProcAddresses.UNIX.[cpp/hpp]
2024-03-05 13:55:21 +00:00
493f449d1d [*] Major Linux build regressions 2024-02-23 12:44:43 +00:00
98e76f0832 [*] POSIX hardening: dont COW this futex 2024-01-21 18:41:53 +00:00
75f39b9858 [*] AuOpen.Unix.cpp didn't look right 2024-01-21 18:33:27 +00:00
4f340aae47 [*] Shorten LOC of AuOpen.Unix.cpp 2024-01-20 20:36:07 +00:00
648fbea6c1 [*] This stupid fuck regression should've been caught earlier (AuProcesses unable to open files due to attack mitigations determining every file as being blocked) 2024-01-20 20:20:57 +00:00
3c7eff396f [+] IAsyncOutputOf::TryAttachProcessExitToCompletionGroup
[+] IAsyncOutputOf::ICompletionGroupWorkHandle
2024-01-06 01:32:03 +00:00
2ebf2811bd [*] Leave the signal, dont callback
[*] ...and attach
[*] ...and check args
[*] ...and always check later at least once
2024-01-06 01:26:48 +00:00
f1e170add0 [+] IProcess::TryAttachProcessExitToCompletionGroup
[+] IProcess::ToCompletionGroupHandle
2024-01-05 09:25:48 +00:00
b3557ed938 [*] Harden auprocesses / async outputof 2023-12-29 20:49:58 +00:00
f404e8960f [+] AuProcesses::RunAs 2023-12-28 21:00:07 +00:00
662dbac0c1 [+] IO completion groups 2023-12-28 16:49:11 +00:00
be2b781ed6 [*] mitigations and clean up before two major commits 2023-12-26 21:01:29 +00:00
d17903251b [*] another one (9393c175) 2023-12-25 11:56:38 +00:00
cdc6eeeabd [*] Two trivial bug fixes 2023-12-24 22:03:14 +00:00
c5656a8843 [+] WIP internal IO improvements (read: hacks) for Linux + bool IProcess::HasExited() 2023-12-24 06:24:39 +00:00
71c88316e5 [*] Win32 args escape regression 2023-12-23 11:52:32 +00:00
a6ff21a167 [*] Update AuProcesses::OutputOfAsync 2023-12-23 11:22:10 +00:00
0faf4c7846 [+] Aurora::Processes::OutputOf
[+] Aurora::Processes::OutputOfAsync
[*] Fix win32 regression
2023-12-23 07:05:44 +00:00
9393c17564 [*] Other POSIX systems (non-linux) are probably going to need this improved eSpawnChildProcessWorker awareness 2023-12-23 03:59:27 +00:00
e05bb8f5dc [+] StartupParameters::posixApplySandboxCOW 2023-12-22 03:57:46 +00:00
730465ca2b [+] UNIX: AuProcesses should always try to close leaked fds 2023-12-22 03:49:11 +00:00
baf31e32d0 [+] IFileStream::ToStreamReader()
[+] IFileStreamToStreamWriter()
[+] IProcess::ToStreamReader(EStandardHandle stream)
[+] IProcess::ToStreamWriter()
2023-12-02 18:05:49 +00:00
1735fa9c6c [*] deinit check 2023-10-24 18:33:25 +01:00
513a7aec7e [+] AuProcesses::StartupParameters::ntLikeHookCreateProcessW 2023-10-18 04:55:56 +01:00
7db0e2e688 [*] Drop all static references to User32.dll 2023-10-13 00:10:44 +01:00
c05fabc633 [*] Linux fixes 2023-09-23 08:15:50 +01:00
125c150fc5 [*] Made AuOpen.Unix.cpp in parity with Windows in that all IO should be deferred off the calling thread 2023-09-19 00:40:00 +01:00
9be76adb23 [*] Further drop required symbols from OLE (COM) and SHELL32 (NT Shell)
[*] Optimize NT file and URI opener
2023-09-17 21:33:14 +01:00
f13efd0cbf [+] AuProcesses::IProcess::GetOutputAndInputHandles()
[+] AuProcesses::IProcess::GetErrorStreamHandle()
2023-09-16 22:08:10 +01:00
644c294c36 [+] Unix AuProcesses: missing optAffinity support 2023-09-16 21:49:30 +01:00
3ba93439c8 [*] NT Processes: GetProcessId() now returns a pointer to a _PROCESS_INFORMATION struct 2023-09-15 16:25:40 +01:00
67b047eead [*] UNIX Processes: fix overmap regression in (d166a00d) and added support for envblock updates missing in (d166a00d) 2023-09-15 16:03:41 +01:00
a80524d573 [-] AuProcesses::EStandardHandle 2023-09-15 15:55:46 +01:00
d166a00d81 [*] Linux: begin catching up AuProcesses to NT 2023-09-15 00:11:14 +01:00
b4d5f4c127 [+] AuIO::IO::EStandardStream
[+] AuIO::IOHandle::InitFromStreamEnum(...)
2023-09-13 02:50:59 +01:00
6181d97c3c [*] Improve internal path consistency
[*] Removes some unnecessary panics
2023-09-12 20:49:02 +01:00
8e54071d60 [-] Remove 2 year old 0.0 WaitFor back-off implementation 2023-09-12 18:30:45 +01:00