fs/ext: implement symlink support #414
Reference in New Issue
Block a user
Delete Branch "Matou1306/kolibrios:ext-symlinks"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implement support for reading fast and slow symlinks to files and directories in the ext driver.
Add handling for nested symlinks and absolute/relative paths, with a max depth limit of 40.
Add
ERROR_TOO_MANY_LINKS = 40tofs_lfn.inc.Fix the driver to ignore multiple slashes in the path.
I also created and ran umka tests to verify these changes.
Thanks to @dunkaist for the guidance on this.
f9a65daf40tob70927011bFirst I though to request some refactoring with splitting that huge function into smaller ones. But now I see that the whole file needs this kind of refactoring. So, this should be a separate effort. Looks ok as a start. Let's merge and continue on top of this. Tests for umka are provided separately (KolibriOS/umka#1) and they all pass
Looks legit, not sure about possible buffer overflows tough