about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
...
* (O_DIRECTORY, O_NOFOLLOW): New macros.Ulrich Drepper1998-10-231-0/+2
|
* * include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.Roland McGrath1998-10-232-1/+3
|
* 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-10-231-1/+6
| | | | | | | * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "". (__opendir): Add trailing slash to name for open, for ENOTDIR check. size_t is defined. Some reordering of definitions to make
* 1998-10-24 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1998-10-231-2/+24
| | | | | * sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "". (__opendir): Add trailing slash to name for open, for ENOTDIR check.
* Update. glibc-2.0.99 cvs/glibc-2_0_99Ulrich Drepper1998-10-235-0/+22
| | | | | | | | * sysdeps/unix/sysv/linux/i386/Dist: Add setresuid.c, setresgid.c, setfsuid.c, and setfsgid.c. * sysdeps/unix/sysv/linux/arm/Dist: Likewise. * sysdeps/unix/sysv/linux/m68k/Dist: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
* Update.Ulrich Drepper1998-10-232-1/+3
| | | | | * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove duplicate ustat definition.
* Update.Ulrich Drepper1998-10-233-4/+5
| | | | | * sysdeps/unix/sysv/linux/i386/Dist: Remove s_pread64.c and s_pwrite64.c.
* Update.Ulrich Drepper1998-10-2324-75/+407
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * version.h (VERSION): Bump to 2.0.99. * posix/fnmath.h: Don't redefine __P when used in glibc. * posix/glob.h: Likewise. * inet/rcmd.c (__ivaliduser2): Fix memory leak. Patch by Dick Streefland <dick_streefland@tasking.com>. * stdio-common/tst-ungetc.c: Add more test cases. * sysdeps/unix/sysv/linux/Dist: Add linux_fsinfo.h. * sysdeps/unix/sysv/linux/fstatvfs.c: Move filesystem magic number definitions to ... * sysdeps/unix/sysv/linux/linux_fsinfo.h: ...here. New file. * sysdeps/unix/sysv/linux/fpathconf.c: New file. * sysdeps/unix/sysv/linux/pathconf.c: New file. * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Handle _PC_LINK_MAX here. * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise. 1998-10-20 Philip Blundell <pb@nexus.co.uk> * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Include <asm/ptrace.h> to define struct pt_regs. * sysdeps/unix/sysv/linux/arm/profil-counter.h: Don't bother including <asm/ptrace.h> here. * sysdeps/unix/sysv/linux/arm/sysdep.S: Remove spurious call to C_SYMBOL_NAME macro. 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/generic/sys/ptrace.h (__ptrace_request): Remove comma at end of enumerator list. * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Likewise. * posix/wordexp.h: Likewise. * db/db.h: Use __PMT instead of __P in typedefs. * db/mpool.h: Likewise. * sysdeps/generic/bits/siginfo.h: Likewise. * nis/rpcsvc/ypclnt.h: Likewise. 1998-10-23 Ulrich Drepper <drepper@cygnus.com>
* Update.Ulrich Drepper1998-10-232-2/+11
| | | | | | | | 1998-10-23 Ulrich Drepper <drepper@cygnus.com> * libio/genops.c (_IO_seekmark): When switching to backup buffer make sure all characters from the read buffer are read after switching back to it.
* Update.Ulrich Drepper1998-10-223-4/+8
| | | | | | 1998-10-22 Ulrich Drepper <drepper@cygnus.com> * configure.in: Add support for Cygnus GNUPro compilers.
* Update.Ulrich Drepper1998-10-225-14/+24
| | | | | | | | | | | | 1998-10-22 Andreas Jaeger <aj@arthur.rhein-neckar.de> * stdio/stdio.h: Use __PMT instead of __P in typedefs. * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use __PMT instead of __P for sa_restorer. * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise. * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct kernel_sigaction, old_kernel_sigaction): Likewise.
* Update.Ulrich Drepper1998-10-222-2/+5
| | | | | * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add __syscall_pread and __syscall_pwrite aliases.
* Update.Ulrich Drepper1998-10-222-1/+4
| | | | | | 1998-10-22 Ulrich Drepper <drepper@cygnus.com> * sunrpc/rpc/auth.h (AUTH_DH): New macro. Alias for AUTH_DES.
* Update.Ulrich Drepper1998-10-223-53/+52
| | | | | | | 1998-10-22 12:49 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/i386/sysdep.h: Drastically simplify and improve INLINE_SYSCALL using macro assembler magic.
* Update.Ulrich Drepper1998-10-226-30/+67
| | | | | | | | | | | | | | | | 1998-10-22 H.J. Lu <hjl@gnu.org> * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Add sanity check for n. * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Likewise. * sysdeps/posix/fpathconf.c (__fpathconf): Set errno to EINVAL if errno == ENODEV. Tested by VSX-PCT. * sysdeps/posix/isatty.c (__isatty): Don't reset errno. Tested by VSX-PCT. * posix/execvp.c (execvp): Check "". Tested by VSX-PCT.
* Update.Ulrich Drepper1998-10-222-1/+10
| | | | | | | 1998-10-22 Philip Blundell <pb@nexus.co.uk> * sysdeps/unix/arm/sysdep.h: Wrap assembler macros in #ifdef __ASSEMBLER__.
* Update.Ulrich Drepper1998-10-212-31/+18
| | | | | | | 1998-10-21 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/i386/sysdep.h: Remove EXTRAVARS_* macros and adjust formats.
* Update.Ulrich Drepper1998-10-2111-7/+141
| | | | | | | | | | | | | * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/Makefile [subdir=signal] (sysdep_routines): Move definition to... * sysdeps/unix/sysv/linux/alpha/Makefile: ...here... * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here... * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here... * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here... * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here... * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here... * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here.
* Update.Ulrich Drepper1998-10-2171-318/+958
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1998-10-21 14:38 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysdep.h (INLINE_SYSCALL): New macro. Simply call __syscall_* function. * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use INLINE_SYSCALL instead of calling __syscall_* function. * sysdeps/unix/sysv/linux/fxstat.c: Likewise. * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. * sysdeps/unix/sysv/linux/getcwd.c: Likewise. * sysdeps/unix/sysv/linux/getdents.c: Likewise. * sysdeps/unix/sysv/linux/getpriority.c: Likewise. * sysdeps/unix/sysv/linux/getresgid.c: Likewise. * sysdeps/unix/sysv/linux/getresuid.c: Likewise. * sysdeps/unix/sysv/linux/lxstat.c: Likewise. * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. * sysdeps/unix/sysv/linux/poll.c: Likewise. * sysdeps/unix/sysv/linux/pread.c: Likewise. * sysdeps/unix/sysv/linux/pread64.c: Likewise. * sysdeps/unix/sysv/linux/ptrace.c: Likewise. * sysdeps/unix/sysv/linux/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. * sysdeps/unix/sysv/linux/readv.c: Likewise. * sysdeps/unix/sysv/linux/reboot.c: Likewise. * sysdeps/unix/sysv/linux/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/siglist.h: Likewise. * sysdeps/unix/sysv/linux/sigpending.c: Likewise. * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. * sysdeps/unix/sysv/linux/sigqueue.c: Likewise. * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise. * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. * sysdeps/unix/sysv/linux/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/sysctl.c: Likewise. * sysdeps/unix/sysv/linux/ustat.c: Likewise. * sysdeps/unix/sysv/linux/writev.c: Likewise. * sysdeps/unix/sysv/linux/xmknod.c: Likewise. * sysdeps/unix/sysv/linux/xstat.c: Likewise. * sysdeps/unix/sysv/linux/xstat64.c: Likewise. * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise. * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/sysdep.h: Define INLINE_SYSCALL using inline assembler. * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove various __syscall_* definitions. * sysdeps/unix/sysv/linux/syscalls.list: Move various __syscall_* definitions to... * sysdeps/unix/sysv/linux/alpha/syscalls.list: ...here... * sysdeps/unix/sysv/linux/arm/syscalls.list: ...and here... * sysdeps/unix/sysv/linux/m68k/syscalls.list: ...and here... * sysdeps/unix/sysv/linux/mips/syscalls.list: ...and here... * sysdeps/unix/sysv/linux/powerpc/syscalls.list: ...and here... * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: ...and here... * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: ...and here. * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc] (sysdep_routines): Remove s_pread64 and s_pwrite64. * sysdeps/unix/sysv/linux/i386/pread.c: New file. * sysdeps/unix/sysv/linux/i386/pread64.c: New file. * sysdeps/unix/sysv/linux/i386/pwrite.c: New file. * sysdeps/unix/sysv/linux/i386/pwrite64.c: New file. * sysdeps/unix/sysv/linux/i386/s_pread64.S: Removed. * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Removed. 1998-10-21 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/unix/sysv/linux/siglist.h: Fix some typos in these files and bring them in synch. * sysdeps/unix/siglist.c: Likewise. Reported by Vladimir Michl <michlv@risc.upol.cz> [PR libc/832]. 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * sysdeps/unix/sysv/linux/i386/setresuid.c: Allow -1 as arguments. * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setreuid.c: New file. * sysdeps/unix/sysv/linux/i386/setregid.c: New file. * sysdeps/unix/sysv/linux/m68k/setreuid.c: New file. * sysdeps/unix/sysv/linux/m68k/setregid.c: New file. * sysdeps/unix/sysv/linux/arm/setreuid.c: New file. * sysdeps/unix/sysv/linux/arm/setregid.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: New file. * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_setreuid and s_setregid. * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise. 1998-10-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * sunrpc/rpc_main.c (close_output, close_input): New functions. (c_output, h_output, s_output, l_output, t_output, svc_output, clnt_output, mkfile_output): Call them at the end. 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * db/Makefile (LDFLAGS-db1.so): New variable, to avoid duplicating link command. 1998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu> * sysdeps/unix/opendir.c: Check at runtime for kernel support for O_DIRECTORY. 1998-10-20 H.J. Lu <hjl@gnu.org> * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix argument types.
* Correct bugs in origin description.Ulrich Drepper1998-10-211-34/+34
|
* * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents. Andreas Schwab1998-10-213-1/+8
| | | | | | | | * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id. 1998-10-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents. * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
* Update.Ulrich Drepper1998-10-206-0/+16
| | | | | | | | | | | | 1998-10-20 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_pread64 and s_pwrite64. * sysdeps/unix/sysv/linux/powerpc/pread.c: New file. * sysdeps/unix/sysv/linux/powerpc/pread64.c: New file. * sysdeps/unix/sysv/linux/powerpc/pwrite.c: New file. * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: New file. Patch by Geoffrey KEATING <geoffk@discus.anu.edu.au>.
* Update.Ulrich Drepper1998-10-202-12/+58
| | | | | | | | 1998-10-18 Zack Weinberg <zack@rabi.phys.columbia.edu> * sysdeps/unix/opendir.c: Check at runtime for kernel support for O_DIRECTORY.
* Update.Ulrich Drepper1998-10-202-1/+6
| | | | | | | | 1998-10-20 H.J. Lu <hjl@gnu.org> * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix argument types.
* Update.Ulrich Drepper1998-10-206-73/+2011
| | | | * math/tgmath.h: Make nested function calls work.
* Update.Ulrich Drepper1998-10-202-1/+3
| | | | * include/ldsodefs.h: Fix typo.
* Update.Ulrich Drepper1998-10-203-1/+96
| | | | | * posix/Makefile (tests): Add tst-preadwrite. * posix/tst-preadwrite.c: New file.
* Update.Ulrich Drepper1998-10-206-0/+186
| | | | | | | | | | | 1998-10-20 Ulrich Drepper <drepper@cygnus.com> * tests/test1.cm: Add missing character definitions to read POSIX locale definition. * tests/test2.cm: Likewise. * tests/test3.cm: Likewise. * tests/test4.cm: Likewise. * tests/test5.cm: Likewise.
* Update.Ulrich Drepper1998-10-192-22/+21
| | | | | | | 1998-10-19 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/opendir.c (__opendir): Add back fstat call to make sure that descriptor is in any case for a directory.
* Update.Ulrich Drepper1998-10-192-3/+8
| | | | | | | 1998-10-19 18:59 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu> * math/tgmath.h (__TGMATH_UNARY_REAL_IMAG): Fix typo: val -> Val. (atan2): Takes two arguments.
* Update.Ulrich Drepper1998-10-1919-60/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1998-10-19 Ulrich Drepper <drepper@cygnus.com> * include/ldsodefs.h: New file. * iconv/gconv.c: Include ldsodefs.h, not elf/ldsodefs.h. Remove change to avoid using _CALL_DL_FCT. * iconv/gconv_db.c: Likewise. * iconv/gconv_dl.c: Likewise. * iconv/skeleton.c: Likewise, here for DL_CALL_FCT. * malloc/mtrace.c: Include ldsodefs.h, not elf/ldsodefs.h. * nss/nsswitch.c: Likewise. * nss/nsswitch.h: Likewise. 1998-10-19 Philip Blundell <pb@nexus.co.uk> * sunrpc/Makefile (otherlibs): If static NSS is in use, set to the required libraries. * login/Makefile (otherlibs): Likewise. * nscd/Makefile (otherlibs): Likewise. * Makeconfig (link-libc) [! build_shared]: Add $(otherlibs). * debug/Makefile (install-bin): Only build catchsegv if using ELF. * inet/Makefile: Add -DSTATIC_NSS to CFLAGS. 1998-10-19 Philip Blundell <pb@nexus.co.uk> * sysdeps/unix/sysv/linux/arm/syscalls.list: Added setfsgid and setfsuid. 1998-10-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> * nscd/connections.c: Fix typos in comments and strings. * nscd/nscd.conf: Update according to recent changes to nscd. * nscd/cache.c (prune_cache): Remove wrong comment. copy_posix.mask for copy instruction.
* Update.Ulrich Drepper1998-10-1915-28/+123
| | | | | | | | | | | | | | | | | | | | 1998-10-19 13:24 Ulrich Drepper <drepper@cygnus.com> * locale/programs/ld-collate.c (collate_startup): Clear bit for this category in copy_posix. (collate_finish): Don't warn about UNDEFINED not being defined. * locale/programs/ld-ctype.c (ctype_startup): Clear bit for this category in copy_posix. * locale/programs/ld-messages.c (messages_startup): Likewise. * locale/programs/ld-monetary.c (monetary_startup): Likewise. * locale/programs/ld-numeric.c (numeric_startup): Likewise. * locale/programs/ld-time.c (time_startup): Likewise. * locale/programs/localedef.c: Move copy_def_list_t definition into locales.h. Define copy_posix variable. (main): Before processing copy list add &copy_posix to copy_list. * locale/programs/locales.h: Add definition of copy_def_list_t. * locale/programs/locfile.c: Clear bit for appropriate category in case of an copy instruction.
* Update.Ulrich Drepper1998-10-193-4/+12
| | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/i386/setresgid.c: Remove #include of non-existing file with generic implementation. * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. 1998-10-19 Philip Blundell <pb@nexus.co.uk> * iconv/gconv_db.c: Include ELF header only if STATIC_GCONV is not defined. Avoid using _CALL_DL_FCT if it is not defined. * iconv/gconv.c: Likewise. 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
* Update.Ulrich Drepper1998-10-192-8/+22
| | | | | | | * nscd/connections.c (dbs): Define defualt values for timeouts and set enabled to 0 by default. (CACHE_PRUNE_INTERVAL): New constant. Use it instead of magical 15 in nscd_run.
* Update.Ulrich Drepper1998-10-191-1/+8
| | | | | | | | | | | 1998-10-19 Ulrich Drepper <drepper@cygnus.com> * locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for character >= 0x80. (_nl_C_LC_CTYPE_class32): Likewise. Reported by HJ Lu. * grp/Makefile: Don't search for linuxthreads in add-ons, use
* (_nl_C_LC_CTYPE_class): Clear ISCNTRL bit for character >= 0x80. ↵Ulrich Drepper1998-10-191-88/+88
| | | | (_nl_C_LC_CTYPE_class32): Likewise.
* 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-10-194-2/+18
| | | | | | | | | * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add _HURD_THREADVAR_DL_ERROR. * hurd/Makefile (user-interfaces): Add login, password. * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
* 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-10-194-8/+12
| | | | | | | | | * nscd/nscd-client.h: New file, broken out of "nscd.h". * nscd/nscd.h: Move defns needed by clients to "nscd-client.h", and #include that. * nscd/Makefile (distribute): Add nscd-client.h. * nscd/nscd_getgr_r.c, nscd/nscd_gethst_r.c, nscd/nscd_getpw_r.c: Include "nscd-client.h" instead of "nscd.h"
* 1998-08-06 Mark Kettenis <kettenis@phys.uva.nl>Roland McGrath1998-10-183-3/+34
| | | | | | | | | | [submitted 1998-08-06] * mach/Machrules: Create target directory and force re-evaluation of Makefile to prevent `make' from optimizing away most of the implicit rules and `vpath' directives. * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread is null, short-circuit to __mach_msg.
* * sysdeps/mach/hurd/i386/init-first.c (posixland_init): New function,Roland McGrath1998-10-182-16/+39
| | | | | | broken out of init1. (init1) [PIC]: Call it. (__libc_init_first) [! PIC]: Call it.
* * nscd/nscd-client.h: New file, broken out of "nscd.h".Roland McGrath1998-10-184-83/+122
| | | | | | * nscd/nscd.h: Move defns needed by clients to "nscd-client.h", and #include that. * nscd/Makefile (distribute): Add nscd-client.h
* 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-10-181-0/+8
| | | | | | | | * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call __libc_init_secure. Instead set __libc_enable_secure here from the exec flags. (__libc_enable_secure): New variable it. * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
* 1998-10-19 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1998-10-182-2/+26
| | | | | | | | * sysdeps/mach/hurd/i386/init-first.c (init1): Don't call __libc_init_secure. Instead set __libc_enable_secure here from the exec flags. (__libc_enable_secure): New variable it. * sysdeps/mach/hurd/enbl-secure.c: New file, empty placeholder module.
* Update.Ulrich Drepper1998-10-183-10/+11
| | | | | | * sysdeps/posix/getcwd.c (__getcwd): Don't stop processing directory entries when a lstat call fails. Patch by Colin Plumb <colin@nyx.net>.
* Update.Ulrich Drepper1998-10-1838-2113/+2344
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1998-10-18 Ulrich Drepper <drepper@cygnus.com> * resolv/nss_dns/dns-host.c: Add missing errnop parameter to the NSS functions. * resolv/nss_dns/dns-network.c: Likewise. * grp/Makefile: Don't search for linuxhtreads in add-ons, use have-thread-library to determine whether threads are available. * pwd/Makefile: Remove wrong comment. * inet/Makefile: Define CFLAGS-gethstbyad_r.c, CFLAGS-gethstbynm_r.c, and CFLAGS-gethstbynm2_r.c to -DUSE_NSCD=1. * locale/C-messages.c: Define default strings for YESTR and NOSTR. * nss/Versions: Add __nss_hosts_lookup. * nss/getXXbyYY.c: Remove unneeded assignment. * nss/getXXbyYY_r.c: Include nscd/nscd_proto.h only if needed. Almost complete rewrite of the NSCD to make it smaller, faster, add more functionnality and make it easier to extend. * nscd/Makfile (routines): Add nscd_gethst_r. (nscd-modules): Add hstcache, gethstbyad_r, gethstbynm2_r, and cache. * nscd/cache.c: New file. * nscd/gethstbyad_r.c: New file. * nscd/gethstbynm2_r.c: New file. * nscd/hstcache.c: New file. * nscd/nscd_gethst_r.c: New file. * nscd/connections.c: Rewritten. Don't start new thread for every new connection. Use a fixed set of threads which handle all connections and also the cache cleanup. * nscd/grpcache.c: Rewritten to use generic cache handling functions in cache.c. * nscd/nscd.c: Recognize new parameter nthreads. Adjust initialization for rewrite. Remove handle_requests function. * nscd/nscd.h (NSCD_VERSION): Bump to 2. Define new data structure for the new unified cache and the host database entries. * nscd/nscd_conf.c: Rewrite parsing partly to allow adding of more databases easily. Recognize check-files and threads definitions. * nscd/nscd.conf: Add definition of enable-cache and check-files to passwd and group definitions. Add new set of definitions for hosts. * nscd/nscd_getgr_r.c: Rewrite for new protocol. * nscd/nscd_getpw_r.c: Likewise. * nscd/nscd_proto.h: Add prototype for host database functions. * nscd/nscd_stat.c: Rewrite to simplify printing of information for many databases. * nscd/dbg_log.c: Remove unnecessary variable initializations. Global variable debug_flag is renamed to dbg_level. * nscd/dbg_log.h: Declare set_logfile.
* Update.Ulrich Drepper1998-10-162-0/+10
| | | | | | | 1998-10-16 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/bits/fcntl.h: Add dummy definition of O_LARGEFILE back.
* Update.Ulrich Drepper1998-10-163-1/+20
| | | | | | | | | 1998-10-16 Paul Eggert <eggert@shade.twinsun.com> * time/mktime.c: Some systems require <unistd.h> to be included before <time.h> for localtime_r to be declared properly. * time/strftime.c: Likewise.
* Update.Ulrich Drepper1998-10-162-1/+17
| | | | | * db/Makefile: Add rule to generate shared object with the soname from glibc 2.0.
* Update.Ulrich Drepper1998-10-1640-15/+645
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/unix/opendir.c: Use O_DIRECTORY if available. If not available double check to verify it's a directory. * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Add O_DIRECTORY. * sysdeps/unix/sysv/linux/mips/bits/fcntl: Likewise. * sysdeps/unix/sysv/linux/bits/fcntl.h: Remove O_* constants which are not generally available. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: New file. * sysdeps/unix/sysv/linux/i386/setgroups.c: Add range check for values. * sysdeps/unix/sysv/linux/arm/Makefile: New file. * sysdeps/unix/sysv/linux/arm/setegid.c: New file. * sysdeps/unix/sysv/linux/arm/seteuid.c: New file. * sysdeps/unix/sysv/linux/arm/setfsgid.c: New file. * sysdeps/unix/sysv/linux/arm/setfsuid.c: New file. * sysdeps/unix/sysv/linux/arm/setgid.c: New file. * sysdeps/unix/sysv/linux/arm/setgroups.c: New file. * sysdeps/unix/sysv/linux/arm/setresgid.c: New file. * sysdeps/unix/sysv/linux/arm/setresuid.c: New file. * sysdeps/unix/sysv/linux/arm/setuid.c: New file. * sysdeps/unix/sysv/linux/i386/setegid.c: New file. * sysdeps/unix/sysv/linux/i386/seteuid.c: New file. * sysdeps/unix/sysv/linux/i386/setfsgid.c: New file. * sysdeps/unix/sysv/linux/i386/setfsuid.c: New file. * sysdeps/unix/sysv/linux/i386/setgid.c: New file. * sysdeps/unix/sysv/linux/i386/setgroups.c: New file. * sysdeps/unix/sysv/linux/i386/setresgid.c: New file. * sysdeps/unix/sysv/linux/i386/setresuid.c: New file. * sysdeps/unix/sysv/linux/i386/setuid.c: New file. * sysdeps/unix/sysv/linux/m68k/setegid.c: New file. * sysdeps/unix/sysv/linux/m68k/seteuid.c: New file. * sysdeps/unix/sysv/linux/m68k/setfsgid.c: New file. * sysdeps/unix/sysv/linux/m68k/setfsuid.c: New file. * sysdeps/unix/sysv/linux/m68k/setgid.c: New file. * sysdeps/unix/sysv/linux/m68k/setgroups.c: New file. * sysdeps/unix/sysv/linux/m68k/setresgid.c: New file. * sysdeps/unix/sysv/linux/m68k/setresuid.c: New file. * sysdeps/unix/sysv/linux/m68k/setuid.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: New file. * sysdeps/unix/sysv/linux/arm/syscalls.list: Add s_setgid, s_setresuid, s_setresgid, and s_setuid. * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc] (sysdep_routines): Add setfsgid, setfsuid, setresgid, and setresuid. * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise. 1998-10-16 Ulrich Drepper <drepper@cygnus.com> * iconv/skeleton.c: Include ELF header only of STATIC_GCONV is not
* Update.Ulrich Drepper1998-10-162-1/+10
| | | | | | | 1998-10-16 Ulrich Drepper <drepper@cygnus.com> * time/mktime.c: Define _POSIX_THREAD_SAFE_FUNCTIONS to get localtime_t declaration on some systems.