From 5012bc250bb49ecf17a39ab42d3e556f5de35f62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Fri, 22 Aug 2025 14:08:18 +0800 Subject: [PATCH] Processes (Linux): be compatible with Hurd --- src/detection/processes/processes_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detection/processes/processes_linux.c b/src/detection/processes/processes_linux.c index 58fea6416..1c4641178 100644 --- a/src/detection/processes/processes_linux.c +++ b/src/detection/processes/processes_linux.c @@ -16,7 +16,7 @@ const char* ffDetectProcesses(uint32_t* result) { if ( #ifdef _DIRENT_HAVE_D_TYPE - entry->d_type == DT_DIR && + (entry->d_type == DT_DIR || entry->d_type == DT_UNKNOWN) && #endif ffCharIsDigit(entry->d_name[0])) ++num;