Martin Fouilleul
|
d363c8b607
|
[wip, osx, io] reorganizing io_open_restrict, fix opening last element with the correct flags
|
2023-06-15 18:27:33 +02:00 |
martinfouilleul
|
5d2bf9eab9
|
[wip, win32, io] win32 file io passing tests (still work to do though)
|
2023-06-14 17:21:31 +02:00 |
Martin Fouilleul
|
0bd985efbc
|
[io] restrict rights of files open with file_open_at to the rights of the directory handle
|
2023-06-13 15:56:19 +02:00 |
Martin Fouilleul
|
b147aed85c
|
- Added tests for sandboxing file io with file_open_at() and FILE_OPEN_RESTRICT
- Fixed bug in io_open_restrict() that closed the dir file descriptor, making it impossible to use it in subsequent calls.
|
2023-06-12 18:04:59 +02:00 |
Martin Fouilleul
|
b2d2d2a587
|
[io] implementing IO_OP_OPEN_AT with FILE_OPEN_RESTRICT flag for sandboxing file access
|
2023-06-11 18:20:21 +02:00 |
Martin Fouilleul
|
c041b212ab
|
[io] removed IO_OP_POS, wrap IO_OP_SEEK with offset 0 and flag FILE_SEEK_CURRENT instead
|
2023-05-31 11:38:17 +02:00 |
martinfouilleul
|
3667ab30e0
|
[win32, io, wip] add win32 io impl. for open/close/seek/read/write
|
2023-05-26 16:03:23 +02:00 |
Martin Fouilleul
|
41b6128a35
|
[io] testing abstracted io
|
2023-05-26 11:40:00 +02:00 |
Martin Fouilleul
|
c75661cfc9
|
[io] abstract file io API, using a request/completion model ala io_uring (w/ only synchronous completion for now), and per-platform backend
|
2023-05-25 20:08:38 +02:00 |