On Mon Nov 3 08:28:51 2025 +0000, Ralf Habacker wrote:
# `sock.c:14624: Test failed: test_afunix.sock: wrong attr ffffffff`
[pid 25087] statx(AT_FDCWD, "/home/ralf/src/wine/.wine/dosdevices/z:/home/ralf/src/wine-build/test_afunix.sock", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFSOCK|0755, stx_size=0, ...}) = 0 [pid 25087] statx(AT_FDCWD, "/home/ralf/src/wine/.wine/dosdevices/z:/home/ralf/src/wine-build/test_afunix.sock", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFSOCK|0755, stx_size=0, ...}) = 0 [pid 25087] getxattr("/home/ralf/src/wine/.wine/dosdevices/z:/home/ralf/src/wine-build/test_afunix.sock", "user.DOSATTRIB", 0x21f943, 64) = -1 ENODATA (Keine Daten verfügbar)The relevant test comes from https://gitlab.winehq.org/wine/wine/-/commit/41ed5dc8ca55ad74dd9f9ecae1b9ad8... which is
attr = GetFileAttributesA(path); ok( attr == (FILE_ATTRIBUTE_REPARSE_POINT | FILE_ATTRIBUTE_ARCHIVE), "wrong attr %lx\n", attr );
`GetFileAttributesA()` calls `GetFileAttributesW()`, in which the status returned by `NtQueryAttributesFile()` is ``` p/x status $5 = 0xc0000034 ``` which is `#define STATUS_OBJECT_NAME_NOT_FOUND ((NTSTATUS) 0xC0000034)`
which looks as if `bind()` does not create a socket file.