summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/mmap64.c
AgeCommit message (Collapse)Author
2012-06-15mmap64.c: use void * as in header, disable code that can't happenPeter S. Mazinger
Reorganize a bit. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-04-26mmap64: Use correct type for offset parameterMike Frysinger
Some arches check the size in INLINE_SYSCALL() and barf if it's too big (i.e. a 64bit value getting truncated to 32bit). Satisfy error-check on ppc32. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-11mmap64: use INLINE_SYSCALL() helperMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-11mmap64: include stdint.h for uint64_tMike Frysinger
Some targets include this implicitly, but pull it in explicitly for those which don't to fix building for them. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-10mmap64: always use unsigned 64bit offsetsMike Frysinger
The current code will sometimes cast the offset to an unsigned long. On 32bit systems, that doesn't make much sense since we always know that the off64_t type is 64bits. So drop the ifdef logic, cast it to an unsigned 64bit value, and then do the shift. If the system is 32bits, and the address is still too large, then there's really nothing we could do about it anyways, so the extra ifdef logic wasn't helping. URL: https://bugs.busybox.net/show_bug.cgi?id=3853 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-09-18trim Experimentally off and uncommented hiddenBernhard Reutner-Fischer
sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-08-31drop last _syscall6 checksMike Frysinger
If your arch does not support _syscall6(), it is broken anyways. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-11-20next portion of libc_hidden_proto removalDenis Vlasenko
2008-10-28- trim superfluous ';'. No objcode changesBernhard Reutner-Fischer
2008-07-23- fix inline keywordBernhard Reutner-Fischer
2007-05-15Restored indentation.Peter Kjellerstedt
2007-05-15Made it compile again.Peter Kjellerstedt
2007-05-15Fix arm mmap when using mmap2 syscall. Fixes bug #1303Khem Raj
2006-02-26Move _lfs_64.h to include and adapt filesPeter S. Mazinger
2006-02-23Move common parts into internal header, should it be used for all *64.c?Peter S. Mazinger
2006-02-23* Include sys/syscall.h so __NR_mmap2 and _syscall6 actually have aPeter Kjellerstedt
chance of being defined (the lack of this include probably means that the common mmap64() function has never worked as intended...) * Include bits/uClibc_page.h to get MMAP2_PAGE_SHIFT for architectures that need to define it.
2006-02-23A little clean up.Peter Kjellerstedt
2006-02-23Corrected a comment regarding mmap2().Peter Kjellerstedt
2006-01-14make DODEBUG=y happy, update sysdeps/common/* copyrightPeter S. Mazinger
2006-01-14hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger
missing headers, other jump relocs removed
2006-01-05use tabs for whitespaceMike Frysinger
2005-12-08mmap/mremap/socket/rewind gonePeter S. Mazinger
2005-11-30get rid of unused sysdep.h headerMike Frysinger
2005-10-25Use local copy of sysdep.hPeter S. Mazinger
2003-06-27Fix a couple of typosEric Andersen
2003-06-27oops. Fix the name so it is "mmap64", not "__mmap64"Eric Andersen
2003-06-27Actually, some arches do support _syscall6, so implement a generic versionEric Andersen
for them... -Erik
2003-06-27Mention that the common mmap64 is a stub and must be overriddenEric Andersen
on a per arch basis using platform specific code
2002-10-31Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen
been working on a new config system on and off for about 6 months now, but I've never been fully satisfied. Well, I'm finally am happy with the new config system, so here it is. This completely removes the old uClibc configuration system, and replaces it with an entirely new system based on LinuxKernelConf, from http://www.xs4all.nl/~zippel/lc/ As it turns out, Linus has just merged LinuxKernelConf into Linux 2.5.45, so it looks like I made the right choice. I have thus far updated only x86. I'll be updating the other architectures shortly. -Erik
2002-04-25Use __off64_t instead of off64_t.Miles Bader
2002-04-24Add support for mmap64Eric Andersen
-Erik