Sourceware Bugzilla – Attachment 11808 Details for
Bug 23960
[2.28 Regression]: New getdents{64} implementation breaks qemu-user
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to bypass the return EOVERFLOW condition
64-host-32-user.patch (text/plain), 724 bytes, created by
dflo
on 2019-05-28 13:42:23 UTC
(
hide
)
Description:
Patch to bypass the return EOVERFLOW condition
Filename:
MIME Type:
Creator:
dflo
Created:
2019-05-28 13:42:23 UTC
Size:
724 bytes
patch
obsolete
>diff -Naur a/glibc-2.29/sysdeps/unix/sysv/linux/getdents.c b/glibc-2.29/sysdeps/unix/sysv/linux/getdents.c >--- a/glibc-2.29/sysdeps/unix/sysv/linux/getdents.c 2019-01-31 12:45:36.000000000 -0400 >+++ b/glibc-2.29/sysdeps/unix/sysv/linux/getdents.c 2019-05-28 10:37:21.746902297 -0300 >@@ -84,6 +84,7 @@ > > DIRENT_SET_DP_INO (&outp->u, d_ino); > outp->u.d_off = d_off; >+#if 0 > if ((sizeof (outp->u.d_ino) != sizeof (inp->k.d_ino) > && outp->u.d_ino != d_ino) > || (sizeof (outp->u.d_off) != sizeof (inp->k.d_off) >@@ -98,6 +99,7 @@ > } > return INLINE_SYSCALL_ERROR_RETURN_VALUE (EOVERFLOW); > } >+#endif > > last_offset = d_off; > outp->u.d_reclen = new_reclen;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 23960
:
11441
| 11808 |
12210
|
12211