1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 04:05:07 +00:00
serenity/Kernel/FileSystem/SysFS/Subsystems
Liav A 3fd4997fc2 Kernel: Don't allocate memory for names of processes and threads
Instead, use the FixedCharBuffer class to ensure we always use a static
buffer storage for these names. This ensures that if a Process or a
Thread were created, there's a guarantee that setting a new name will
never fail, as only copying of strings should be done to that static
storage.

The limits which are set are 32 characters for processes' names and 64
characters for thread names - this is because threads' names could be
more verbose than processes' names.
2023-08-09 21:06:54 -06:00
..
Bus Kernel: Fix reading expansion ROM SysFS node 2023-06-19 21:35:37 +02:00
DeviceIdentifiers Everywhere: Move global Kernel pattern code to Kernel/Library directory 2023-06-04 21:32:34 +02:00
Devices Kernel: Move all Graphics-related code into Devices/GPU directory 2023-06-06 00:40:32 +02:00
Firmware Kernel: Move PC BIOS-related code to the x86_64 architecture directory 2023-06-19 23:49:00 +02:00
Kernel Kernel: Don't allocate memory for names of processes and threads 2023-08-09 21:06:54 -06:00