Andy-Python-Programmer / aero

Aero is a new modern, experimental, UNIX-like operating system following the monolithic kernel design. Supporting modern PC features such as long mode, 5-level paging, and SMP (multicore), to name a few.
https://aero.andypy.dev
GNU General Public License v3.0
1.17k stars 50 forks source link

File handle refs #113

Open Andy-Python-Programmer opened 1 year ago

Andy-Python-Programmer commented 1 year ago

Currently, for sockets and eventfds, we store the file descriptor flags inside the structs which is not convenient. Have a way to pass the file handle to the {read_at, write_at, send, recv} function calls.