FreeBSD Bugzilla – Attachment 180068 Details for
Bug 217161
[linux]: 32-bit x11 apps fail to start on amd64 host (EFAULT in linux_recv())
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
quick fix
sock_fix.patch (text/plain), 784 bytes, created by
Dmitry Chagin
on 2017-02-17 10:37:47 UTC
(
hide
)
Description:
quick fix
Filename:
MIME Type:
Creator:
Dmitry Chagin
Created:
2017-02-17 10:37:47 UTC
Size:
784 bytes
patch
obsolete
>diff --git a/sys/compat/linux/linux_socket.c b/sys/compat/linux/linux_socket.c >index 615c3d97c4..c6226fe59a 100644 >--- a/sys/compat/linux/linux_socket.c >+++ b/sys/compat/linux/linux_socket.c >@@ -959,10 +959,10 @@ linux_socketpair(struct thread *td, struct linux_socketpair_args *args) > > #if defined(__i386__) || (defined(__amd64__) && defined(COMPAT_LINUX32)) > struct linux_send_args { >- int s; >- l_uintptr_t msg; >- int len; >- int flags; >+ register_t s; >+ register_t msg; >+ register_t len; >+ register_t flags; > }; > > static int >@@ -987,10 +987,10 @@ linux_send(struct thread *td, struct linux_send_args *args) > } > > struct linux_recv_args { >- int s; >- l_uintptr_t msg; >- int len; >- int flags; >+ register_t s; >+ register_t msg; >+ register_t len; >+ register_t flags; > }; > > static int
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 217161
:
180066
| 180068