[Bug libc/2007] mmap seg faults on marginally improper arguments
bkorb at gnu dot org
sourceware-bugzilla@sourceware.org
Fri Jan 27 14:23:00 GMT 2006
------- 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.
More information about the Glibc-bugs
mailing list