summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2013-09-02tst-fanotify: new simple testMike Frysinger1-1/+1
Basic test for the fanotify functions. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-08-27Clean up __libc_sa_len helper.Roland McGrath1-1/+1
2013-07-16BZ #15711: Avoid circular dependency for syscall.hCarlos O'Donell1-2/+9
The generated header is compiled with `-ffreestanding' to avoid any circular dependencies against the installed implementation headers. Such a dependency would require the implementation header to be installed before the generated header could be built (See bug 15711). In current practice the generated header dependencies do not include any of the implementation headers removed by the use of `-ffreestanding'. --- 2013-07-15 Carlos O'Donell <carlos@redhat.com> [BZ #15711] * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h): Avoid system header dependency with -ffreestanding. ($(objpfx)bits/syscall%d): Likewise.
2013-05-03Consolidate definitions of _FORTIFY_SOURCE wrappers for open{,64}{,at}.Roland McGrath1-1/+1
2013-03-07Install <bits/mman-linux.h>Andreas Jaeger1-1/+2
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add bits/mman-linux.h.
2012-11-20Add recvmmsg and sendmmsg to the generic glibc API.Thomas Schwinge1-2/+1
2012-10-22Install <bits/fcntl-linux.h>Andreas Jaeger1-0/+1
(sysdep_headers): Add bits/fcntl-linux.h.
2012-05-31Add bits/sysctl.h to sysdep_headersMarkus Trippelsdorf1-1/+1
2012-05-30Convert WORDSIZE[32|64]/ld entries to abi-variantsH.J. Lu1-27/+26
2012-05-22Remove $(sysctl) from sysdep_routinesH.J. Lu1-1/+1
2012-05-22Add sysctl.mk and bits/sysctl.hH.J. Lu1-1/+3
2012-03-14Install bits/syscall.h through install-headers.Joseph Myers1-12/+4
2012-03-09Split enum __socket_type from bits/socket.h to bits/socket_type.h.Joseph Myers1-1/+2
2012-02-21Split architecture-specific parts of sys/epoll.h into bits/epoll.h.Joseph Myers1-1/+1
2012-02-21Split architecture-specific parts of sys/timerfd.h into bits/timerfd.h.Joseph Myers1-1/+1
2012-02-15Split architecture-specific parts of sys/signalfd.h into bits/signalfd.h.Joseph Myers1-1/+2
2012-02-14Split architecture-specific parts of sys/inotify.h into bits/inotify.h.Joseph Myers1-1/+1
2012-02-13Split architecture-specific parts of sys/eventfd.h into bits/eventfd.h.Joseph Myers1-1/+1
2011-12-22Support building bits/syscall.h for any number of subarch variants.Joseph Myers1-27/+39
2011-10-31Cache network interface informationUlrich Drepper1-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.
2011-08-17Fix tst-writev on non-4K page sizeDavid S. Miller1-1/+1
2011-07-11Generalize framework to register monitoring of files in nscdUlrich Drepper1-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.
2011-06-27Add missing HAVE_SENDFILE definitionUlrich Drepper1-0/+1
2011-06-24Work around limit in writev in 2.6.38+ kernelsUlrich Drepper1-0/+1
2011-05-28Add sendmmsg syscallUlrich Drepper1-1/+2
2011-05-08Make complete getcwd work in rtldUlrich Drepper1-1/+2
2011-05-08Fix Linux getcwd for long pathsUlrich Drepper1-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).
2011-04-01Install bits/timex.h header.Andreas Schwab1-1/+1
2010-08-11Add support for Linux fanotify_init and fanotify_mask syscalls.Ulrich Drepper1-1/+1
2010-08-11Add support for prlimit and prlimit64 on Linux.Ulrich Drepper1-1/+1
2010-05-21Implement recvmmsg also as socketcallAndreas Schwab1-1/+1
2009-11-22Update ntp_gettime for Linux.Ulrich Drepper1-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.
2009-05-22Implement accept4 for more archs using socketcall.Jakub Jelinek1-0/+4
So far accept4 was only supported on archs using socketcall for x86. This patch adds support for the remaining archs.
2009-03-02* sysdeps/unix/sysv/linux/fallocate.c: New file.Ulrich Drepper1-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.
2008-06-12* nscd/nscd.h (struct database_dyn): Add inotify_descr and clear_cacheUlrich Drepper1-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.
2008-02-10* sysdeps/unix/sysv/linux/sys/timerfd.h: New file.Ulrich Drepper1-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.
2007-11-23* sysdeps/unix/sysv/linux/Makefile [subdir=inet] (sysdep_headers):Ulrich Drepper1-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.
2007-11-17* sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):Ulrich Drepper1-1/+1
Add sys/signalfd.h and sys/eventfd.h.
2007-11-10* sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to..Ulrich Drepper1-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-052007-10-04 Jakub Jelinek <jakub@redhat.com>Ulrich Drepper1-1/+2
2007-10-03 Jakub Jelinek <jakub@redhat.com>
2007-10-05* sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add signalfd.Ulrich Drepper1-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.
2007-05-24* Makerules (sysd-rules): Define PTW for ptw-* files.Ulrich Drepper1-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.
2007-05-21[BZ #4514]Ulrich Drepper1-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.
2007-05-11* sysdeps/unix/sysv/linux/tst-getcpu.c: New file.Ulrich Drepper1-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.
2007-04-26* sysdeps/unix/sysv/linux/Makefile [subdir=posix] (sysdep_routines):Ulrich Drepper1-1/+1
Add sched_getcpu.
2007-03-26* sysdeps/unix/sysv/linux/Versions: Move sync_file_range toUlrich Drepper1-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>.
2006-04-25[BZ #2386]Ulrich Drepper1-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-152005-12-15 Roland McGrath <roland@redhat.com>Roland McGrath1-5/+0
* sysdeps/unix/sysv/linux/Makefile (inhibit-siglist): Removed.
2005-11-19* sysdeps/unix/sysv/linux/ia64/bits/shm.h (shmatt_t): New type.Ulrich Drepper1-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.
2005-08-17* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): AddUlrich Drepper1-1/+1
sys/inotify.h. * sysdeps/unix/sysv/linux/sys/inotify.h: New file. * sysdeps/unix/sysv/linux/syscalls.list: Add inotify syscalls.