Age | Commit message (Collapse) | Author | Files | Lines |
|
provided through st_blksize, try the default size before giving up.
|
|
* sysdeps/posix/tempname.c (__gen_tempname): Correct flag selection.
|
|
and creat system calls.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove open system
call.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Remove open and creat
system calls.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
|
|
<linux/limits.h> has defined it.
* sysdeps/unix/sysv/linux/sys/param.h: Define NCARGS to the legacy
ARG_MAX value and prevent ARG_MAX from being defined by the kernel
headers.
* sysdeps/unix/sysv/linux/sysconf.c: Define legacy_ARG_MAX and use
it instead of ARG_MAX.
|
|
* sysdeps/posix/getaddrinfo.c (gaiconf_init): If /bits is not present,
default to 128 bits for v4 mapped addresses.
|
|
ptrace call to get the ieee_instruction_pointer from the kernel.
* sysdeps/s390/fpu/fesetenv.c (fesetenv): Remove PTRACE_POKEUSER
ptrace call to set the ieee_instructtion_pointer.
* sysdeps/unix/sysv/linux/s390/sys/user.h (struct _user_regs_struct):
Add comment that ieee_instruction_pointer is always 0.
|
|
2008-03-09 Andreas Jaeger <aj@suse.de>
[BZ #5857]
* sysdeps/ieee754/dbl-64/s_rint.c (__rint): Handle j0==18.
* sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Likewise.
Patch by Mark Elliott <mark.h.elliott@lmco.com>.
* math/libm-test.inc (nearbyint_test): Add new test cases from #5857.
(rint_test): Likewise.
|
|
ADJ_OFFSET_SS_READ.
|
|
remove CLONE_STOPPED.
|
|
|
|
of ASSEMBLER. nptl/
* sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: Use __ASSEMBLER__ instead
of ASSEMBLER.
* sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Likewise.
2008-03-18 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/dl-sysdep.h: Use __ASSEMBLER__ instead
of ASSEMBLER.
|
|
* sysdeps/ia64/ieee754.h: Use protected namespace
__BIG_ENDIAN/__LITTLE_ENDIAN.
* sysdeps/ieee754/ieee754.h: Likewise.
Patch by Aurelien Jarno <aurelien@aurel32.net>.
|
|
* sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
Clear DF bit in thread state's eflags.
Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.
|
|
.o file.
* elf/Makefile (routines): Add dl-sysdep.
(elide-routines.os): Likewise.
|
|
* elf/dl-sysdep.c: Undefine ROUND after use.
* sysdeps/generic/ldsodefs.h [HAVE_DL_DISCOVER_OSVERSION]
(struct rtld_global_ro): Add _dl_tls_get_addr_soft element.
* elf/rtld.c (rtld_global_ro): Initialize _dl_discover_osversion.
* sysdeps/unix/sysv/linux/dl-osinfo.h: Move _dl_discover_osversion
to ...
* sysdeps/unix/sysv/linux/dl-sysdep.c: ...here.
* sysdeps/unix/sysv/linux/dl-sysdep.h: Declare _dl_discover_osversion
if necessary.
* sysdeps/unix/sysv/linux/sysconf.c: Handle _SC_ARG_MAX here.
|
|
_dl_tls_get_addr_soft element.
* elf/rtld.c (rtld_global_ro): Initialize _dl_tls_get_addr_soft.
* elf/Versions (ld): Don't export _dl_tls_get_addr_soft.
* dlfcn/dlinfo.c (dlinfo_doit): Access dl_tls_get_addr_soft through
GLRO.
* elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise.
* elf/dl-tls.c (_dl_tls_get_addr_soft): Use attribute_hidden instead
of internal_function.
|
|
* sysdeps/unix/sysv/linux/pathconf.h: Declare
__statfs_chown_restricted.
* sysdeps/unix/sysv/linux/fpathconf.c: Call __statfs_chown_restricted
for _PC_CHOWN_RESTRICTED.
* sysdeps/unix/sysv/linux/pathconf.c: Likewise.
Implement __statfs_chown_restricted.
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Change
_POSIX_CHOWN_RESTRICTED value to zero.
2008-02-26 Harsha Jagasia <harsha.jagasia@amd.com>
|
|
2008-2-26 Harsha Jagasia <harsha.jagasia@amd.com>
* sysdeps/x86_64/cacheinfo.c (NOT_USED_RIGHT_NOW): Remove ifdef guards.
* sysdeps/x86_64/memset.S: Rewrite non-SSE code path as tuned for AMD
Barcelona machine. Make default fall through branch of
__x86_64_preferred_memory_instruction check as the integer code path.
2007-10-15 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/x86_64/cacheinfo.c
(__x86_64_preferred_memory_instruction): New variable.
(init_cacheinfo): Initialize __x86_64_preferred_memory_instruction.
* sysdeps/x86_64/memset.S: Rewrite.
2008-01-08 Jakub Jelinek <jakub@redhat.com>
* malloc/malloc.c (public_cALLOc): For arenas other than
|
|
__obstack_printf_chk): New prototypes.
(__vasprintf_chk, __vdprintf_chk,
__obstack_vprintf_chk): Likewise.
Add libc_hidden_proto.
* libio/obprintf.c
(_IO_obstack_jumps): No longer static, add attribute_hidden.
* libio/bits/stdio-ldbl.h (__asprintf_chk, __dprintf_chk,
__obstack_printf_chk, __vasprintf_chk, __vdprintf_chk,
__obstack_vprintf_chk): Add __LDBL_REDIR_DECL.
* libio/bits/stdio2.h (__asprintf_chk, __dprintf_chk,
__obstack_printf_chk, __vasprintf_chk, __vdprintf_chk,
__obstack_vprintf_chk): New prototypes.
(asprintf, __asprintf, dprintf, obstack_printf, vasprintf, vdprintf,
obstack_vprintf): New inlines.
* debug/dprintf_chk.c: New file.
* debug/vdprintf_chk.c: New file.
* debug/asprintf_chk.c: New file.
* debug/vasprintf_chk.c: New file.
* debug/obprintf_chk.c: New file.
* debug/tst-chk1.c (do_test): Add asprintf and obstack_printf tests.
* debug/Versions (__asprintf_chk, __dprintf_chk, __obstack_printf_chk,
__vasprintf_chk, __vdprintf_chk, __obstack_vprintf_chk): Export
@@GLIBC_2.8.
* debug/Makefile: Build asprintf_chk, vasprintf_chk, dprintf_chk,
vdprintf_chk and obprintf_chk, set CFLAGS for them.
* sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vasprintf_chk,
__nldbl___vdprintf_chk, __nldbl___obstack_vprintf_chk): Add
libc_hidden_proto.
* sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl___vasprintf_chk,
__nldbl___vdprintf_chk, __nldbl___obstack_vprintf_chk): New prototypes.
* sysdeps/ieee754/ldbl-opt/Versions (__nldbl___asprintf_chk,
__nldbl___vasprintf_chk, __nldbl___dprintf_chk, __nldbl___vdprintf_chk,
__nldbl___obstack_printf_chk, __nldbl___obstack_vprintf_chk): Export
@@GLIBC_2.8.
* sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add asprintf_chk,
vasprintf_chk, dprintf_chk, vdprintf_chk, obstack_printf_chk and
obstack_vprintf_chk.
* sysdeps/ieee754/ldbl-opt/nldbl-obstack_vprintf_chk.c: New file.
* sysdeps/ieee754/ldbl-opt/nldbl-dprintf_chk.c: New file.
* sysdeps/ieee754/ldbl-opt/nldbl-obstack_printf_chk.c: New file.
* sysdeps/ieee754/ldbl-opt/nldbl-asprintf_chk.c: New file.
* sysdeps/ieee754/ldbl-opt/nldbl-vdprintf_chk.c: New file.
* sysdeps/ieee754/ldbl-opt/nldbl-vasprintf_chk.c: New file.
|
|
* 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/make-syscalls.sh: Use it in the rules emitted.
* sysdeps/unix/Makefile (omit-deps): Append variants for each target.
|
|
|
|
Add EPOLLRDHUP.
|
|
* bits/shm.h: Fix comment describing shmid_ds.
* sysdeps/gnu/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise.
Patch by Hareesh Nagarajan <hareesh.nagarajan@gmail.com>.
|
|
of names of in in6_addr.
(default_precedence): Likewise.
* sysdeps/unix/sysv/linux/cmsg_nxthdr.c: Include <stddef.h> for
NULL definition.
|
|
2008-01-16 Ulrich Drepper <drepper@redhat.com>
[BZ #5607]
* conform/data/fcntl.h-data: Fix posix_fadvise and posix_fallocate
prototypes.
* conform/data/limits.h-data: Adjust limits changed in v6 and add
additional suffixes.
* conform/data/mqueue.h-data: Fix typo in mq_curmsgs entry.
Add optional functions mq_timedreceive and mq_timedsend.
* conform/data/netdb.h-data: Add more AI_* and EAI_* constants.
* conform/data/pthread.h-data: Fix prototype of
pthread_condattr_setclock. pthread_sigmask is not required in v6.
* conform/data/semaphore.h-data: Allow time.h definitions.
* conform/data/signal.h-data: Likewise.
* conform/data/stdio.h-data: getw and putw are not required in v6.
* conform/data/stdlib.h-data: Change setstate prototype.
* conform/data/string.h-data: Fix strerror_r prototype.
* conform/data/time.h-data: Fix typo in TIMER_ABSTIME definition.
* conform/data/unistd.h-data: pthread_atfork not required in v6.
Fix readlink prototype.
* conform/data/netinet/in.h-data: Add const to in6addr_any and
in6addr_loopback.
* inet/netinet/in.h: Cleanup namespace.
* posix/regex.h: Likewise.
* resolv/netdb.h: Likewise.
* sysdeps/unix/sysv/linux/bits/in.h: Likewise.
* sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise.
|
|
with Linux kernel header.
|
|
native interface lookup in all the relevant places.
|
|
field. Use sockaddr_in6 for source_addr.
(get_scope): Change type of parameter to sockaddr_in6. Adjust.
(match_prefix): Likewise.
(get_label): Likewise.
(get_precedence): Likewise.
(rfc3484_sort): Change to use indirect access to results array.
Adjust to use of sockaddr_in6. Replace service_order test with
simple index comparison.
(getaddrinfo): Define order array. Initialize it. Don't initialize
service_order field. Adjust qsort_t calls. Access sorted result
array indirectly through order array.
* posix/tst-rfc3484.c: Adjust for change of rfc3484_sort.
* posix/tst-rfc3484-2.c: Likewise.
* posix/tst-rfc3484-3.c: Likewise.
|
|
clobbering memory at or above uc_stack.ss_sp + uc_stack.ss_size.
* stdlib/Makefile: Add rules to build and run tst-makecontext2.
* stdlib/tst-makecontext2.c: New test.
|
|
recognition of interface family.
|
|
|
|
Return long.
(__vdso_clock_gettime): Likewise.
|
|
First cast argument to long
* sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Functions
return long.
|
|
2007-12-12 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/i486/bits/string.h (memmove): Define as macro.
(memmove): Rename to __memmove_g, with __asm__ ("memmove").
* sysdeps/s390/bits/string.h (__strlen_g, __strcpy_g, __strncpy_g,
__strcat_g, __strncat_g): Add __asm__.
2007-12-12 Ulrich Drepper <drepper@redhat.com>
[BZ #5477]
* io/fchmodat.c: Fix typo in stub_warning use.
Patch by Petr Salinger.
|
|
possible.
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_ADJ_OFFSET_SS_READ): Define for 2.6.24.
* sysdeps/unix/sysv/linux/sys/timex.h (ADJ_OFFSET_SS_READ): Define.
|
|
2007-12-07 Ulrich Drepper <drepper@redhat.com>
[BZ #5441]
* stdio-common/vfscanf.c (_IO_vfwscanf): Don't free ptrs_to_free
structure, it's allocated with alloca.
* stdio-common/Makefile (tests): Add bug21.
* stdio-common/bug21.c: New file.
2007-12-06 Aurelien Jarno <aurelien@aurel32.net>
[BZ #5452]
* sysdeps/unix/sysv/linux/bits/sched.h: Use __extension__
keyword for gcc's braced-groups.
2007-12-07 Ulrich Drepper <drepper@redhat.com>
[BZ #5454]
* inet/ether_line.c: Strip hostname of whitespaces.
* inet/Makefile (tests): Add tst-ether_line.
* inet/tst-ether_line.c: New file.
|
|
* sysdeps/unix/sysv/linux/sys/signalfd.h: Fix use of __nonnull.
|
|
* sysdeps/unix/sysv/linux/i386/makecontext.S: Align stack.
|
|
and creat system calls.
|
|
* nscd/mem.c (gc): Don't allocate arrays on the stack if they can
Return zero in case the thread library is not NPTL.
|
|
strncat): Define as macros to avoid compile errors.
|
|
creat entries.
|
|
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.
|
|
* nscd/nscd.h (NSCD_THREAD_STACKSIZE): Define.
* nscd/connections.c (start_threads): Use NSCD_THREAD_STACKSIZE.
* nscd/mem.c (gc): Don't allocate arrays on stack if it can
overflow it.
* sysdeps/unix/sysv/linux/nscd_setup_thread.c (setup_thread):
Return zero in case thread library is not NPTL.
|
|
(get_scope): For IPv4 scope, use scopes table.
(fini): Free scopes table if necessary.
(free_scopelist): New function.
(scopecmp): New function.
(gaiconf_init): Also handle scopev4 entries.
* posix/tst-rfc3484.c (do_test): Initialize scopes.
* posix/tst-rfc3484-2.c (do_test): Likewise.
* posix/gai.conf: Document scopev4 defaults.
* posix/Makefile (tests): Add tst-rfc3484-3.
* posix/tst-rfc3484-3.c: New file.
|
|
Teredo tunnels.
|
|
* sysdeps/mach/hurd/bits/fcntl.h (O_CLOEXEC): Fix value.
|
|
Add sys/signalfd.h and sys/eventfd.h.
|