Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 646650 Details for
Bug 877193
Strace has unknown return value for shmat syscall.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch which seems to fix the problem.
strace-rh877193.patch (text/plain), 1.18 KB, created by
Jeff Law
on 2012-11-16 22:54:46 UTC
(
hide
)
Description:
Patch which seems to fix the problem.
Filename:
MIME Type:
Creator:
Jeff Law
Created:
2012-11-16 22:54:46 UTC
Size:
1.18 KB
patch
obsolete
>diff -rup a/ipc.c b/ipc.c >--- a/ipc.c 2012-11-16 13:36:19.925246320 -0700 >+++ b/ipc.c 2012-11-16 13:41:18.515313436 -0700 >@@ -193,11 +193,11 @@ struct tcb *tcp; > #if defined IA64 > return tcp->scno < 1024; /* ia32 emulation syscalls are low */ > #endif >-#if !defined MIPS && !defined HPPA >- return 1; >-#endif > #endif /* LINUX */ >+#if defined(ALPHA) || defined(MIPS) || defined(HPPA) || defined(__ARM_EABI__) > return 0; >+#endif >+ return 1; > } > > int sys_msgctl(tcp) >@@ -419,10 +419,6 @@ struct tcb *tcp; > int sys_shmat(tcp) > struct tcb *tcp; > { >-#ifdef LINUX >- unsigned long raddr; >-#endif /* LINUX */ >- > if (exiting(tcp)) { > tprintf("%lu", tcp->u_arg[0]); > if (indirect_ipccall(tcp)) { >@@ -436,12 +432,12 @@ struct tcb *tcp; > } > if (syserror(tcp)) > return 0; >-/* HPPA does not use an IPC multiplexer on Linux. */ >-#if defined(LINUX) && !defined(HPPA) >- if (umove(tcp, tcp->u_arg[2], &raddr) < 0) >- return RVAL_NONE; >- tcp->u_rval = raddr; >-#endif /* LINUX */ >+ if (indirect_ipccall(tcp)) { >+ unsigned long raddr; >+ if (umove(tcp, tcp->u_arg[2], &raddr) < 0) >+ return RVAL_NONE; >+ tcp->u_rval = raddr; >+ } > return RVAL_HEX; > } > return 0; >Only in b: ipc.c.orig >Only in b: ipc.c.rej
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 877193
: 646650