about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Consolidate definitions of _FORTIFY_SOURCE wrappers for open{,64}{,at}.Roland McGrath2013-05-031-1/+1
|
* Install <bits/mman-linux.h>Andreas Jaeger2013-03-071-1/+2
| | | | | * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add bits/mman-linux.h.
* Add recvmmsg and sendmmsg to the generic glibc API.Thomas Schwinge2012-11-201-2/+1
|
* Install <bits/fcntl-linux.h>Andreas Jaeger2012-10-221-0/+1
| | | | (sysdep_headers): Add bits/fcntl-linux.h.
* Add bits/sysctl.h to sysdep_headersMarkus Trippelsdorf2012-05-311-1/+1
|
* Convert WORDSIZE[32|64]/ld entries to abi-variantsH.J. Lu2012-05-301-27/+26
|
* Remove $(sysctl) from sysdep_routinesH.J. Lu2012-05-221-1/+1
|
* Add sysctl.mk and bits/sysctl.hH.J. Lu2012-05-221-1/+3
|
* Install bits/syscall.h through install-headers.Joseph Myers2012-03-141-12/+4
|
* Split enum __socket_type from bits/socket.h to bits/socket_type.h.Joseph Myers2012-03-091-1/+2
|
* Split architecture-specific parts of sys/epoll.h into bits/epoll.h.Joseph Myers2012-02-211-1/+1
|
* Split architecture-specific parts of sys/timerfd.h into bits/timerfd.h.Joseph Myers2012-02-211-1/+1
|
* Split architecture-specific parts of sys/signalfd.h into bits/signalfd.h.Joseph Myers2012-02-151-1/+2
|
* Split architecture-specific parts of sys/inotify.h into bits/inotify.h.Joseph Myers2012-02-141-1/+1
|
* Split architecture-specific parts of sys/eventfd.h into bits/eventfd.h.Joseph Myers2012-02-131-1/+1
|
* Support building bits/syscall.h for any number of subarch variants.Joseph Myers2011-12-221-27/+39
|
* Cache network interface informationUlrich Drepper2011-10-311-1/+1
| | | | | | | | | | | | Whenever getaddrinfo needed network interface information it used the netlink interface to read the information every single time. The problem is that this information can change at any time. The patch implements monitoring of the network interfaces through nscd. If no change is detected the previously read information can be reused (which is the norm). This timestamp information is also made available to other processes using the shared memory segment between nscd and those processes.
* Fix tst-writev on non-4K page sizeDavid S. Miller2011-08-171-1/+1
|
* Generalize framework to register monitoring of files in nscdUlrich Drepper2011-07-111-7/+1
| | | | | | | | nscd can clear caches when certain files change. The list of files was hardcoded so far and worked for nss_files and nss_dns and those modules which need no monitoring. nss_db, for instance, has its own set of files to monitor. Now the NSS modules themselves can request that certain files are monitored.
* Add missing HAVE_SENDFILE definitionUlrich Drepper2011-06-271-0/+1
|
* Work around limit in writev in 2.6.38+ kernelsUlrich Drepper2011-06-241-0/+1
|
* Add sendmmsg syscallUlrich Drepper2011-05-281-1/+2
|
* Make complete getcwd work in rtldUlrich Drepper2011-05-081-1/+2
|
* Fix Linux getcwd for long pathsUlrich Drepper2011-05-081-1/+1
| | | | | | | | | | The getcwd syscall (so far?) can only handle path up to one page in size. There is no limit about directory hierarchy depth, though, and the POSIX getcwd is supposed to handle this. In that case fall back to the generic getcwd. Additionally, optimize the generic getcwd to use openat when possible to change the asymptotic performance from O(N^2) to O(n).
* Install bits/timex.h header.Andreas Schwab2011-04-011-1/+1
|
* Add support for Linux fanotify_init and fanotify_mask syscalls.Ulrich Drepper2010-08-111-1/+1
|
* Add support for prlimit and prlimit64 on Linux.Ulrich Drepper2010-08-111-1/+1
|
* Implement recvmmsg also as socketcallAndreas Schwab2010-05-211-1/+1
|
* Update ntp_gettime for Linux.Ulrich Drepper2009-11-221-3/+3
| | | | | | | | | | | The ntp_gettime implementation of NTP exports the tai field the kernel now produces. This requires an ABI change since the ntptimeval structure changed. Upstream kept the same name, there is nothing to do. This patch changes the ntptimeval structure but keeps the old ntp_gettime definition. A new ntp_gettimex function which is transparently invoked through the old name is introduced. This has the advantage that even object files can remain compatible. This wouldn't be the case if symbol versioning would be used to overload the name ntp_gettime.
* Implement accept4 for more archs using socketcall.Jakub Jelinek2009-05-221-0/+4
| | | | | So far accept4 was only supported on archs using socketcall for x86. This patch adds support for the remaining archs.
* * sysdeps/unix/sysv/linux/fallocate.c: New file.Ulrich Drepper2009-03-021-1/+1
| | | | | | | | | | | | | | * 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.
* * nscd/nscd.h (struct database_dyn): Add inotify_descr and clear_cacheUlrich Drepper2008-06-121-1/+1
| | | | | | | | | | | | | | | | | fields. * nscd/connections.c (inotify_fd): New variable. (nscd_init): Try to open an inotify descriptor. If successful, watch files for databases using inotify instead of having prune threads stat the files. (nscd_run_prune): Recognize clear_cache flag being set and call prune_cache appropriately. (main_loop_poll): Add inotify descriptor to wait set and handle the reported changes. (main_loop_epoll): Likewise. * nscd/cache.c (prune_cache): Don't stat files for databases if inotify is used. * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (CFLAGS-connections.c): Add -DHAVE_INOTIFY.
* * sysdeps/unix/sysv/linux/sys/timerfd.h: New file.Ulrich Drepper2008-02-101-1/+2
| | | | | | | | | * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): Add sys/timerfd.h. * sysdeps/unix/sysv/linux/syscalls.list: Add timerfd_create, timerfd_gettime, timerfd_settime. * sysdeps/unix/sysv/linux/Versions: Add timerfd_create, timerfd_gettime, timerfd_settime for GLIBC_2.8.
* * sysdeps/unix/sysv/linux/Makefile [subdir=inet] (sysdep_headers):Ulrich Drepper2007-11-231-1/+1
| | | | | | | | | | Add netiucv/iucv.h. * sysdeps/unix/sysv/linux/netiucv/iucv.h: New file. * sysdeps/unix/sysv/linux/opensock.c (__opensock): Add AF_IUCV protocol. * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Likewise. * sysdeps/unix/sysv/linux/s390/opensock.c: New file. * sysdeps/unix/sysv/linux/s390/sa_len.c: New file.
* * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):Ulrich Drepper2007-11-171-1/+1
| | | | Add sys/signalfd.h and sys/eventfd.h.
* * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to..Ulrich Drepper2007-11-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/open64_2.c: ...here. New file. * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): Add open64_2. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add open and creat entries. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. * sysdeps/wordsize-64/alphasort.c: New file. * sysdeps/wordsize-64/alphasort64.c: New file. * sysdeps/wordsize-64/fseeko.c: New file. * sysdeps/wordsize-64/fseeko64.c: New file. * sysdeps/wordsize-64/ftello.c: New file. * sysdeps/wordsize-64/ftello64.c: New file. * sysdeps/wordsize-64/ftw.c: New file. * sysdeps/wordsize-64/ftw64.c: New file. * sysdeps/wordsize-64/iofgetpos.c: New file. * sysdeps/wordsize-64/iofgetpos64.c: New file. * sysdeps/wordsize-64/iofopen.c: New file. * sysdeps/wordsize-64/iofopen64.c: New file. * sysdeps/wordsize-64/iofsetpos.c: New file. * sysdeps/wordsize-64/iofsetpos64.c: New file. * sysdeps/wordsize-64/lockf.c: New file. * sysdeps/wordsize-64/lockf64.c: New file. * sysdeps/wordsize-64/mkostemp.c: New file. * sysdeps/wordsize-64/mkostemp64.c: New file. * sysdeps/wordsize-64/mkstemp.c: New file. * sysdeps/wordsize-64/mkstemp64.c: New file. * sysdeps/wordsize-64/scandir.c: New file. * sysdeps/wordsize-64/scandir64.c: New file. * sysdeps/wordsize-64/tmpfile.c: New file. * sysdeps/wordsize-64/tmpfile64.c: New file. * sysdeps/wordsize-64/versionsort.c: New file. * sysdeps/wordsize-64/versionsort64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/aio_read.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/aio_read64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/aio_write.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/aio_write64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/lio_listio.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/lio_listio64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/open64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/openat.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: New file. * crypt/sha256-crypt.c: Fix a comment. * crypt/sha512-crypt.c: Likewise.
* 2007-10-04 Jakub Jelinek <jakub@redhat.com>Ulrich Drepper2007-10-051-1/+2
| | | | 2007-10-03 Jakub Jelinek <jakub@redhat.com>
* * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add signalfd.Ulrich Drepper2007-10-051-1/+1
| | | | | | * sysdeps/unix/sysv/linux/signalfd.c: New file. * sysdeps/unix/sysv/linux/sys/signalfd.h: New file. * sysdeps/unix/sysv/linux/Versions: Export signalfd for GLIBC_2.7.
* * Makerules (sysd-rules): Define PTW for ptw-* files.Ulrich Drepper2007-05-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Versions: Define GLIBC_2.7 for libc. * include/stdio.h: Declare __fortify_fail. * debug/fortify_fail.c: New file. * debug/Makefile (routines): Add fortify_fail. * debug/chk_fail.c: Use __fortify_fail. * debug/stack_chk_fail.c: Likewise. * io/Versions: Export __open_2, __open64_2, __openat_2, and __openat64_2 for GLIBC_2.7. * io/fcntl.h: When compiling with fortification, include bits/fcntl2.h. * io/open.c: Define *_2 variant of function which checks for O_CREAT and fails if necessary. * io/open64.c: Likewise. * io/openat.c: Likewise. * io/openat64.c: Likewise. * sysdeps/unix/sysv/linux/open64.c: Likewise. * sysdeps/unix/sysv/linux/openat.c: Likewise. * sysdeps/unix/sysv/linux/openat64.c: Likewise. * io/bits/fcntl2.h: New file. * include/fcntl.h: Declare __open_2, __open64_2, __openat_2, and __openat64_2. * include/bits/fcntl2.h: New file. * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): Add open_2. * sysdeps/unix/sysv/linux/open_2.c: New file.
* [BZ #4514]Ulrich Drepper2007-05-211-1/+1
| | | | | | | | * stdio-common/vfprintf.c (vfprintf): Don't shadow workstart variable, reinitialize workend at the start of each do_positional format spec loop, free workstart before do_positional loops. (printf_unknown): Fix size of work_buffer. * stdio-common/tst-sprintf.c (main): Add 3 new testcases.
* * sysdeps/unix/sysv/linux/tst-getcpu.c: New file.Ulrich Drepper2007-05-111-0/+2
| | | | | | | | * sysdeps/unix/sysv/linux/Makefile [subdir=posix] (tests): Add tst-getcpu. * include/link.h: Move l_version and l_nversion members around to fill gaps.
* * sysdeps/unix/sysv/linux/Makefile [subdir=posix] (sysdep_routines):Ulrich Drepper2007-04-261-1/+1
| | | | Add sched_getcpu.
* * sysdeps/unix/sysv/linux/Versions: Move sync_file_range toUlrich Drepper2007-03-261-1/+2
| | | | | | | GLIBC_2.6. * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): Add sync_file_range. Reported by Atsushi Nemoto <anemo@mba.ocn.ne.jp>.
* [BZ #2386]Ulrich Drepper2006-04-251-0/+2
| | | | | | | | | | * sysdeps/unix/sysv/linux/ia64/clone2.S: Check for NULL stakc pointers to match other architectures. * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (tests): Add tst-clone. * sysdeps/unix/sysv/linux/tst-clone.c: New file. malloc'ed wbuffer which isn't freed in error conditions.
* 2005-12-15 Roland McGrath <roland@redhat.com>Roland McGrath2005-12-151-5/+0
| | | | * sysdeps/unix/sysv/linux/Makefile (inhibit-siglist): Removed.
* * sysdeps/unix/sysv/linux/ia64/bits/shm.h (shmatt_t): New type. cvs/fedora-glibc-20051119T1959Ulrich Drepper2005-11-191-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (struct shmid_ds): Use it for shm_nattch field. 2005-11-18 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/futimesat.c (futimesat): If FILE is NULL, set access and modification times of the file referenced by FD. * sysdeps/generic/futimesat.c (futimesat): Don't return EINVAL if FILE is NULL. Don't check FD if FILE is absolute path. 2005-11-19 Ulrich Drepper <drepper@redhat.com> * nscd/nscd_gethst_r.c (nscd_gethst_r): Avoid unnecesary read call if there are no aliases. * sysdeps/unix/sysv/linux/Makefile (CFLAGS-connections.c, CFLAGS-pwdcache.c, CFLAGS-grpcache.c, CFLAGS-hstcache.c, CFLAGS-aicache.c, CFLAGS-initgrcache.c): Add -DHAVE_SENDFILE. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE): Define. * nscd/pwdcache.c [HAVE_SENDFILE]: Include <sys/sendfile.h> and <kernel-features.h>. [HAVE_SENDFILE] (cache_addpw): Use sendfile to transmit positive result. * nscd/grpcache.c: Likewise. * nscd/hstcache.c: Likewise. * nscd/aicache.c: Likewise. * nscd/initgrcache.c: Likewise. * nscd/connectionc.c: Likewise.
* * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): AddUlrich Drepper2005-08-171-1/+1
| | | | | | sys/inotify.h. * sysdeps/unix/sysv/linux/sys/inotify.h: New file. * sysdeps/unix/sysv/linux/syscalls.list: Add inotify syscalls.
* (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.Ulrich Drepper2004-12-221-9/+7
|
* 2.5-18.1Jakub Jelinek2007-07-121-7/+9
|
* Update. cvs/fedora-glibc-20041005T0745Ulrich Drepper2004-10-041-0/+1
| | | | | | | * nscd/gai.c: Define __no_netlink_support if NEED_NETLINK is defined and __ASSUME_NETLINK_SUPPORT is zero. * sysdeps/unix/sysv/linux/Makefile (CFLAGS-gai.c): Add -DNEED_NETLINK.