commit 5e8a17ecaa9c66227bbebeb4693241b0c1213044 from: Omar Polo date: Thu Dec 30 12:36:16 2021 UTC add some thoughts commit - 448044c5c7214f196029fed8ab76b033a72d8104 commit + 5e8a17ecaa9c66227bbebeb4693241b0c1213044 blob - e39c71a3399f28bcc4705b7b89ca7eb7ba77053d blob + ff11a87a9268767e7533471ad1acedf6618c88ac --- TODO +++ TODO @@ -31,3 +31,5 @@ Stuff that's still to-do to avoid because we need to fdopendir(3) and upon closedir it'll close the file descriptor, while the same file descriptor could be shared with other fids (f->dir is a shared read-only resource). + One solution may be to not use readdir and roll our own on top + of getdents(2) and lseek(2), but that may not be portable.