mirror of https://github.com/acidanthera/audk.git
Fix sockets use of file descriptors which was broken by the additional validation in StdLib/LibC/Uefi/SysCall.c/write added by revision 13989.
Signed-off-by: lpleahy git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14123 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
782e407aad
commit
3cdb02f964
|
@ -146,7 +146,7 @@ BslSocketProtocolToFd (
|
|||
pDescriptor->f_flag = 0;
|
||||
pDescriptor->f_iflags = DTYPE_SOCKET;
|
||||
pDescriptor->MyFD = (UINT16)FileDescriptor;
|
||||
pDescriptor->Oflags = 0;
|
||||
pDescriptor->Oflags = O_RDWR;
|
||||
pDescriptor->Omode = S_ACC_READ | S_ACC_WRITE;
|
||||
pDescriptor->RefCount = 1;
|
||||
FILE_SET_MATURE ( pDescriptor );
|
||||
|
|
Loading…
Reference in New Issue