This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/2007] mmap seg faults on marginally improper arguments
- From: "bkorb at gnu dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 27 Jan 2006 14:23:05 -0000
- Subject: [Bug libc/2007] mmap seg faults on marginally improper arguments
- References: <20051208233503.2007.bkorb@gnu.org>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From bkorb at gnu dot org 2006-01-27 14:23 -------
I am reopening the bug for reconsideration. It may be the case that invalid
args were not the trigger for the fault. Consider this profile for mmap in glibc:
extern void *mmap (void *__addr, size_t __len, int __prot,
int __flags, int __fd, __off_t __offset) __THROW;
against this implementation (from Linux sources for alpha):
asmlinkage unsigned long
osf_mmap(unsigned long addr, unsigned long len, unsigned long prot,
unsigned long flags, unsigned long fd, unsigned long off)
I do not know if the arguments wind up getting placed correctly anyway, but they
certainly do not match for the alpha platform. There should be an
alpha-specific profile for the function that matches the implementation. I
would like to know if this could be the cause of continued seg faults, even with
corrected calling flag values. Thanks!
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
http://sourceware.org/bugzilla/show_bug.cgi?id=2007
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.