summaryrefslogtreecommitdiffstats
path: root/include/sys/mman.h
Commit message (Collapse)AuthorAgeFilesLines
* nptl: Fix libpthread build when UCLIBC_LINUX_SPECIFIC is disabledCarmelo Amoroso2010-09-201-1/+1
| | | | | | | | | | | | | | | | | NPTL library needs both madvise and statfs symbols, that are guarded by UCLIBC_LINUX_SPECIFIC option. This fix provides these symbols too when NPTL is used, indipendently by UCLIBC_LINUX_SPECIFIC choice. Otherwise libpthread link fails as below: LD libpthread-0.9.32-git.so libpthread/nptl/libpthread_so.a(pthread_create.oS): In function `__free_tcb': pthread_create.c:(.text+0x1184): undefined reference to `madvise' libpthread/nptl/libpthread_so.a(sem_open.oS): In function `__where_is_shmfs': sem_open.c:(.text+0x764): undefined reference to `statfs' collect2: ld returned 1 exit status make: *** [lib/libpthread.so] Error 1 Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* sync some headers and disable unused prototypesPeter S. Mazinger2009-11-191-3/+3
| | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Last portion of libc_hidden_proto removal.Denis Vlasenko2008-11-201-0/+2
| | | | | Appears to build fine (several .configs tried)
* next portion of libc_hidden_proto removalDenis Vlasenko2008-11-201-0/+1
|
* - Remove linux-specific prototypes if asked to.Bernhard Reutner-Fischer2008-11-151-0/+2
|
* - revert wrong r24049Bernhard Reutner-Fischer2008-11-151-2/+0
|
* - Remove linux-specific prototypes if asked to.Bernhard Reutner-Fischer2008-11-151-0/+2
|
* - fix inline keywordBernhard Reutner-Fischer2008-07-231-5/+5
|
* - adds several config-options to allow for turning off certain featuresBernhard Reutner-Fischer2008-06-031-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | like o UCLIBC_HAS_GNU_ERROR o UCLIBC_HAS_BSD_ERR o UCLIBC_HAS_PTY o UCLIBC_HAS_GETPT (1) o UCLIBC_SYSCALL_STUBS o UCLIBC_SYSCALL_STUB_WARNING o UCLIBC_LINUX_SPECIFIC (2) o UCLIBC_BSD_SPECIFIC (3) o UCLIBC_NTP_LEGACY (4) o UCLIBC_SV4_DEPRECATED (5) o UCLIBC_HAVE_REALTIME (6) o UCLIBC_HAVE_ADVANCED_REALTIME (7) o UCLIBC_HAVE_EPOLL (8) o UCLIBC_HAVE_XATTR (9) o UCLIBC_HAVE_PROFILING (10) (1) make non-standard getpt optional and implement standard posix_openpt (2) fstatfs(), inotify_*(), ioperm(), iopl(), madvise(), modify_ldt(), personality() ppoll(), setresuid() (3) mincore(), getdomainname(), setdomainname() (4) ntp_adjtime(), ntp_gettime() aliases (5) ustat() [use statfs(2) in your code instead] (6) All marked as "(REALTIME)" in SUSv3 (7) All marked as "(ADVANCED REALTIME)" in SUSv3 (8) epoll_create(), epoll_ctl(), epoll_wait() (9) all Extended Attributes (10) helpers for gcc's -finstrument-functions - Fixes _dl_exit() - Implements sleep(3) for !UCLIBC_HAVE_REALTIME - Implements usleep(3) for !UCLIBC_HAVE_REALTIME - adds #warning about incorrect posix_fadvise{,64}() - removes unused and unwanted uselib() Net outcome is that an allnoconfig with HAVE_SHARED is now about 88k instead of formerly 130k.
* Enable remap_file_pages prototype controlled by __USE_GNU define as well as ↵Carmelo Amoroso2008-03-261-11/+10
| | | | mremap, instead of __USE_MISC according to glibc. Missing prototype was spotted out by Peter Mazinger
* stub out msync() for no-mmu as wellMike Frysinger2007-02-211-2/+10
|
* add some inline funcs for the mlock funcs on no-mmuMike Frysinger2006-09-081-0/+12
|
* sync with glibcMike Frysinger2006-06-071-3/+5
|
* tweak the idea between having a MMU and actually using itMike Frysinger2006-02-181-1/+1
|
* Sync up w/ glibcPeter S. Mazinger2005-11-041-8/+19
|
* Do not stub out functions for mmu-less systems. Hide allEric Andersen2005-10-041-0/+2
| | | | prototypes for functions disabled on mmu-less systems.
* Rev all the header files to sync things with glibc 2.2.4Eric Andersen2001-09-271-20/+120
|
* Yipe. This was still pulling in kernel headers.Eric Andersen2001-05-091-2/+4
| | | | -Erik
* Add MAP_FAILED per spec -- patch from Michael Shmulevich <michaels@jungo.com>Eric Andersen2001-02-131-0/+2
|
* Initial revision0_9_1Erik Andersen2000-05-141-0/+35