about summary refs log tree commit diff
path: root/sysdeps/unix
Commit message (Collapse)AuthorAgeFilesLines
* Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers2013-01-0110-18/+10
|
* linux: posix_fadvise: support __NR_fadvise64_64Mike Frysinger2012-12-061-2/+11
| | | | | | | | Some arches do not have a __NR_fadvise64 but do have __NR_fadvise64_64. If the former is unavailable, fallback to the latter. Reviewed-by: Carlos O'Donell <carlos@systemhalted.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Fix "set but not used" warnings for powerpc64Siddhesh Poyarekar2012-12-061-3/+2
|
* Fix powerpc32 "set but not used" warnings from INTERNAL_SYSCALL_DECL.Joseph Myers2012-12-041-1/+1
|
* clock_getcpuclockid: delete unused HAS_CPUCLOCKMike Frysinger2012-11-291-4/+0
| | | | | | | | In commit 26889eacc24cd9f0cb37c5a67beac1a0ba709adf (Remove __ASSUME_POSIX_CPU_TIMERS), all users of HAS_CPUCLOCK were dropped. Punt the fallback definition too. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Revert "2012-11-07 Andreas Jaeger <aj@suse.de>"Andreas Schwab2012-11-281-17/+1
| | | | | | This reverts commit 01f34a3bd8c087ca4be0bd24857e454c8d29f20b. The issue has been fixed in the kernel.
* Document syscall signature prefixes in sysdep/unix/make-syscalls.shCarlos O'Donell2012-11-201-2/+14
|
* Add recvmmsg and sendmmsg to the generic glibc API.Thomas Schwinge2012-11-205-58/+16
|
* Include string.h in sysdeps/unix/sysv/linux/fxstatat.c.Joseph Myers2012-11-171-1/+2
|
* Fix check-localplt regressions on sparc.David S. Miller2012-11-111-4/+5
| | | | | | | * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include inttypes.h (__get_clockfreq_via_proc_openprom): Use __open, __read, and __close rather than their public counterparts.
* Support --with-pkgversion and --with-bugurl.Joseph Myers2012-11-091-3/+3
|
* PowerPC: Use <bits/fcntl-linux.h>Andreas Jaeger2012-11-091-258/+11
| | | | | | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all definitions and declarations that are provided by <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
* S/390: Add hwcap value for transactional execution.Andreas Krebbel2012-11-081-0/+1
|
* Fix NULL ucontext->uc_link handling on sparc64.David S. Miller2012-11-073-12/+43
| | | | | | | | | | | * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c (__start_context): Declare. (__makecontext_ret): Delete. (__makecontext): Hook up __start_context instead of __makecontext_ret. * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (sysdep_routines): Add __start_context when in stdlib.
* 2012-11-07 Andreas Jaeger <aj@suse.de>Jeff Law2012-11-071-1/+17
| | | | | | | | [BZ #14809] * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H) (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header guards are changed. Only define if not yet defined, #undef back after including linux/sysctl.h if defined here.
* [BZ #157] Remove include/stub-tag.h for good.Thomas Schwinge2012-11-049-12/+0
|
* Fix small indendation issues in paths.h filesPino Toscano2012-11-041-2/+2
|
* PowerPC: Fix uc_link == NULL handling for makecontex.Andreas Schwab2012-11-011-15/+15
| | | | | If the function registered with makecontext returns with a NULL context link the process should exit with zero, not non-zero.
* Fix powerpc abilist sort orderAndreas Schwab2012-10-312-2/+2
|
* Correct order of entries in powerpc libc.abilist files.Tulio Magno Quites Machado Filho2012-10-312-2/+2
|
* Remove redundant defines of __O_LARGEFILEAndreas Jaeger2012-10-272-4/+0
| | | | | | | | | | | * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE) [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): [__WORDSIZE != 64]: Likewise. * sysdeps/unix/sysv/linux/generic/bits/fcntl.h: (__O_LARGEFILE) [__WORDSIZE != 64]: Do not define, take value from <bits/fcntl-linux.h>.
* Fix sparc64 build.David S. Miller2012-10-251-1/+1
| | | | | | * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c (__get_clockfreq_via_proc_openprom): Use strtoumax instead of strtoull.
* Use __getdents instead of __getdirentries in sparc ↵Roland McGrath2012-10-251-3/+1
| | | | __get_clockfreq_via_proc_openprom.
* BZ#14743: Move clock_* symbols from librt to libc.Roland McGrath2012-10-2418-24/+78
|
* F_GETLK cleanup for <bits/fcntl.h>Andreas Jaeger2012-10-243-46/+0
|
* Fix O_RSYNCAndreas Jaeger2012-10-221-1/+5
| | | | (O_RSYNC): Define to __O_RSYNC if it exists, otherwise to O_SYNC.
* Always define __O_LARGEFILEAndreas Jaeger2012-10-222-13/+8
|
* Improve <bits/fcntl-linux.h>: F_GETLK etc.Andreas Jaeger2012-10-221-3/+9
| | | | (F_GETLK, F_SETLK, F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
* Install <bits/fcntl-linux.h>Andreas Jaeger2012-10-221-0/+1
| | | | (sysdep_headers): Add bits/fcntl-linux.h.
* Use __O_LARGEFILE instead of O_LARGEFILEAndreas Jaeger2012-10-222-4/+4
|
* SH: Use <bits/fcntl-linux.h>Andreas Jaeger2012-10-211-278/+3
| | | | | Remove all definitions and declarations that are provided by <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
* Reorganization of bits/fcntl.h for LinuxAndreas Jaeger2012-10-204-761/+409
| | | | | | | Create a new bits/fcntl-linux.h that contains Linux generic code and a include it from the architecture specific bits/fcntl.h. Architectures done: x86, SPARC, s390
* Remove _G_OPEN64, _G_LSEEK64, _G_MMAP64, _G_FSTAT64 from _G_config.h.Joseph Myers2012-10-181-5/+0
|
* Avoid PLT references from __get_clockfreq on powerpcAndreas Schwab2012-10-121-5/+5
|
* * crypt/crypt-entry.c: Include fips-private.h.Alexandre Oliva2012-10-101-0/+74
| | | | | | | (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled. * crypt/md5c-test.c (main): Tolerate disabled MD5. * sysdeps/unix/sysv/linux/fips-private.h: New file. * sysdeps/generic/fips-private.h: New file, dummy fallback.
* Add missing magic to GLIBC_PROVIDES.Roland McGrath2012-10-092-219/+0
|
* Remove _G_off64_t and _G_stat64 from _G_config.h.Joseph Myers2012-10-091-2/+0
|
* Fix missing include in sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.cAndreas Schwab2012-10-081-0/+1
|
* powerpc: add name_to_handle_at, open_by_handle etc. to bits/fcntl.hKhem Raj2012-10-041-1/+27
| | | | Fixes BZ #14251.
* Name space hygeine for madvise.Roland McGrath2012-10-042-3/+1
|
* Remove sysdeps/unix/bsd/confstr.h file.Roland McGrath2012-10-031-1/+0
|
* Get rid of unused __swblk_t type.Roland McGrath2012-10-014-4/+0
|
* Clean up init-first.c files.Roland McGrath2012-10-015-123/+12
|
* Move _G_config.h with Linuxism to linux/ directory.Roland McGrath2012-09-281-0/+65
|
* Add __ppc_get_timebase_freq to ppc.h.Tulio Magno Quites Machado Filho2012-09-258-0/+135
|
* Shrink heap on linux when overcommit_memory == 2Siddhesh Poyarekar2012-09-251-0/+57
| | | | | | | | | | | | | Using madvise with MADV_DONTNEED to release memory back to the kernel is not sufficient to change the commit charge accounted against the process on Linux. It is OK however, when overcommit is enabled or is heuristic. However, when overcommit is restricted to a percentage of memory setting the contents of /proc/sys/vm/overcommit_memory as 2, it makes a difference since memory requests will fail. Hence, we do what we do with secure exec binaries, which is to call mmap on the region to be dropped with MAP_FIXED. This internally unmaps the pages in question and reduces the amount of memory accounted against the process.
* Remove __ASSUME_POSIX_CPU_TIMERS.Joseph Myers2012-09-015-272/+21
|
* Don't make ttyname* fail if proc filesystem is not availableSiddhesh Poyarekar2012-08-292-12/+0
| | | | | | | | | The ttyname and ttyname_r functions on Linux now fall back to searching for the tty file descriptor in /dev/pts or /dev if /proc is not available. This allows creation of chroots without the procfs mounted on /proc. Fixes BZ #14516.
* Remove __ASSUME_STAT64_SYSCALL.Joseph Myers2012-08-2711-387/+21
|
* Make dl-fxstatat64.c include of fxstatat64.c use <> not "".Joseph Myers2012-08-231-1/+1
|