about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/i386
Commit message (Collapse)AuthorAgeFilesLines
* Use prlimit64 for 32-bit [gs]etrlimit64 implementation.Ulrich Drepper2010-12-251-2/+2
|
* Define MAP_HUGETLB.Ulrich Drepper2010-11-191-1/+3
|
* Simplify fanotify_init definition.Ulrich Drepper2010-08-161-1/+0
|
* Remove third argument from fanotify_init functionAndreas Schwab2010-08-151-1/+1
|
* Add support for Linux fanotify_init and fanotify_mask syscalls.Ulrich Drepper2010-08-111-0/+3
|
* Add support for prlimit and prlimit64 on Linux.Ulrich Drepper2010-08-111-0/+2
|
* Define F_SETPIPE_SZ and F_GETPIPE_SZ.Ulrich Drepper2010-06-141-0/+2
|
* Fix fallocate error return on i386.Andreas Schwab2010-04-082-2/+14
|
* Handle unnecessary padding in getdents64.Ulrich Drepper2010-04-031-1/+2
| | | | | | The getdents64 syscall adds on 32-but platforms padding which isn't needed and not included in the userlevel data structure definition. We have to avoid copying those padding bytes in the readdir64_r function.
* Define miss_F_GETOWN_EX only if needed.Ulrich Drepper2010-03-271-11/+11
| | | | | | | When doing i686-unknown-linux-gnu build configured with --enable-kernel=2.6.24, there are several warnings like this: ../sysdeps/unix/sysv/linux/i386/fcntl.c:36:12: warning: ‘miss_F_GETOWN_EX’ defined but not used
* Add support for XPG7 testing.Ulrich Drepper2010-01-091-5/+9
| | | | | The header conformance testing code needed extending for XPG7. This exposed a few bugs in the headers. There are more changes to come.
* Redefine O_SYNC and O_DSYNC to match 2.6.33+ kernels.Ulrich Drepper2009-12-111-3/+3
|
* Follow kernel F_OWNER_{GID -> PGRP} change.Ulrich Drepper2009-11-191-3/+4
| | | | But maintain compatiblity for 2.11.
* Change misleading names of parameters of sync_file_range.Ulrich Drepper2009-11-171-1/+1
|
* Add missing Linux MADV_* definitions.Ulrich Drepper2009-11-171-9/+12
|
* Fix building on x86 with older kernel headers.Mike Frsyinger2009-11-142-0/+12
| | | | Fix building on x86 when older linux headers lack __NR_fallocate define.
* Fix F_SETOWN_EX and F_GETOWN_EX definitions.Ulrich Drepper2009-11-141-2/+2
|
* Fix preadv, pwritev and fallocate for -D_FILE_OFFSET_BITS=64.Jakub Jelinek2009-11-061-2/+2
| | | | | | | | As reported in http://bugzilla.redhat.com/533063 , preadv/pwritev prototypes are wrong on 32-bit arches with -D_FILE_OFFSET_BITS=64 and as I've just found, fallocate is wrong too. The problem is that only off_t is remapped to the 64-bit type transparently, __off_t is not.
* Fix compat handling in *at functions.Ulrich Drepper2009-10-292-2/+14
| | | | | When passed an empty string for the filename, the compat code using /proc in all *at functions did the wrong thing.
* Fix F_GETOWN on some Linux archs.Ulrich Drepper2009-10-291-1/+28
| | | | | | The syscall conventions on some Linux archs prevented F_GETOWN from working correctly in some situations. This can be rectified when using the new F_GETOWN_EX command.
* Define F_OWNER_* and f_owner_ex for Linux targets.Ulrich Drepper2009-10-291-1/+18
|
* Define F_SETOWN_EX and F_GETOWN_EX in Linux headers.Ulrich Drepper2009-10-011-2/+4
|
* Remove leftover code from Linux/x86 ____longjmp_chk.Ulrich Drepper2009-08-021-6/+0
|
* Optimize x86 and x86-64 ____longjmp_chk for Linux.Ulrich Drepper2009-07-311-52/+21
|
* Support multiarch for i686.H.J. Lu2009-07-311-0/+1
| | | | | | This patch adds multiarch support when configured for i686. I modified some x86-64 functions to support 32bit. I will contribute 32bit SSE string and memory functions later.
* Whitespace cleanup.Ulrich Drepper2009-07-301-2/+2
|
* Add sigstack handling to Linux ____longjmp_chk on i386.Ulrich Drepper2009-07-301-0/+143
| | | | All other i386 ports need to provide their own versions.
* Add more cache descriptors for L3 caches on x86 and x86-64.Ulrich Drepper2009-07-231-0/+3
| | | | | The most recent AP 485 describes a few more cache descriptors for L3 caches with 24-way associativity.
* Preserve stack alignment in i386 makecontext.Ulrich Drepper2009-07-231-6/+4
|
* Add missing file from accept4 commit.Ulrich Drepper2009-05-311-0/+1
| | | | Hidden by previous .gitignore content.
* Compact cache info data structure for x86/x86-64.Ulrich Drepper2009-05-291-78/+78
| | | | This saves about 1.5kB in the DSO.
* Implement accept4 for more archs using socketcall.Jakub Jelinek2009-05-221-4/+0
| | | | | So far accept4 was only supported on archs using socketcall for x86. This patch adds support for the remaining archs.
* Add missing export of fallocate64 on 32-bit platforms.Jakub Jelinek2009-05-152-1/+5
| | | | | | Due to a pasto the fallocate64 interface, introduced in glibc 2.10, isn't exported for 32-bit Linux platforms. It is too late for this now so exported them for glibc 2.11.
* * version.h (VERSION): Bump to 2.10.1. cvs/fedora-glibc-20090510T1842 cvs/masterUlrich Drepper2009-05-101-0/+1
| | | | | | | | | | | | | | * nss/getXXbyYY_r.c: If NO_COMPAT_NEEDED is defined don't define any compatibility functions. * nss/getXXent_r.c: Likewise. * gshadow/getsgent_r.c: Define NO_COMPAT_NEEDED. * gshadow/getsgnam_r.c: Likewise. * gshadow/Version: Remove duplicate entries. * sysdeps/x86_64/cacheinfo.c (intel_02_cache_info): Add missing entries for recent processor. * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_cache_info): Likewise.
* Yet more changes to match sort function type change.Ulrich Drepper2009-03-173-18/+19
|
* * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Declare fallocate{,64}.Ulrich Drepper2009-03-031-0/+17
| | | | | | | | | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
* * sysdeps/unix/sysv/linux/fallocate.c: New file.Ulrich Drepper2009-03-022-0/+64
| | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/fallocate64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: New file. * sysdeps/unix/sysv/linux/i386/fallocate64.c: New file. * sysdeps/unix/sysv/linux/i386/fallocate.c: New file. * sysdeps/unix/sysv/linux/Versions: Export fallocate and fallocate64 for GLIBC_2.10. * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): Add fallocate and fallocate64. * io/fcntl.h: Pretty printing.
* * stdlib/monetary.h: Uglify function parameter names. cvs/fedora-glibc-20090218T1534Jakub Jelinek2009-02-161-43/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sunrpc/rpc/pmap_clnt.h: Likewise. * sunrpc/rpc/svc.h: Likewise. * sunrpc/rpc/xdr.h: Likewise. * sunrpc/rpc/clnt.h: Likewise. * resolv/netdb.h: Likewise. * resolv/arpa/nameser.h: Likewise. * resolv/resolv.h: Likewise. * argp/argp.h: Likewise. * locale/langinfo.h: Likewise. * io/sys/stat.h: Likewise. * posix/spawn.h: Likewise. * nis/rpcsvc/nislib.h: Likewise. * malloc/obstack.h: Likewise. * sysdeps/ia64/bits/link.h: Likewise. * sysdeps/i386/bits/link.h: Likewise. * sysdeps/s390/bits/link.h: Likewise. * sysdeps/powerpc/bits/link.h: Likewise. * sysdeps/x86_64/bits/link.h: Likewise. * sysdeps/sparc/bits/link.h: Likewise. * sysdeps/sh/bits/link.h: Likewise. * sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise. * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise. 2009-02-16 Jakub Jelinek <jakub@redhat.com> * stdlib/monetary.h: Uglify function parameter names. * sunrpc/rpc/pmap_clnt.h: Likewise. * sunrpc/rpc/svc.h: Likewise. * sunrpc/rpc/xdr.h: Likewise. * sunrpc/rpc/clnt.h: Likewise. * resolv/netdb.h: Likewise. * resolv/arpa/nameser.h: Likewise. * resolv/resolv.h: Likewise. * argp/argp.h: Likewise. * locale/langinfo.h: Likewise. * io/sys/stat.h: Likewise. * posix/spawn.h: Likewise. * nis/rpcsvc/nislib.h: Likewise. * malloc/obstack.h: Likewise. * sysdeps/ia64/bits/link.h: Likewise. * sysdeps/i386/bits/link.h: Likewise. * sysdeps/s390/bits/link.h: Likewise. * sysdeps/powerpc/bits/link.h: Likewise. * sysdeps/x86_64/bits/link.h: Likewise. * sysdeps/sparc/bits/link.h: Likewise. * sysdeps/sh/bits/link.h: Likewise. * sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise. * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
* [BZ #7095]Ulrich Drepper2009-02-071-9/+15
| | | | | | | | | | | | | | | | | | 2009-02-06 Ulrich Drepper <drepper@redhat.com> [BZ #7095] * bits/confname.h: Add SUSv7 macros for getconf environments. * bits/environments.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/environments.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/environments.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/environments.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/environments.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Likewise. * posix/confstr.c: Handle SUSv5 and SUSv7 environments. * posix/getconf.c: Likewise. * posix/sysconf.c: Likewise. * sysdeps/posix/sysconf.c: Likewise. * posix/Makefile (getconf.speclist): Also collect SUSv5 and SUSv7 environments.
* * sysdeps/x86_64/cacheinfo.c (intel_02_known): Add new descriptors.Ulrich Drepper2009-02-011-0/+14
| | | | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
* * sysdeps/unix/sysv/linux/i386/sysdep.h: Describe 6th argumentUlrich Drepper2009-01-031-1/+3
| | | | handling.
* * socket/sys/socket.h: Declare accept4.Ulrich Drepper2008-12-032-60/+108
| | | | | | | | | | | | | | | | | * socket/accept4.c: New file. * sysdeps/unix/sysv/linux/accept4.c: New file. * sysdeps/unix/sysv/linux/i386/accept4.S: New file. * socket/Makefile (routines): Add accept4. * socket/Versions: Export accept4 with version GLIBC_2.10. * socket/paccept.c: Removed. * sysdeps/unix/sysv/linux/paccept.c: Removed. * sysdeps/unix/sysv/linux/i386/paccept.S: Removed. * Versions.def: Define GLIBC_2.10 for libc. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_ACCEPT4. * nscd/connections.c: Use accept4. * sysdeps/unix/sysv/linux/i386/socket.S: Fix comment.
* * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_STACK.Ulrich Drepper2008-08-151-0/+1
| | | | * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
* * Versions.def (glibc): Add GLIBC_2.9.Ulrich Drepper2008-07-251-0/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * io/Makefile (routines): Add dup3 and pipe2. * io/Versions [glibc] (GLIBC_2.9): Add dup3 and pipe2. * io/dup3.c: New file. * io/pipe2.c: New file. * posix/unistd.h: Declare dup3 and pipe2. * socket/Makefile (routines): Add paccept. * socket/Versions [glibc] (GLIBC_2.9): Add paccept. * socket/paccept.c: New file. * socket/sys/socket.h: Declare paccept. * sysdeps/unix/syscalls.list: Add entry for dup3. * sysdeps/unix/sysv/linux/Versions [glibc] (GLIBC_2.9): Add epoll_create2 and inotify_init1. * sysdeps/unix/sysv/linux/eventfd.c: Use eventfd1 syscall if possible. * sysdeps/unix/sysv/linux/paccept.c: New file. * sysdeps/unix/sysv/linux/signalfd.c: Use signalfd4 syscall if possible. * sysdeps/unix/sysv/linux/socketcall.h: Add SOCKOP_paccept. * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_create2, inotify_init1, and pipe2 entries. * sysdeps/unix/sysv/linux/alpha/sys/epoll.h: New file. * sysdeps/unix/sysv/linux/alpha/sys/eventfd.h: New file. * sysdeps/unix/sysv/linux/alpha/sys/inotify.h: New file. * sysdeps/unix/sysv/linux/alpha/sys/signalfd.h: New file. * sysdeps/unix/sysv/linux/alpha/sys/timerfd.h: New file. * sysdeps/unix/sysv/linux/bits/socket.h: Define SOCK_CLOEXEC and SOCK_NONBLOCK. * sysdeps/unix/sysv/linux/i386/paccept.S: New file. * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: New file. * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: New file. * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: New file. * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: New file. * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: New file. * sysdeps/unix/sysv/linux/sparc/bits/socket.h: New file. * sysdeps/unix/sysv/linux/sys/epoll.h: Define EPOLL_CLOEXEC and EPOLL_NONBLOCK. Declare epoll_create2. * sysdeps/unix/sysv/linux/sys/eventfd.h: Define EFD_CLOEXEC and EFD_NONBLOCK. * sysdeps/unix/sysv/linux/sys/inotify.h: Define IN_CLOEXEC and IN_NONBLOCK. Declare inotify_init1. * sysdeps/unix/sysv/linux/sys/signalfd.h: Define SFD_CLOEXEC and SFD_NONBLOCK. * sysdeps/unix/sysv/linux/sys/timerfd.h: Define TFD_CLOEXEC and TFD_NONBLOCK.
* [BZ #5436]Ulrich Drepper2008-04-091-1/+2
| | | | | | | | | | | | | | 2008-04-09 Ulrich Drepper <drepper@redhat.com> * stdlib/tst-makecontext.c: Change parameter to cf to negative value to check for correct sign extension. [BZ #5436] * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext): Copy 64-bit parameter values even though this is not required in the standard. * sysdeps/unix/sysv/linux/x86_64/vfork.S (__vfork): Record return PC save.
* * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext): AvoidUlrich Drepper2008-01-091-4/+6
| | | | | | clobbering memory at or above uc_stack.ss_sp + uc_stack.ss_size. * stdlib/Makefile: Add rules to build and run tst-makecontext2. * stdlib/tst-makecontext2.c: New test.
* (intel_02_known): New entry 0x3f.Ulrich Drepper2007-12-231-0/+1
|
* [BZ #5435]Ulrich Drepper2007-12-031-5/+11
| | | | * sysdeps/unix/sysv/linux/i386/makecontext.S: Align stack.
* * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define F_DUPFD_CLOEXEC. cvs/fedora-glibc-20071017T2007Ulrich Drepper2007-10-171-0/+2
| | | | | | | | | | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
* Correct return value type __THROW marker of splice, vmsplice, and tee.Ulrich Drepper2007-09-181-7/+7
|