[libc] Add implementations of POSIX mkdir, mkdirat, rmdir, unlink and unlinkat.Reviewed By: michaelrjDifferential Revision: https://reviews.llvm.org/D118641
[libc][Obvious][NFC] A bunch of cosmetic cleanup.* Added missing header guards.* Fixed license header format in a few files.* Renamed files to more suitable names.
[libc][NFC] Make all top of file comments consistent.Summary:Made all header files consistent based of this documentation: https://llvm.org/docs/CodingStandards.html#file-headers.And did the same
[libc][NFC] Make all top of file comments consistent.Summary:Made all header files consistent based of this documentation: https://llvm.org/docs/CodingStandards.html#file-headers.And did the same for all source files top of file comments.Reviewers: sivachandra, abrachetReviewed By: sivachandra, abrachetSubscribers: MaskRay, tschuett, libc-commitsTags: #libc-projectDifferential Revision: https://reviews.llvm.org/D77533
show more ...
Add implementations of POSIX mmap and munmap functions.Summary:A set of of linux x86_64 internal syscall helpers have also been added.This change does not try to be perfect with respect to OS an
Add implementations of POSIX mmap and munmap functions.Summary:A set of of linux x86_64 internal syscall helpers have also been added.This change does not try to be perfect with respect to OS and machineabstractions. A TODO note has been added at places where such abstractionswould help and make the arrangement scalable and cleaner. Addressing theTODOs and building such abstractions is not in the scope of this change.It is hoped that follow up changes cleaning up the problem areas andaddressing the TODOs will better illustrate the need for the changes.This change also does not try to imitate mmap and munmap implementationsof other libcs. The idea here is to put in the bare minimum required toobtain a working mmap and munmap, and then add the rest of thefunctionality on an as needed basis.Reviewers: abrachet, phosek, stanshebs, theravenSubscribers: mgorny, MaskRay, jfb, libc-commitsTags: #libc-projectDifferential Revision: https://reviews.llvm.org/D71634