audk/FatPkg/EnhancedFatDxe
Ruiyu Ni 55248f85d1 EFI_FILE_PROTOCOL spec conformance bug fix.
1. Write() should return Unsupported instead of WriteProtected when operating above a directory in read-only media.
2. SetInfo() should return Unsupported instead of WriteProtected when operating above a directory using a undefined GUID in read-only media.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Eric Jin <eric.jin@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>

(based on FatPkg commit 8ff136aaa3fff82d81514fd3091961ec4a63c873)

[jordan.l.justen@intel.com: Use script to relicense to 2-clause BSD]
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Acked-by: Mark Doran <mark.doran@intel.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
2016-04-06 23:22:43 -07:00
..
ComponentName.c Fix the comments to follow the UEFI Spec regarding how to check an EFI_HANDLE is valid/invalid. 2016-04-06 23:22:43 -07:00
Data.c Change Fat driver to support asynchronous File IO introduced in UEFI spec 2.3.1.D. 2016-04-06 23:22:43 -07:00
Debug.c Update copyright notice format 2016-04-06 23:22:43 -07:00
Delete.c Change Fat driver to support asynchronous File IO introduced in UEFI spec 2.3.1.D. 2016-04-06 23:22:43 -07:00
DirectoryCache.c Update copyright notice format 2016-04-06 23:22:43 -07:00
DirectoryManage.c Change Fat driver to support asynchronous File IO introduced in UEFI spec 2.3.1.D. 2016-04-06 23:22:43 -07:00
DiskCache.c Change Fat driver to support asynchronous File IO introduced in UEFI spec 2.3.1.D. 2016-04-06 23:22:43 -07:00
Fat.c Fix a bug that prevents Fat driver being unloaded successfully. 2016-04-06 23:22:43 -07:00
Fat.h Add the missing EFIAPI keyword to solve build failure in GCC. 2016-04-06 23:22:43 -07:00
Fat.inf FatPkg: INF/DEC file updates to EDK II packages 2016-04-06 23:22:43 -07:00
Fat.uni FatPkg: INF/DEC file updates to EDK II packages 2016-04-06 23:22:43 -07:00
FatExtra.uni FatPkg: INF/DEC file updates to EDK II packages 2016-04-06 23:22:43 -07:00
FatFileSystem.h Update copyright notice format 2016-04-06 23:22:43 -07:00
FileName.c Enlarge the buffer to contain file name. 2016-04-06 23:22:43 -07:00
FileSpace.c Change Fat driver to support asynchronous File IO introduced in UEFI spec 2.3.1.D. 2016-04-06 23:22:43 -07:00
Flush.c Change Fat driver to support asynchronous File IO introduced in UEFI spec 2.3.1.D. 2016-04-06 23:22:43 -07:00
Hash.c Fix a potential buffer over flow issue. 2016-04-06 23:22:43 -07:00
Info.c EFI_FILE_PROTOCOL spec conformance bug fix. 2016-04-06 23:22:43 -07:00
Init.c Change Fat driver to support asynchronous File IO introduced in UEFI spec 2.3.1.D. 2016-04-06 23:22:43 -07:00
Misc.c Remove the RemoteEntryList() because the Task isn't added to the linked list upon failure. 2016-04-06 23:22:43 -07:00
Open.c Refine code to make it more safely. 2016-04-06 23:22:43 -07:00
OpenVolume.c Change Fat driver to support asynchronous File IO introduced in UEFI spec 2.3.1.D. 2016-04-06 23:22:43 -07:00
ReadWrite.c EFI_FILE_PROTOCOL spec conformance bug fix. 2016-04-06 23:22:43 -07:00
UnicodeCollation.c InitializeUnicodeCollationSupportWorker mixed the use of Status variable for OpenProtocol and return, it will cause the function to return EFI_SUCCESS even the proper UnicodeCollation is absent. Add ReturnStatus to hold the return status. 2016-04-06 23:22:43 -07:00