-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
arch: noneNot architecture specificNot architecture specifictarget: kernelKernel related featuresKernel related featurestype: newImplement a new featureImplement a new feature
Description
Directories
I/O operations on directories inside the kernel are required to support the functions defined inside the POSIX dirent.h header.
The most important one is to be able to retrieve the children of a directory (readdir). We could maybe add
an additional codepath inside sys_read() that would read into a struct dirent * pointer specified by buf.
The file description's offset should represent how far we are inside the list of children.
TODO
- readdir: fill dirent structure
- seek/ftell: relation between file offset and children
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
arch: noneNot architecture specificNot architecture specifictarget: kernelKernel related featuresKernel related featurestype: newImplement a new featureImplement a new feature