don't warn when file descriptor equality is unknown

linux uses kcmp(2) with KCMP_FILE, we have no equivalent
This commit is contained in:
jsg
2023-11-02 06:00:03 +00:00
parent ff8d3c99f3
commit 3c32459578

View File

@@ -397,10 +397,12 @@ are_file_descriptions_equal(int fd1, int fd2)
static bool logged;
if (!logged) {
#if DETECT_OS_LINUX
os_log_message("amdgpu: os_same_file_description couldn't "
"determine if two DRM fds reference the same "
"file description.\n"
"If they do, bad things may happen!\n");
#endif
logged = true;
}
}