aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/i386
AgeCommit message (Collapse)Author
2016-05-12CVE-2016-1234: glob: Do not copy d_name field of struct dirent [BZ #19779]Florian Weimer
Instead, we store the data we need from the return value of readdir in an object of the new type struct readdir_result. This type is independent of the layout of struct dirent. (cherry picked from commit 5171f3079f2cc53e0548fc4967361f4d1ce9d7ea)
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae
2013-08-30Fix typos.Ondřej Bílka
2013-08-16CVE-2013-4237, BZ #14699: Buffer overflow in readdir_rFlorian Weimer
* sysdeps/posix/dirstream.h (struct __dirstream): Add errcode member. * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode member. * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member. * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit. Return delayed error code. Remove GETDENTS_64BIT_ALIGNED conditional. * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define GETDENTS_64BIT_ALIGNED. * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise. * manual/filesys.texi (Reading/Closing Directory): Document ENAMETOOLONG return value of readdir_r. Recommend readdir more strongly. * manual/conf.texi (Limits for Files): Add portability note to NAME_MAX, PATH_MAX. (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2013-06-28Add GLRO(dl_hwcap2) for new AT_HWCAP2 auxv_t a_type.Ryan S. Arnold
2013-06-15New API to set default thread attributesSiddhesh Poyarekar
This patch introduces two new convenience functions to set the default thread attributes used for creating threads. This allows a programmer to set the default thread attributes just once in a process and then run pthread_create without additional attributes.
2013-04-02New <math.h> macro named issignaling to check for a signaling NaN (sNaN).Thomas Schwinge
It is based on draft TS 18661 and currently enabled as a GNU extension.
2013-02-21Remove remaining bounded-pointers support from i386 .S files.Joseph Myers
2013-02-18C++11 thread_local destructors supportSiddhesh Poyarekar
This feature is specifically for the C++ compiler to offload calling thread_local object destructors on thread program exit, to glibc. This is to overcome the possible complication of destructors of thread_local objects getting called after the DSO in which they're defined is unloaded by the dynamic linker. The DSO is marked as 'unloadable' if it has a constructed thread_local object and marked as 'unloadable' again when all the constructed thread_local objects defined in it are destroyed.
2013-02-13Remove __ptrvalue, __bounded and __unbounded.Joseph Myers
2013-02-08Remove CHECK_N and bp-checks.h.Joseph Myers
2013-02-08Remove CHECK_1 and CHECK_1_NULL_OK.Joseph Myers
2013-02-04Remove CHECK_STRING, CHECK_STRING_NULL_OK and __ubp_memchr.Joseph Myers
2013-01-31Remove bp-semctl.h and CHECK_SEMCTL.Joseph Myers
2013-01-31Remove bp-thunks code.Joseph Myers
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers
2012-10-24BZ#14743: Move clock_* symbols from librt to libc.Roland McGrath
2012-08-27Remove __ASSUME_STAT64_SYSCALL.Joseph Myers
2012-08-21Remove __ASSUME_FADVISE64_64_SYSCALL.Joseph Myers
2012-08-20Remove __ASSUME_MMAP2_SYSCALL.Joseph Myers
2012-08-08Missing #include updates for dirstream code move from unix to posix.Roland McGrath
2012-08-07Move common dirent implementation from sysdeps/unix to sysdeps/posix.Roland McGrath
2012-08-01Remove __ASSUME_FCNTL64.Joseph Myers
2012-08-01Remove __ASSUME_VFORK_SYSCALL (and some __NR_vfork conditionals).Joseph Myers
2012-08-01BZ#14138: Move getrlimit (ugetrlimit) syscall to syscalls.list.Roland McGrath
2012-07-25Remove unused pseudo_end labelAndreas Schwab
2012-07-25Rename __secure_getenv to secure_getenvFlorian Weimer
2012-07-20Move localplt baselines to sysdeps directories.Joseph Myers
2012-07-17Move c++-types baselines to sysdeps directories.Joseph Myers
2012-06-04Use x86_64 bits/{debugreg,reg}.h for i386 and x86-64H.J. Lu
2012-06-04Use x86_64 bits/{io,perm}.h for i386 and x86_64H.J. Lu
2012-06-01Use i386 sys/elf.h and sys/vm86.h for i386 and x86-64H.J. Lu
2012-06-01Use i386 bits/wchar.h for i386 and x86-64H.J. Lu
2012-05-31Support __WORDSIZE == 64 in i386 bits/wchar.hH.J. Lu
2012-05-31Use x86_64 sys/{ucontext,user}.h for i386 and x86_64H.J. Lu
2012-05-31Use x86_64 sys/procfs.h for both i386 and x86_64H.J. Lu
2012-05-31Use x86_64 bits/mman.h for both i386 and x86_64H.J. Lu
2012-05-31Use x86_64 bits/fcntl.h for both i386 and x86_64H.J. Lu
2012-05-31Use x86_64 bits/environments.h for i386 and x86_64H.J. Lu
2012-05-31Use x86_64 bits/a.out.h for both i386 and x86_64H.J. Lu
2012-05-31Add x86-64 support to i386 sys/elf.h and sys/vm86.hH.J. Lu
2012-05-30Convert WORDSIZE[32|64]/ld entries to abi-variantsH.J. Lu
2012-05-25Remove __ASSUME_NEW_GETRLIMIT_SYSCALL.Joseph Myers
2012-05-25Add systemtap static probe points in setjmp/longjmp on x86.Roland McGrath
2012-05-25Remove pre-2.4 Linux kernel support.Joseph Myers
2012-05-23Replace "jmp L(pseudo_end)" with "ret"H.J. Lu
2012-05-23Update from Linux 3.4Andreas Jaeger
2012-05-22Use "neg %eax" in i386 SYSCALL_ERROR_HANDLERH.J. Lu
2012-05-20Add <sys/auxv.h> and getauxval.Richard Henderson
2012-05-14Remove pre-2.2 Linux kernel support.Joseph Myers