A free Windows-compatible Operating System - mirrored from GitHub
Go to file
Pierre Schweitzer 5a3af281d7 [NTFS]
- Implement NtfsGrabFCBFromTableById() and NtfsGetFCBForFileById(). These two are responsible for opening and retrieving a file open by ID.
- Modified NtfsMakeFCBFromDirEntry() so that it supports openings by ID which come with less information than normal openings.
- Modified NtfsGrabFCBFromTable() so that it doesn't return a FCB which would have been opened by ID.
- Modified NtfsOpenFile() so that it allows opening a file by ID using the two FCB helpers functions defined upper.
- Modified NtfsCreateFile() so that it can validate input in case of opening by ID.

To make it short, all this implements file opening by ID in NTFS driver. I made the choice to separate FCB which are coming from "normal" opening and these from ID opening.
The reason is that a file opening with ID has less information than a normal opening, and may fail on these information retreival. This is due to the fact that if opening by ID can virtual open all the files, because it ignores authorizations, traverses checks, in the end for retrieving the information, such checks can be done and fail.

I also left all this disabled so far, because it appears to regress NFI. I will investigate this.

CORE-8725

svn path=/trunk/; revision=65652
2014-12-14 21:18:47 +00:00
reactos [NTFS] 2014-12-14 21:18:47 +00:00
rosapps [BUTTERFLIES] 2014-09-24 22:18:51 +00:00
rossubsys Resuscitate VMS subsystem (yeah, you've correctly read: VMS!!) from revision 24496. 2014-11-23 15:24:49 +00:00
rostests [W32KDLL_APITESTS] Properly handle ASM files. Also use set_module_type() instead of manually setting the entry point. 2014-12-12 13:17:16 +00:00
wallpaper - Add CMakeLists for wallpaper 2012-02-05 13:43:04 +00:00