* Adding forward declarations
* Adding "inline" in front of const/constexpr variables in headers
* Adding includes
* A few moves of ctor/dtor to cpp file
#preflight 6372b3ac0c74adb48b49f313
#rb none
[CL 23130896 by henrik karlsson in ue5-main branch]
This will cause any syscall *not* in the allow list to cause SIGSYS and then we will exit from our signal handler (unless our signal handler uses a syscall that is not supported in which case we will crash, though a core dump will need to be checked)
Requires explicitly calling this function where you want to actually *setup* the filters:
FPlatformMisc::SetupSyscallFilters();
To use:
-allowsyscallfilterfile=<path/to/allow_filter_file.txt>
Example of file:
read
write
open
mprotect 2 4 0 1
There are only two supported rules for the file:
<syscall_name>
<syscall_name> <syscall_arg_number_zero_based_index> <value> <allow> <check bit only>
#jira UE-169652
#rb Josh.Adams, Robert.Seiver, Calvin.Zheng
#preflight 636d44e81c14fe450503f5cf
[CL 23091532 by brandon schaefer in ue5-main branch]
*Make FPlatformMemory::GetStats cache memory stats per frame to prevent multiple costly platform calls per frame ( by default, has option to request non-cached values ).
*Update some calls to FPlatformMemory::GetStats to specifically request non-cached values.
[REVIEW] [at]evgenii.babinets [at]andrew.ladenberger
#preflight 634a04c0907f4749392d75d0
[CL 22545788 by evgenii babinets in ue5-main branch]
- Implemented priority control on Unix platform
- Refactored RunnableThreadUnix implementation
- Bump resource limits for process scheduling priority (nice) if possible
#rb LouisPhilippe.Seguin, Brandon.Schaefer
[FYI] anrew.ladenberger
[CL 22087348 by anton dunchev in ue5-main branch]
Also move to less allocations, and a static buffer. We still use TCHAR_TO_UTF8 allocations but will look at fixing up later
#jira UE-163043
#rb James.Singer, Zack.Neyland
#fyi Chris.Constantinescu
#preflight 631a0ee8d31788ea3a46f4cc
[CL 21898347 by Brandon Schaefer in ue5-main branch]
Also add protection pages to the left and right of our altstack to catch buffer over/under flows
#jira none
#rb Robert.Seiver, James.Singer
#preflight none
[CL 21747800 by Brandon Schaefer in ue5-main branch]
#rb josh.adams
#preflight 62f3ccd1bc175ec68c439d8e
#ROBOMERGE-AUTHOR: rex.hill
#ROBOMERGE-SOURCE: CL 21319766 via CL 21323340 via CL 21323407 via CL 21323452
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
[CL 21325866 by rex hill in ue5-main branch]
[FYI] Rex.Hill
Original CL Desc
-----------------------------------------------------------------
Allow GIsFirstInstance in shipping editor
#preflight 62f2bc6523003b62a3039e8d
#rb josh.adams
#ROBOMERGE-AUTHOR: rex.hill
#ROBOMERGE-SOURCE: CL 21310168 via CL 21312295 via CL 21312341 via CL 21312351
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
[CL 21314406 by rex hill in ue5-main branch]
#preflight 62f2bc6523003b62a3039e8d
#rb josh.adams
#ROBOMERGE-AUTHOR: rex.hill
#ROBOMERGE-SOURCE: CL 21299688 via CL 21304677 via CL 21304703 via CL 21304719
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
[CL 21308838 by rex hill in ue5-main branch]
Core public headers still will contain CoreMinimal.h if any included it before my IWYU changes.
#preflight 62c73594756222ced4e48707
[CL 20991367 by bryan sefcik in ue5-main branch]
Things to note regarding this pass:
* No includes are currently being removed from public headers.
* Any private file that has a #if is currently not being updated.
#preflight 62c703bbd13fac04f11da948
[CL 20985655 by bryan sefcik in ue5-main branch]
On some consoles we load dynamic modules very early during the process initialization and rely on the allocators being ready. It happens even before we have the opportunity to call FPlatformMemory::Init() explicitly, so need to have it called on-demand from FMemory_GCreateMalloc_ThreadUnsafe.
Updated FXXXPlatformMemory::Init on all supported platforms to handle multiple Init() calls gracefully. We do this to free our common code from having to explicitly check if the system has been initialized.
#rb jeff.newquist
#preflight 62a9ebf8634e82e5d1e849de
#rnx
[CL 20983808 by Wojciech Krywult in ue5-main branch]
Things to note regarding this pass:
* No includes are currently being removed from public headers.
* Any private file that has a #if is currently not being updated.
#rb Devin Doucette and Marc Audy
#preflight 62c62086756222ced497ff95
#preflight 62c626d12f2d04691814d331
#preflight 62c630107e606620fdd64e31
#preflight 62c635c6756222ced49a13cf
[CL 20979027 by bryan sefcik in ue5-main branch]
Some just kept the same (ie. lose of data/precision) while did try to fix some
#rb Joe.Kirchoff
#preflight 62bb5a4f3771c5710dc4c013
#jira none
[CL 20863786 by Brandon Schaefer in ue5-main branch]