ladybird/Kernel/FileSystem/DevPtsFS
Liav A 11ead5c84f Kernel: Get RefPtr<Device> from the DeviceManagement::get_device method
Instead of returning a raw pointer, which could be technically invalid
when using it in the caller function, we return a valid RefPtr of such
device.

This ensures that the code in DevPtsFS is now safe from a rare race
condition in which the SlavePTY device is gone but we still have a
pointer to it.
2024-03-13 15:33:47 -06:00
..
FileSystem.cpp Kernel: Get RefPtr<Device> from the DeviceManagement::get_device method 2024-03-13 15:33:47 -06:00
FileSystem.h Kernel/FileSystem: Send proper filetypes when traversing RAM-backed FSes 2024-01-13 19:01:07 -07:00
Inode.cpp Kernel: Get RefPtr<Device> from the DeviceManagement::get_device method 2024-03-13 15:33:47 -06:00
Inode.h Kernel: Get RefPtr<Device> from the DeviceManagement::get_device method 2024-03-13 15:33:47 -06:00