Commit Graph

8 Commits

Author SHA1 Message Date
Kenneth Myhra
b6917bc886 blockdev: Use Core::System::open() instead of LibC open() 2023-01-08 15:19:59 +00:00
Kenneth Myhra
a7dafacced blockdev: Let fetch_ioctl() return ErrorOr<void> 2023-01-08 15:19:59 +00:00
Idan Horowitz
086969277e Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Idan Horowitz
971ab3b919 Kernel: Use u64 instead of size_t in the STORAGE_DEVICE_GET_SIZE ioctl
This ensures the device size doesn't get truncated on i686.
2022-01-25 22:41:17 +02:00
Brian Gianforcaro
cf4fa936be Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
faxe1008
097c1e5335 blockdev: Port to LibMain 2021-11-23 22:54:25 +01:00
David Isaksson
410d81706d Utilities: Add way to get a storage devices block size in blockdev 2021-10-09 12:06:47 +02:00
David Isaksson
8d631dcd5e Utilities: Add blockdev utility
This new utility queries a block device for its size via the newly
introduced ioctl STORAGE_DEVICE_GET_SIZE request.
2021-10-09 12:06:47 +02:00