Commit Graph

103 Commits

Author SHA1 Message Date
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
ffd61d4d54 [*] NT: AuProcess this is better 2023-09-12 02:01:12 +01:00
12a2f30f47 [*] 9ab0c25b but for UNIX 2023-09-09 23:57:01 +01:00
9ab0c25b05 [*] Win32 opener: ensure file/dir exists (subject to time of check attack, but its fine to prevent stupid 'open' shellexec exploits. wont save you if io write is available) 2023-09-09 23:15:45 +01:00
876f4439b3 [*] NT proceesses: no point in pretending _spawnv is a real thing. this path is just causing defects. 2023-09-04 23:46:48 +01:00
46850c9122 [*] Shutup clangbang 2023-08-30 01:28:05 +01:00
e8f445c463 [*] Linux build regression / AuProcesses API change 2023-08-21 17:48:48 +01:00
3fe2d15a2f [+] AuProcesses::StartupParameters::environmentVariables
[+] AuProcesses::StartupParameters::bInheritEnvironmentVariables
[+] AuProcesses::StartupParameters::handleOutStream
[+] AuProcesses::StartupParameters::handleErrorStream
[+] AuProcesses::StartupParameters::handleInputStream
[+] AuProcesses::StartupParameters::optAffinity
2023-08-20 23:58:32 +01:00
1f173a8799 [*] Begin resolving 8 months of Linux neglect 2023-08-11 16:51:42 +01:00
c85d65aa59 [*] NT: these file handles must be marked async if reimported 2023-07-30 14:27:33 +01:00
7e2aa2de3d [+] AuIO::IIOHandle 2023-07-29 08:02:47 +01:00
4d1201a4c1 [+] EStreamForward::eNewConsoleWindow
[*] NT: Improve the selection of flags used when spawning processes
[*] NT: Caught regression in NTs FS/generic transaction IsSignaled
2023-07-06 13:44:32 +01:00
ca2c0462ab [*] Continue to refactor allocations of synchronization primitive away
[*] NT: Fix missing CoTaskMemFree leak on startup
[*] Fix ConsoleStd restart bug
2023-06-28 10:33:12 +01:00
766be57a46 [+] Linux build [again]
[+] ProcessSectionViewReserved.Unix.cpp
[*] Fix missing ::Flush() member on ViewWriter
2022-12-16 00:41:01 +00:00
898c0ced37 [*] Refactoring in progress... 2022-11-17 08:03:20 +00:00