about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* * sysdeps/unix/sysv/linux/kernel-features.h: SPARC and IA64 alsoUlrich Drepper2009-04-091-1/+2
| | | | have preadv/pwritev in 2.6.30.
* * sysdeps/unix/sysv/linux/preadv64.c (PREAD): Use __libc_pread64Ulrich Drepper2009-04-081-1/+1
| | | | to avoid PLT slot.
* * sysdeps/unix/sysv/linux/kernel-features.h: Power also hasUlrich Drepper2009-04-071-1/+1
| | | | preadv/pwritev in 2.6.30.
* * misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64.Ulrich Drepper2009-04-037-0/+197
| | | | | | | | | | | | | | | | | | | | | | * misc/Versions: Export preadv, preadv64, pwritev, pwritev64 for GLIBC_2.10. * misc/sys/uio.h: Declare preadv, preadv64, pwritev, pwritev64. * sysdeps/unix/sysv/linux/kernel-features.h: Add entries for preadv and pwritev. * misc/preadv.c: New file. * misc/preadv64.c: New file. * misc/pwritev.c: New file. * misc/pwritev64.c: New file. * sysdeps/posx/preadv.c: New file. * sysdeps/posx/preadv64.c: New file. * sysdeps/posx/pwritev.c: New file. * sysdeps/posx/pwritev64.c: New file. * sysdeps/unix/sysv/linux/preadv.c: New file. * sysdeps/unix/sysv/linux/preadv64.c: New file. * sysdeps/unix/sysv/linux/pwritev.c: New file. * sysdeps/unix/sysv/linux/pwritev64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/preadv64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.c: New file.
* * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Fix calling ofUlrich Drepper2009-04-032-50/+32
| | | | | | | compatibility code. * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise. 2009-04-01 Ulrich Drepper <drepper@redhat.com>
* * sysdeps/unix/sysv/linux/kernel-features.h: DefineUlrich Drepper2009-04-033-7/+29
| | | | | | | | | | | | | __ASSUME_COMPLETE_READV_WRITEV. * sysdeps/unix/sysv/linux/readv.c: No need for userlevel fallback with modern kernels. * sysdeps/unix/sysv/linux/writev.c: Likewise. * sysdeps/posix/readv.c: Since read is a cancellation point we have to free a possible malloced buffer in case of cancellation. * sysdeps/posix/writev.c: Likewise for write. c2009-04-01 Ulrich Drepper <drepper@redhat.com>
* Add missing protocol numbers.Ulrich Drepper2009-04-031-1/+11
| | | | * sysdeps/unix/sysv/linux/bits/socket.h: Add missing protocol numbers.
* * sysdeps/unix/sysv/linux/sys/eventfd.h (EFD_SEMAPHORE): Define.Ulrich Drepper2009-04-011-0/+2
|
* Yet more changes to match sort function type change.Ulrich Drepper2009-03-173-18/+19
|
* Use .machine push; .machine "power6" and .machine pop around mtfsf insns ↵Ulrich Drepper2009-03-104-4/+22
| | | | outside of _ARCH_PWR6 define.
* * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Declare fallocate{,64}.Ulrich Drepper2009-03-0310-2/+123
| | | | | | | | | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
* * sysdeps/unix/sysv/linux/fallocate.c: New file.Ulrich Drepper2009-03-028-1/+160
| | | | | | | | | | | | | | * 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.
* * sysdeps/powerpc/powerpc32/power7/fpu/Implies: New file.Ulrich Drepper2009-03-022-0/+6
| | | | | | | | | | * sysdeps/powerpc/powerpc32/power7/Implies: Likewise. * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise. * sysdeps/powerpc/powerpc64/power7/Implies: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Likewise.
* 2009-02-26 Andrew Stubbs <ams@codesourcery.com>Ulrich Drepper2009-02-262-8/+46
| | | | | | | | | | | | | | | | SUGIOKA Toshinobu <sugioka@itonet.co.jp> * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Don't include signal.h, sys/ucontext.h and asm/elf.h. Include sys/user.h. * sysdeps/unix/sysv/linux/sh/sys/user.h: Don't include features.h and asm/user.h. Include asm/ptrace.h. (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS, PTRACE_GETFDPIC, PTRACE_GETFDPIC_EXEC, PTRACE_GETFDPIC_INTERP, PTRACE_GETDSPREGS, PTRACE_SETDSPREGS): Undefine. (start_thread): Don't undefine. (elf_greg_t, ELF_NGREG, elf_fpregset_t, user_fpu_struct, user): Define.
* * wctype/wctype.h: The *_l functions are in POSIX 2008.Ulrich Drepper2009-02-261-12/+12
| | | | | | | | | | | | | | | | | | | | * wcsmbs/wchar.h: mbsnrtowcs, open_wmemstream, wcpcpy, wcpncpy, wcscasecmp, wcsdup, wcsncasecmp, wcsnlen, wcsnrtombs, wcscasecmp_l, wcsncasecmp_l, wcscoll_l, and wcsxfrm_l. * sysdeps/mach/hurd/bits/posix_opt.h: Reset value of macros from 200112L to 200809L. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. * posix/getconf.c (vars): Add _SC_THREAD_ROBUST_PRIO_INHERIT and _SC_THREAD_ROBUST_PRIO_PROTECT entries. * bits/confname.h: Add _SC_THREAD_ROBUST_PRIO_INHERIT and _SC_THREAD_ROBUST_PRIO_PROTECT. * posix/unistd.h: fexecve is in POSIX 2008. * time/time.h: strftime_l is in POSIX 2008. * io/sys/stat.h: futimens is in POSIX 2008. * string/strings.h: strcasecmp_l and strncasecmp_l are in POSIX 2008. * string/string.h: stpcpy, stpncpy, strndup, strnlen, strsignal, strcoll_l, strerror_l, and strxfrm_l are in POSIX 2008. * stdlib/stdlib.h: mkdtemp is in POSIX 2008.
* * include/features.h: Define macros for XPG7/POSIX 2008.Ulrich Drepper2009-02-266-19/+12
| | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/bits/stat.h: Protect UTIME_NOW and UTIME_OMIT only with __USE_ATFILE. * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. * io/sys/stat.h: Move mknodat definition into same conditional as mknod. * time/sys/time.h: futimesat is not among the functions accepted into the POSIX standard.
* * sysdeps/unix/sysv/linux/sysconf.c (__sysconf):Ulrich Drepper2009-02-241-7/+8
| | | | | /proc/sys/kenrel/rtsig_max doesn't exist anymore, use getrlimit instead.
* * stdlib/monetary.h: Uglify function parameter names. cvs/fedora-glibc-20090218T1534Jakub Jelinek2009-02-164-93/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sunrpc/rpc/pmap_clnt.h: Likewise. * sunrpc/rpc/svc.h: Likewise. * sunrpc/rpc/xdr.h: Likewise. * sunrpc/rpc/clnt.h: Likewise. * resolv/netdb.h: Likewise. * resolv/arpa/nameser.h: Likewise. * resolv/resolv.h: Likewise. * argp/argp.h: Likewise. * locale/langinfo.h: Likewise. * io/sys/stat.h: Likewise. * posix/spawn.h: Likewise. * nis/rpcsvc/nislib.h: Likewise. * malloc/obstack.h: Likewise. * sysdeps/ia64/bits/link.h: Likewise. * sysdeps/i386/bits/link.h: Likewise. * sysdeps/s390/bits/link.h: Likewise. * sysdeps/powerpc/bits/link.h: Likewise. * sysdeps/x86_64/bits/link.h: Likewise. * sysdeps/sparc/bits/link.h: Likewise. * sysdeps/sh/bits/link.h: Likewise. * sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise. * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise. 2009-02-16 Jakub Jelinek <jakub@redhat.com> * stdlib/monetary.h: Uglify function parameter names. * sunrpc/rpc/pmap_clnt.h: Likewise. * sunrpc/rpc/svc.h: Likewise. * sunrpc/rpc/xdr.h: Likewise. * sunrpc/rpc/clnt.h: Likewise. * resolv/netdb.h: Likewise. * resolv/arpa/nameser.h: Likewise. * resolv/resolv.h: Likewise. * argp/argp.h: Likewise. * locale/langinfo.h: Likewise. * io/sys/stat.h: Likewise. * posix/spawn.h: Likewise. * nis/rpcsvc/nislib.h: Likewise. * malloc/obstack.h: Likewise. * sysdeps/ia64/bits/link.h: Likewise. * sysdeps/i386/bits/link.h: Likewise. * sysdeps/s390/bits/link.h: Likewise. * sysdeps/powerpc/bits/link.h: Likewise. * sysdeps/x86_64/bits/link.h: Likewise. * sysdeps/sparc/bits/link.h: Likewise. * sysdeps/sh/bits/link.h: Likewise. * sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise. * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.