aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
AgeCommit message (Collapse)Author
2013-01-01Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers
2012-12-06linux: posix_fadvise: support __NR_fadvise64_64Mike Frysinger
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>
2012-12-06Fix "set but not used" warnings for powerpc64Siddhesh Poyarekar
2012-12-04Fix powerpc32 "set but not used" warnings from INTERNAL_SYSCALL_DECL.Joseph Myers
2012-11-29clock_getcpuclockid: delete unused HAS_CPUCLOCKMike Frysinger
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>
2012-11-28Revert "2012-11-07 Andreas Jaeger <aj@suse.de>"Andreas Schwab
This reverts commit 01f34a3bd8c087ca4be0bd24857e454c8d29f20b. The issue has been fixed in the kernel.
2012-11-20Document syscall signature prefixes in sysdep/unix/make-syscalls.shCarlos O'Donell
2012-11-20Add recvmmsg and sendmmsg to the generic glibc API.Thomas Schwinge
2012-11-17Include string.h in sysdeps/unix/sysv/linux/fxstatat.c.Joseph Myers
2012-11-11Fix check-localplt regressions on sparc.David S. Miller
* 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.
2012-11-09Support --with-pkgversion and --with-bugurl.Joseph Myers
2012-11-09PowerPC: Use <bits/fcntl-linux.h>Andreas Jaeger
* 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>.
2012-11-08S/390: Add hwcap value for transactional execution.Andreas Krebbel
2012-11-07Fix NULL ucontext->uc_link handling on sparc64.David S. Miller
* 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-072012-11-07 Andreas Jaeger <aj@suse.de>Jeff Law
[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.
2012-11-04[BZ #157] Remove include/stub-tag.h for good.Thomas Schwinge
2012-11-04Fix small indendation issues in paths.h filesPino Toscano
2012-11-01PowerPC: Fix uc_link == NULL handling for makecontex.Andreas Schwab
If the function registered with makecontext returns with a NULL context link the process should exit with zero, not non-zero.
2012-10-31Fix powerpc abilist sort orderAndreas Schwab
2012-10-31Correct order of entries in powerpc libc.abilist files.Tulio Magno Quites Machado Filho
2012-10-27Remove redundant defines of __O_LARGEFILEAndreas Jaeger
* 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>.
2012-10-25Fix sparc64 build.David S. Miller
* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c (__get_clockfreq_via_proc_openprom): Use strtoumax instead of strtoull.
2012-10-25Use __getdents instead of __getdirentries in sparc ↵Roland McGrath
__get_clockfreq_via_proc_openprom.
2012-10-24BZ#14743: Move clock_* symbols from librt to libc.Roland McGrath
2012-10-24F_GETLK cleanup for <bits/fcntl.h>Andreas Jaeger
2012-10-22Fix O_RSYNCAndreas Jaeger
(O_RSYNC): Define to __O_RSYNC if it exists, otherwise to O_SYNC.
2012-10-22Always define __O_LARGEFILEAndreas Jaeger
2012-10-22Improve <bits/fcntl-linux.h>: F_GETLK etc.Andreas Jaeger
(F_GETLK, F_SETLK, F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2012-10-22Install <bits/fcntl-linux.h>Andreas Jaeger
(sysdep_headers): Add bits/fcntl-linux.h.
2012-10-22Use __O_LARGEFILE instead of O_LARGEFILEAndreas Jaeger
2012-10-21SH: Use <bits/fcntl-linux.h>Andreas Jaeger
Remove all definitions and declarations that are provided by <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2012-10-20Reorganization of bits/fcntl.h for LinuxAndreas Jaeger
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
2012-10-18Remove _G_OPEN64, _G_LSEEK64, _G_MMAP64, _G_FSTAT64 from _G_config.h.Joseph Myers
2012-10-12Avoid PLT references from __get_clockfreq on powerpcAndreas Schwab
2012-10-10* crypt/crypt-entry.c: Include fips-private.h.Alexandre Oliva
(__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.
2012-10-09Add missing magic to GLIBC_PROVIDES.Roland McGrath
2012-10-09Remove _G_off64_t and _G_stat64 from _G_config.h.Joseph Myers
2012-10-08Fix missing include in sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.cAndreas Schwab
2012-10-04powerpc: add name_to_handle_at, open_by_handle etc. to bits/fcntl.hKhem Raj
Fixes BZ #14251.
2012-10-04Name space hygeine for madvise.Roland McGrath
2012-10-03Remove sysdeps/unix/bsd/confstr.h file.Roland McGrath
2012-10-01Get rid of unused __swblk_t type.Roland McGrath
2012-10-01Clean up init-first.c files.Roland McGrath
2012-09-28Move _G_config.h with Linuxism to linux/ directory.Roland McGrath
2012-09-25Add __ppc_get_timebase_freq to ppc.h.Tulio Magno Quites Machado Filho
2012-09-25Shrink heap on linux when overcommit_memory == 2Siddhesh Poyarekar
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.
2012-09-01Remove __ASSUME_POSIX_CPU_TIMERS.Joseph Myers
2012-08-29Don't make ttyname* fail if proc filesystem is not availableSiddhesh Poyarekar
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.
2012-08-27Remove __ASSUME_STAT64_SYSCALL.Joseph Myers
2012-08-23Make dl-fxstatat64.c include of fxstatat64.c use <> not "".Joseph Myers