about summary refs log tree commit diff
path: root/sysdeps/unix/sysv
Commit message (Collapse)AuthorAgeFilesLines
* Define F_SETOWN_EX and F_GETOWN_EX in Linux headers.Ulrich Drepper2009-10-017-14/+28
|
* configure tweaks, support $libc_add_on_config_subdirsRoland McGrath2009-09-152-141/+107
|
* Fix __longjmp_chk on s390/s390x.Jakub Jelinek2009-09-082-0/+110
| | | | s390/s390x hasn't been updated to handle alternate stacks properly.
* Add sigstack handling to Linux ____longjmp_chk on powerpc.Andreas Schwab2009-08-222-0/+154
|
* Remove leftover code from Linux/x86 ____longjmp_chk.Ulrich Drepper2009-08-021-6/+0
|
* Remove last trace of bounded pointer handling from ____longjmp_chk on x86-64.Ulrich Drepper2009-08-011-1/+1
|
* Optimize x86 and x86-64 ____longjmp_chk for Linux.Ulrich Drepper2009-07-312-117/+50
|
* Fix ____longjmp_chk on x86-64.Ulrich Drepper2009-07-311-2/+2
| | | | | After a recent change to fix CFI in ____longjmp_chk the test of the ss_flags used the wrong memory location.
* Support multiarch for i686.H.J. Lu2009-07-311-0/+1
| | | | | | This patch adds multiarch support when configured for i686. I modified some x86-64 functions to support 32bit. I will contribute 32bit SSE string and memory functions later.
* Whitespace cleanup.Ulrich Drepper2009-07-301-2/+2
|
* Add sigstack handling to Linux ____longjmp_chk on i386.Ulrich Drepper2009-07-301-0/+143
| | | | All other i386 ports need to provide their own versions.
* ____longjmp_chk is now OS-specific.Ulrich Drepper2009-07-301-0/+145
| | | | | | | We use sigaltstack internally which on some systems is a syscall and should be used as such. Move the x86-64 version to the Linux specific directory and create in its place a file which always causes compile errors.
* Compatibility of signalfd/eventfd with older kernels.Ulrich Drepper2009-07-263-6/+26
|
* Don't automatically use /lib/modules/* headers.Ulrich Drepper2009-07-242-24/+0
| | | | | Ever since the /usr/include/linux headers got cleaned up this isn't necessary. Meanwhile everybody should have these cleanups.
* Add more cache descriptors for L3 caches on x86 and x86-64.Ulrich Drepper2009-07-231-0/+3
| | | | | The most recent AP 485 describes a few more cache descriptors for L3 caches with 24-way associativity.
* Preserve stack alignment in i386 makecontext.Ulrich Drepper2009-07-231-6/+4
|
* Fix comment in Linux's <sys/epoll.h>.Ulrich Drepper2009-07-101-2/+2
|
* Add 802.15.4 definitions to header files.Ulrich Drepper2009-06-183-5/+21
|
* Don't treat bug reporting message as a format string.Andreas Schwab2009-06-161-2/+2
|
* Fold Linux-specific grantpt code into Unix version.Ulrich Drepper2009-06-161-88/+0
|
* Fix permission of slave device on devpts if necessary.Ulrich Drepper2009-06-151-3/+10
| | | | | If devptr is misconfigured the slave device permission after grantpt might not be 0620. BZ #10166
* Preserve message printed before abort.Ulrich Drepper2009-06-151-1/+17
| | | | | | | The terminal output etc is not visible in a core file. The new libc-internal variable __abort_msg will point to a string with the message which has been printed before the abort in case abort is called from inside libc. BZ #10217
* Add missing file from accept4 commit.Ulrich Drepper2009-05-311-0/+1
| | | | Hidden by previous .gitignore content.
* Compact cache info data structure for x86/x86-64.Ulrich Drepper2009-05-291-78/+78
| | | | This saves about 1.5kB in the DSO.
* Implement accept4 for more archs using socketcall.Jakub Jelinek2009-05-224-4/+63
| | | | | So far accept4 was only supported on archs using socketcall for x86. This patch adds support for the remaining archs.
* Add missing file from previous IA-64 longjmp commit.Ulrich Drepper2009-05-211-0/+48
|
* Add ____longjmp_chk support for IA-64.H.J. Lu2009-05-211-1/+9
|
* Don't define __ASSUME_ACCEPT4 for IA-64.Ulrich Drepper2009-05-211-1/+1
|
* Remove __NR_accept4 definition.Jakub Jelinek2009-05-211-3/+1
| | | | | This definition was meant to be removed before the checkin. It was used in the development.
* Correct socketcall argument for accept4.Jakub Jelinek2009-05-211-2/+2
| | | | The header had the old name (paccept).
* Add missing export of fallocate64 on 32-bit platforms.Jakub Jelinek2009-05-159-3/+24
| | | | | | Due to a pasto the fallocate64 interface, introduced in glibc 2.10, isn't exported for 32-bit Linux platforms. It is too late for this now so exported them for glibc 2.11.
* * version.h (VERSION): Bump to 2.10.1. cvs/fedora-glibc-20090510T1842 cvs/masterUlrich Drepper2009-05-101-0/+1
| | | | | | | | | | | | | | * nss/getXXbyYY_r.c: If NO_COMPAT_NEEDED is defined don't define any compatibility functions. * nss/getXXent_r.c: Likewise. * gshadow/getsgent_r.c: Define NO_COMPAT_NEEDED. * gshadow/getsgnam_r.c: Likewise. * gshadow/Version: Remove duplicate entries. * sysdeps/x86_64/cacheinfo.c (intel_02_cache_info): Add missing entries for recent processor. * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_cache_info): Likewise.
* [BZ #10118]Ulrich Drepper2009-05-094-8/+0
| | | | | | | | | | | | | | | | | | | | | 2009-05-06 Ryan S. Arnold <rsa@us.ibm.com> [BZ #10118] * Makeconfig (+asflags): New variable based upon ASFLAG or asflags-cpu. (ASFLAGS): Add override to set ASFLAGS to +asflags. * config.make.in (asflags-cpu): Add variable based upon @libc_cv_cc_submachine@ to propagate -mcpu=CPU from --with-cpu=CPU to the assembler. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S: Remove unneeded file now that the assembler emits _ARCH_PWR6 and recognizes power6 instruction set due to passing -mcpu=power6 from --with-cpu=power6 when compiling .S files. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S: Likewise.
* * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_RANDOM.Ulrich Drepper2009-05-091-0/+5
|
* * io/sys/stat.h (fstatat64): Guard prototype with __USE_LARGEFILE64,Ulrich Drepper2009-05-071-0/+2
| | | | | guard __extern_inline wrapper with __USE_ATFILE instead of __USE_GNU.
* * sysdeps/unix/sysv/linux/ifaddrs.c: Revert unintended 2008-08-12 comment ↵Jakub Jelinek2009-04-291-2/+2
| | | | | | | | | change. 2009-04-29 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ifaddrs.c: Revert unintended 2008-08-12 comment change.
* * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Remove inlineUlrich Drepper2009-04-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from definition. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Don't define label if it is not used. * elf/dl-profile.c (_dl_start_profile): Define real-type variant of gmon_hist_hdr and gmon_hdr structures and use them. * elf/dl-load.c (open_verify): Add temporary variable to avoid warning. * nscd/nscd_helper.c (get_mapping): Avoid casts to avoid warnings. * sunrpc/clnt_raw.c (clntraw_private_s): Use union in definition to avoid cast. * inet/rexec.c (rexec_af): Make sa2 a union to avoid warnings. * inet/rcmd.c (rcmd_af): Make from a union of the various needed types to avoid warnings. (iruserok_af): Use ss_family instead of casts. * gmon/gmon.c (write_hist): Define real-type variant of gmon_hist_hdr structure and use it. (write_gmon): Likewise for gmon_hdr. * sysdeps/unix/sysv/linux/readv.c: Avoid declaration of replacement function if we are not going to define it. * sysdeps/unix/sysv/linux/writev.c: Likewise. * inet/inet6_option.c (optin_alloc): Add temporary variable to avoid warning. * libio/strfile.h (struct _IO_streambuf): Use correct type and name of VTable element. * libio/iovsprintf.c: Avoid casts to avoid warnings. * libio/iovsscanf.c: Likewise. * libio/vasprintf.c: Likewise. * libio/vsnprintf.c: Likewise. * stdio-common/isoc99_vsscanf.c: Likewise. * stdlib/strfmon_l.c: Likewise. * debug/vasprintf_chk.c: Likewise. * debug/vsnprintf_chk.c: Likewise. * debug/vsprintf_chk.c: Likewise.
* * sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init):Ulrich Drepper2009-04-262-0/+4
| | | | Avoid warning by using may_alias attribute on ptrhack.
* [BZ #10092]Ulrich Drepper2009-04-241-1/+5
| | | | | | | 2009-04-23 Aurelien Jarno <aurelien@aurel32.net> [BZ #10092] * sysdeps/unix/sysv/linux/sys/mount.h: Define MNT_DETACH and MNT_EXPIRE.
* * sysdeps/unix/sysv/linux/preadv.c: The kernel API changed. Adjust.Ulrich Drepper2009-04-232-8/+12
| | | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/pwritev.c: Likewise. 2009-04-23 Jakub Jelinek <jakub@redhat.com> * sysdeps/posix/pwritev.c (PWRITEV): Fix up comment. Copy data from vector to temporary buffer and call PWRITEV after it instead of vice versa. * sysdeps/posix/preadv.c: Fix up comment. * misc/preadv.c: Likewise. * misc/preadv64.c: Likewise. * misc/pwritev.c: Likewise. * misc/pwritev64.c: Likewise. * misc/sys/uio.h (preadv, pwritev, preadv64, pwritev64): Likewise. 2009-04-23 Ulrich Drepper <drepper@redhat.com>
* [BZ #9955]Ulrich Drepper2009-04-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-04-23 Ulrich Drepper <drepper@redhat.com> [BZ #9955] * gshadow/Makefile: New file. * gshadow/Versions: New file. * gshadow/fgetsgent.c: New file. * gshadow/fgetsgent_r.c: New file. * gshadow/getsgent.c: New file. * gshadow/getsgent_r.c: New file. * gshadow/getsgnam.c: New file. * gshadow/getsgnam_r.c: New file. * gshadow/gshadow.h: New file. * gshadow/putsgent.c: New file. * gshadow/sgetsgent.c: New file. * gshadow/sgetsgent_r.c: New file. * gshadow/tst-gshadow.c: New file. * include/gshadow.h: New file. * Makeconfig (all-subdirs): Add gshadow. * Makefile (installed-headers): Add gshadow/gshadow.h. * nss/Makefile (databases): Add sgrp. * nss/Versions: Add gshadow functions as private exports. * nss/nsswitch.conf: Add gshadow entry. * nss/sgrp-lookup.c: New file. * nss/nss_files/files-parse.c: Add STRING_LIST macro. Rewrite parse_list to handle STRING_LIST and TRAILING_LIST_PARSER. * nss/nss_files/files-sgrp.c: New file. * sysdeps/generic/paths.h: Add _PATH_GSHADOW. * sysdeps/unix/sysv/linux/paths.h: Likewise.
* * sysdeps/unix/sysv/linux/sys/timex.h: Add definitions from kernelUlrich Drepper2009-04-211-3/+11
| | | | headers up to 2.6.30.
* * sysdeps/unix/sysv/linux/kernel-features.h: All supportedUlrich Drepper2009-04-181-3/+1
| | | | architectures have preadv/pwritev in 2.6.30.
* * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise. cvs/fedora-glibc-20090416T0610Ulrich Drepper2009-04-153-2/+7
|
* * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Make sure there cvs/fedora-glibc-20090415T1619Ulrich Drepper2009-04-151-4/+36
| | | | | | | | | | | | | | are always at least 4 bytes in the returned line. 2009-04-15 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Check __libc_use_alloca (8192), if the stack is too small use 512 bytes instead of 8K. Stop searching in /proc/stat after hitting first line not starting with cpu. (next_line): Truncate too long lines at buffer size * 3/4 instead of pretending there were line breaks inside of large lines.
* 2009-03-17 Ryan S. Arnold <rsa@us.ibm.com>Ulrich Drepper2009-04-152-0/+10
| | | | | | | Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/fallocate.c: Handle old kernel headers. * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
* * sysdeps/unix/sysv/linux/kernel-features.h: SH also hasUlrich Drepper2009-04-141-1/+1
| | | | preadv/pwritev.
* * stdio-common/vfprintf.c (vfprintf): Slightly more compact code.Ulrich Drepper2009-04-102-12/+0
|
* function if it is not defined. Add some necessary casts.Ulrich Drepper2009-04-092-8/+26
|
* * sysdeps/unix/sysv/linux/preadv.c: Avoid prototype for staticUlrich Drepper2009-04-092-0/+4
| | | | | function if it is not defined. * sysdeps/unix/sysv/linux/pwritev.c: Likewise.