mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
fix: Fix sysman abort on destruction
Invoking close on invalid fd result in undesired behaviour. Pass proper file descriptor for close to avoid unnecessary aborts during destruction. Related-To: GSD-6816 Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a1c7f419fb
commit
aa85d71adc
@@ -47,6 +47,7 @@ extern DIR *(*sysCallsOpendir)(const char *name);
|
||||
extern struct dirent *(*sysCallsReaddir)(DIR *dir);
|
||||
extern int (*sysCallsClosedir)(DIR *dir);
|
||||
extern int (*sysCallsGetDevicePath)(int deviceFd, char *buf, size_t &bufSize);
|
||||
extern int (*sysCallsClose)(int fileDescriptor);
|
||||
|
||||
extern int flockRetVal;
|
||||
extern int openFuncRetVal;
|
||||
|
||||
Reference in New Issue
Block a user