about summary refs log tree commit diff
path: root/sysdeps/mach
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper1999-06-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu> * include/features.h: Define new macros __GNUC_PREREQ and __GLIBC_PREREQ which can be used to test the version of gcc and glibc respectively. * assert/assert.h: Use __GNUC_PREREQ. * intl/libintl.h: Likewise. * math/complex.h: Likewise. * math/tgmath.h: Likewise. * misc/sys/cdefs.h: Likewise. * posix/sys/types.h: Likewise. * socket/sys/socket.h: Likewise. * string/bits/string2.h: Likewise. * sysdeps/alpha/fpu/bits/mathinline.h: Likewise. * sysdeps/i386/fpu/bits/mathinline.h: Likewise. 1999-06-18 Zack Weinberg <zack@rabi.columbia.edu> * include/libintl.h: Declare _libc_intl_domainname here. Define _ and N_ here. * include/libc-symbols.h: Don't include <libintl.h>. Don't define _ and N_. Don't declare _libc_intl_domainname. * Makeconfig (CPPFLAGS): Use -imacros to read libc-symbols.h. * db2/config.h: Don't include sys/stat.h or define HAVE_ST_BLKSIZE here... * db2/compat.h: ...do it here. * linuxthreads/internals.h: Include bits/libc-tsd.h after all other headers. * linuxthreads/no-tsd.c: Include sys/cdefs.h for __P. * iconv/iconv.c: Include stddef.h for NULL. * malloc/malloc.h: Include features.h. * sysdeps/generic/morecore.c: Use __malloc_ptr_t not __ptr_t. * sysdeps/unix/make_errlist.c: Write an "#include <libintl.h>" into the generated file. * sysdeps/gnu/errlist.awk: Likewise. * sysdeps/gnu/errlist.c: Rebuilt. * assert/assert-perr.c: Include libintl.h. * assert/assert.c: Likewise. * elf/dl-open.c: Likewise. * elf/dlsym.c: Likewise. * elf/dlvsym.c: Likewise. * iconv/iconv_prog.c: Likewise. * inet/rcmd.c: Likewise. * inet/ruserpass.c: Likewise. * locale/programs/charset.c: Likewise. * locale/programs/ld-collate.c: Likewise. * locale/programs/ld-ctype.c: Likewise. * locale/programs/ld-messages.c: Likewise. * locale/programs/ld-monetary.c: Likewise. * locale/programs/ld-numeric.c: Likewise. * locale/programs/ld-time.c: Likewise. * locale/programs/locfile.c: Likewise. * locale/programs/repertoire.c: Likewise. * login/programs/database.c: Likewise. * login/programs/request.c: Likewise. * malloc/mcheck.c: Likewise. * misc/error.c: Likewise. * nis/nis_call.c: Likewise. * nis/nis_callback.c: Likewise. * nis/nis_error.c: Likewise. * nis/nis_local_names.c: Likewise. * nis/nis_print.c: Likewise. * nis/nis_print_group_entry.c: Likewise. * nis/ypclnt.c: Likewise. * nis/nss_nisplus/nisplus-publickey.c: Likewise. * nscd/cache.c: Likewise. * nscd/connections.c: Likewise. * nscd/grpcache.c: Likewise. * nscd/hstcache.c: Likewise. * nscd/nscd_conf.c: Likewise. * nscd/nscd_stat.c: Likewise. * nscd/pwdcache.c: Likewise. * posix/id.c: Likewise. * resolv/herror.c: Likewise. * stdio-common/psignal.c: Likewise. * string/strsignal.c: Likewise. * sunrpc/auth_unix.c: Likewise. * sunrpc/clnt_perr.c: Likewise. * sunrpc/clnt_raw.c: Likewise. * sunrpc/clnt_tcp.c: Likewise. * sunrpc/clnt_udp.c: Likewise. * sunrpc/clnt_unix.c: Likewise. * sunrpc/get_myaddr.c: Likewise. * sunrpc/pm_getmaps.c: Likewise. * sunrpc/pmap_clnt.c: Likewise. * sunrpc/pmap_rmt.c: Likewise. * sunrpc/rpc_main.c: Likewise. * sunrpc/rpc_scan.c: Likewise. * sunrpc/svc_run.c: Likewise. * sunrpc/svc_simple.c: Likewise. * sunrpc/svc_tcp.c: Likewise. * sunrpc/svc_udp.c: Likewise. * sunrpc/svc_unix.c: Likewise. * sunrpc/xdr_rec.c: Likewise. * sunrpc/xdr_ref.c: Likewise. * sysdeps/mach/hurd/mips/dl-machine.c: Likewise. * sysdeps/posix/gai_strerror.c: Likewise. * sysdeps/unix/siglist.c: Likewise. * sysdeps/unix/sysv/linux/siglist.c: Likewise. * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise. * sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Likewise. * timezone/zic.c: Likewise.
* * Makeconfig (static-start-installed-name): Set toRoland McGrath1999-06-131-0/+3
| | | | | | | | | | $(start-installed-name) if not defined. (+link-static): Use $(static-start-installed-name) instead of $(start-installed-name). * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name): Set to crt0.o. 1999-06-12 Mark Kettenis <kettenis@gnu.org>
* 1999-06-12 Mark Kettenis <kettenis@gnu.org> Roland McGrath1999-06-131-3/+2
| | | | | | * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when inserting a send right into the child instead of unconditionally copying the send right.
* Update.Ulrich Drepper1999-06-081-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gmon/gmon.c: Remove advertising clause of copyright. * gmon/mcount.c: Likewise. * gmon/sys/gmon.h: Likewise. * inet/arpa/ftp.h: Likewise. * inet/arpa/telnet.h: Likewise. * inet/arpa/tftp.h: Likewise. * inet/inet_lnaof.c: Likewise. * inet/inet_mkadr.c: Likewise. * inet/inet_net.c: Likewise. * inet/inet_netof.c: Likewise. * inet/protocols/routed.h: Likewise. * inet/protocols/rwhod.h: Likewise. * inet/protocols/talkd.h: Likewise. * inet/protocols/timed.h: Likewise. * inet/rcmd.c: Likewise. * inet/rexec.c: Likewise. * inet/ruserpass.c: Likewise. * io/fts.c: Likewise. * io/fts.h: Likewise. * login/login_tty.c: Likewise. * misc/fstab.h: Likewise. * misc/getttyent.c: Likewise. * misc/getusershell.c: Likewise. * misc/sys/queue.h: Likewise. * misc/sys/syslog.h: Likewise. * misc/syslog.c: Likewise. * misc/ttyent.h: Likewise. * misc/ttyslot.c: Likewise. * resolv/arpa/nameser.h: Likewise. * resolv/gethnamaddr.c: Likewise. * resolv/herror.c: Likewise. * resolv/inet_addr.c: Likewise. * resolv/mapv4v6addr.h: Likewise. * resolv/mapv4v6hostent.h: Likewise * resolv/nss_dns/dns-host.c: Likewise. * resolv/nss_dns/dns-network.c: Likewise. * resolv/res_comp.c: Likewise. * resolv/res_data.c: Likewise. * resolv/res_debug.c: Likewise. * resolv/res_init.c: Likewise. * resolv/res_mkquery.c: Likewise. * resolv/res_query.c: Likewise. * resolv/res_send.c: Likewise. * resolv/resolv.h: Likewise. * sysdeps/generic/div.c: Likewise. * sysdeps/generic/netinet/ip.h: Likewise. * sysdeps/generic/netinet/tcp.h: Likewise. * sysdeps/generic/paths.h: Likewise. * sysdeps/generic/prof-freq.c: Likewise. * sysdeps/generic/sys/ttydefaults.h: Likewise. * sysdeps/gnu/netinet/ip_icmp.h: Likewise. * sysdeps/gnu/netinet/tcp.h: Likewise. * sysdeps/ieee754/support.c: Likewise. * sysdeps/mach/hurd/sys/param.h: Likewise. * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Likewise. * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise. * sysdeps/unix/bsd/sun/sunos4/sys/ttydefaults.h: Likewise. * sysdeps/unix/bsd/sys/reboot.h: Likewise. * sysdeps/unix/sysv/linux/netinet/if_ether.h: Likewise. * sysdeps/unix/sysv/linux/netinet/igmp.h: Likewise. * sysdeps/unix/sysv/linux/netinet/ip.h: Likewise. * sysdeps/unix/sysv/linux/paths.h: Likewise. * sysdeps/unix/sysv/linux/sys/quota.h: Likewise. * sysdeps/unix/sysv/linux/sys/ttydefaults.h: Likewise. * sysdeps/vax/DEFS.h: Likewise. * termios/sys/ttychars.h: Likewise. * misc/daemon.c: Likewise. Call fork.
* 1999-04-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-04-281-28/+7
| | | | | | * sysdeps/mach/hurd/getdents.c (__getdirentries): Remove implementation and just always fail with ENOSYS. This entry point is obsolete. Add link warning to that effect.
* 1999-04-10 Mark Kettenis <kettenis@gnu.org> Roland McGrath1999-04-101-1/+2
| | | | * sysdeps/mach/hurd/Dist: Add clk_tck.c.
* 1999-03-26 Mark Kettenis <kettenis@gnu.org> Roland McGrath1999-04-061-2/+0
| | | | | | | | | | | * sysdeps/mach/hurd/bits/time.h: New file. * sysdeps/mach/hurd/getrusage.c: New file. * sysdeps/mach/hurd/clk_tck.c: New file. * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck. * sysdeps/mach/hurd/Makefile [$(subdir) = posix] (sysdep_routines): Add clk_tck. * sysdeps/mach/hurd/times.c: Removed, since getrusage is now implemented.
* 1999-03-26 Mark Kettenis <kettenis@gnu.org> Roland McGrath1999-04-055-0/+190
| | | | | | | | | | | * sysdeps/mach/hurd/bits/time.h: New file. * sysdeps/mach/hurd/getrusage.c: New file. * sysdeps/mach/hurd/clk_tck.c: New file. * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck. * sysdeps/mach/hurd/Makefile [$(subdir) = posix] (sysdep_routines): Add clk_tck. * sysdeps/mach/hurd/times.c: Removed, since getrusage is now implemented.
* 1999-03-26 Mark Kettenis <kettenis@gnu.org> Roland McGrath1999-03-261-1/+4
| | | | | * sysdeps/mach/hurd/Makefile: Only install libc_p.a linker script if we build the profiled library.
* Thu Mar 25 23:57:57 1999 Roland McGrath <roland@yaumatei.ai.mit.edu>Roland McGrath1999-03-251-0/+7
| | | | | | * sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu] (CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START. This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
* 1999-03-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-03-231-1/+10
| | | | | | | | | | | | * sysdeps/mach/hurd/Makefile: Undo last change. [$(subdir) = mach] (lib-noranlib): Depend on libmachuser-link.so. [$(subdir) = hurd] (lib-noranlib): Depend on libhurduser-link.so. * mach/Machrules (+preinit, +postinit, +interp, LDFLAGS-$(interface.so)): Variables removed. Interface libraries get linked just like other shared libraries. (interface.so): Fix typo in defn, so it works. ($(objpfx)$(interface.so)): Make it depend on libc.so.
* 1999-03-21 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-03-231-1/+1
| | | | | * sysdeps/mach/hurd/Makefile (subdir_lib): Depend on $(link-rpcuserlibs).
* 1999-03-19 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-03-193-6/+135
| | | | | | | | * sysdeps/mach/hurd/fcntl.c (__fcntl: case F_GETLK,F_SETLK,F_SETLKW): Support whole-file locking (only) by using the file_lock RPC. This has very wrong semantics, but is better than nothing for the time being. (Correct POSIX.1 locking will require new RPCs in the Hurd protocols that will be somewhat hairy to specify.)
* * sysdeps/mach/hurd/Versions (ld.so) [GLIBC_2.0]: AddRoland McGrath1999-03-151-0/+15
| | | | | | | | | | __hurd_sigthread_stack_base, __hurd_sigthread_stack_end, __hurd_sigthread_variables, __hurd_threadvar_stack_mask, __hurd_threadvar_stack_offset, __close, __fxstat, __getcwd, __getpid, __libc_read, __libc_write, __lseek, __mmap, __open, __xstat, _exit, _hurd_intr_rpc_mach_msg and abort. 1999-03-15 Mark Kettenis <kettenis@gnu.org>
* 1999-03-15 Mark Kettenis <kettenis@gnu.org>Roland McGrath1999-03-151-31/+38
| | | | | | | | | * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to _hurd_select if TIMEMOUT is -1. 1999-03-15 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/recvfrom.c (recvfrom): Allow ADDR to be NULL.
* 1999-03-15 Mark Kettenis <kettenis@gnu.org> Roland McGrath1999-03-151-1/+1
| | | | | * sysdeps/mach/hurd/poll.c (__poll): Correctly pass NULL to _hurd_select if TIMEMOUT is -1.
* 1999-03-09 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-03-081-33/+42
| | | | | | | * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the arguments into the request message buffer inside `send_rpc' subfunction. We must repeat the marshalling when retrying the RPC after a SIGTTOU delivery.
* 1999-03-03 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-03-031-1/+4
| | | | | | | | | | | | * sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros. * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set, set O_NOTRANS as well. (__hurd_file_name_lookup_retry): At successful end of lookup, if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if it is a translated node not owned by root. (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash on the file name passed to LOOKUP.
* 1999-02-28 Mark Kettenis <kettenis@gnu.org> Roland McGrath1999-02-285-30/+30
| | | | | | | | | | | * sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the actual length if the adress length is smaller than the input value. Change type of *LEN paramater to socklen_t. * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise. * sysdeps/mach/hurd/accept.c (accept): Likewise. * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise. * sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN paramater to socklen_t.
* 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-02-273-48/+9
| | | | | | | | | | | | | | | | * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs, __get_phys_pages): Cast &HBI to silence warning. * hurd/Makefile (routines): Add hurdchdir and hurdfchdir. * hurd/hurdchdir.c: New file. * hurd/hurdfchdir.c: New file. * sysdeps/mach/hurd/chroot.c: Call _hurd_change_directory_port_from_name to do the work. * sysdeps/mach/hurd/chdir.c: Likewise. * sysdeps/mach/hurd/fchdir.c: Call _hurd_change_directory_port_from_fd to do the work. * hurd/fchroot.c: Likewise. * hurd/hurd.h: Declare them.
* 1999-02-27 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-02-271-4/+7
| | | | | * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs, __get_phys_pages): Cast &HBI to silence warning.
* 1999-02-16 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-02-161-0/+40
| | | | * sysdeps/mach/hurd/revoke.c: New file.
* 1999-02-10 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-02-151-5/+1
| | | | | * sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on the "unused" ends of the sockets. Let pipes be bidirectional.
* Update.Ulrich Drepper1999-02-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1999-02-07 Ulrich Drepper <drepper@cygnus.com> * Versions.def: New version GLIBC_2.1.1 for libc. * stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1. * stdlib/labs.c: Moved to... * sysdeps/generic/labs.c: ...here. * stdlib/llabs.c: Moved to... * sysdeps/generic/llabs.c: ...here. * stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other header. Declare _Exit. * sysdeps/generic/_exit.c: Add alias _Exit. * sysdeps/mach/hurd/_exit.c: Likewise. * sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise. * sysdeps/standalone/i960/nindy960/_exit.c: Likewise. * sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise. * sysdeps/unix/_exit.c: Likewise. * sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare imaxdiv and imaxabs. Declare lldiv_t if necessary. * sysdeps/wordsize-64/inttypes.h: Likewise. * sysdeps/wordsize-32/llabs.c: New file. * sysdeps/wordsize-32/lldiv.c: New file. * sysdeps/wordsize-64/labs.c: New file. * sysdeps/wordsize-64/ldiv.c: New file. * manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv. * manual/startup.texi: Document _Exit. 1999-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de> * nscd/cache.c: Include <arpa/inet.h> for inet_ntop.
* 1999-02-03 Mark Kettenis <kettenis@gnu.org> Roland McGrath1999-02-031-5/+16
| | | | * sysdeps/mach/hurd/utimes.c (__utimes): Deal with TVP being NULL.
* 1999-01-31 Mark Kettenis <kettenis@phys.uva.nl> Roland McGrath1999-02-021-0/+2
| | | | * sysdeps/mach/hurd/times.c: New file.
* 1999-01-24 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-01-251-12/+4
| | | | | * sysdeps/mach/hurd/ioctl.c: Include <hurd/ioctls.defs>. (__ioctl): Use IOC_MSGID macro.
* 1999-01-23 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-01-241-4/+10
| | | | | | | | | | | | * sysdeps/unix/sysv/linux/sys/mtio.h: Moved to... * sysdeps/gnu/sys/mtio.h: ...here. (_IOT_mtop, _IOT_mtget, _IOT_mtpos, _IOT_mtconfiginfo): New macros. * sysdeps/gnu/Dist: Add sys/mtio.h. * sysdeps/unix/sysv/linux/Dist: Remove sys/mtio.h. * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc] (sysdep_headers): Don't add sys/mtio.h here. * sysdeps/gnu/Makefile [$(subdir) = misc] (sysdep_headers): Add it here instead.
* 1999-01-23 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-01-241-54/+66
| | | | | | | | | | | Revamp Hurd ioctl typing magic to handle `struct' keyword in the ioctl command macros, so we can use Unix-compatible headers that make use of the _IO* macros. * sysdeps/mach/hurd/bits/ioctls.h (_IOC_ENCODE_TYPE, _IOC_ENCODE_TYPE_1, _IOC_ENCODE_TYPE_2, _IOTBASE_struct): New macros. (_IOR, _IOW, _IOWR): Use them _IOC_ENCODE_TYPE(t) instead of _IOT_##t. (_IOT_int, _IOT_char, _IOT_short): Renamed to _IOT__IOTBASE_*. (numerous ioctl command macros): Restore `struct' keyword.
* * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Depend onRoland McGrath1999-01-212-1/+81
| | | | $(common-objpfx)errnos.d.
* 1999-01-22 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-01-212-101/+22
| | | | | | | * sysdeps/mach/hurd/Makefile: Fix errnos.h -> bits/errno.h in rules. * manual/errno.texi (Error Codes): Fix ENOSYS description. Add ENOTSUP.
* Update.Ulrich Drepper1999-01-211-5/+2
| | | | | | | | | | | * sysdeps/unix/sysv/linux/sys/sysmacros.h: Pretty print. * sysdeps/unix/sysv/linux/Dist: Remove sys/sysmacros.h. * sysdeps/unix/sysv/linux/Makefile: Remove sys/sysmacros.h. * posix/Makefile (headers): Add sys/sysmacros.h. * posix/sys/types.h: Include sys/sysmacros.h for __USE_BSD. * sysdeps/generic/sys/sysmacros.h: New file. * sysdeps/mach/hurd/xmknod.c: Include sys/types.h and remove minor and major definition.
* 1998-12-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-12-273-0/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64): Remove __ from member names; rename __unused to f_spare. 1998-12-21 Mark Kettenis <kettenis@phys.uva.nl> Implement fstatvfs and statvfs on the Hurd. * sysdeps/mach/hurd/bits/statfs.h: New file. * sysdeps/mach/hurd/bits/statvfs.h: New file. * sysdeps/mach/hurd/fstatvfs.c: New file. * sysdeps/mach/hurd/statvfs.c: New file. * sysdeps/generic/fstatfs64.c: Changed into stub. Moved previous contents to... * sysdeps/unix/sysv/linux/fstatfs64.c: ...here. * sysdeps/generic/fstatvfs64.c: Likewise. * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise. * sysdeps/generic/statfs64.c: Likewise. * sysdeps/unix/sysv/linux/statfs64.c: Likewise. * sysdeps/generic/statvfs64.c: Likewise. * sysdeps/unix/sysv/linux/statvfs64.c: Likewise. 1998-12-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * sunrpc/key_call.c (getkeyserv_handle): Use __fcntl instead of 1998-12-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * locale/weight.h (get_weight): Extract string elements as unsigned values.
* 1998-12-27 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1998-12-271-0/+84
| | | | | | | | | | * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64): Remove __ from member names; rename __unused to f_spare. 1998-12-21 Mark Kettenis <kettenis@phys.uva.nl> Implement fstatvfs and statfs on the Hurd. * sysdeps/mach/hurd/bits/statfs.h: New file. * sysdeps/mach/hurd/bits/statvfs.h: New file. * sysdeps/mach/hurd/fstatvfs.c: New file. * sysdeps/mach/hurd/statvfs.c: New file.
* 1998-12-06 Mark Kettenis <kettenis@phys.uva.nl>Roland McGrath1998-12-203-175/+0
| | | | | | | | | | | | | | | | | Reverse the change of 1998-04-22. Providing a struct dirent with different members when __USE_FILE_OFFSET64 is defined is asking for trouble. Instead add the necessary LFS magic to the 4.4BSD header. * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Add LFS definitions. * sysdeps/mach/hurd/bits/dirent.h: Removed. * sysdeps/mach/hurd/readdir64.c: Removed. * sysdeps/mach/hurd/readdir64_r.c: Removed. * sysdeps/generic/bits/mman.h [__USE_MISC] (MAP_ANONYMOUS): Define as alias for MAP_ANON. * stdio/stdio.h (sys_errlist, sys_nerr, _sys_errlist, _sys_nerr): Remove decls. They don't exist at all on the Hurd.
* 1998-12-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-12-201-3/+0
| | | | | | | | | | * sunrpc/svc_unix.c, sunrpc/clnt_unix.c: Avoid using `struct cmsghdr' and `struct ucred' #ifndef SCM_CREDENTIALS. * sunrpc/publickey.c (getsecretkey): Use `&errno' instead of `__errno_location ()'; means the same, works for Hurd. * sysdeps/mach/hurd/Makefile (subdirs): Don't elide sunrpc.
* 1998-12-16 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1998-12-161-3/+5
| | | | | | * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Define this #ifdef __USE_BSD as well as #ifdef __USE_GNU, so MAXSYMLINKS can use it. Reported by UCHIYAMA Yasushi <uch@nop.or.jp>
* 1998-12-05 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-12-062-299/+53
| | | | | | | | | | | | | | | | | | | * sysdeps/mach/hurd/pselect.c: New file. * sysdeps/mach/hurd/poll.c: New file. * hurd/Makefile (routines): Add hurdselect. * hurd/hurdselect.c: New file. (_hurd_select): New function, guts taken from ... * sysdeps/mach/hurd/select.c (__select): ... here. Now work by just calling _hurd_select. * hurd/hurd/fd.h: Declare _hurd_select. 1998-12-05 Roland McGrath <roland@baalperazim.frob.com> * time/strptime.c: Fix unterminated comment in last change. * argp/argp.h: Add __restrict.
* 1998-12-05 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1998-12-061-0/+50
| | | | * sysdeps/mach/hurd/poll.c: New file.
* Update.Ulrich Drepper1998-12-011-0/+1
| | | | | | | | | | | | 1998-12-01 Ulrich Drepper <drepper@cygnus.com> * version.h (VERSION): Bump to 2.0.105. * sysdeps/generic/Dist: Add bits/libc-tsd.h. * sysdeps/mach/hurd/Dist: Add bits/libc-tsd.h. * sysdeps/unix/sysv/linux/mips/Dist: Add xstatconv.c.
* Update.Ulrich Drepper1998-11-301-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de> * nscd/nscd_getpw_r.c: Include nscd_proto.h for prototypes. * sysdeps/generic/errno-loc.c: Include <errno.h> for prototype, undefine errno to get variable. * sysdeps/unix/sysv/linux/i386/setfsuid.c: Include <sys/fsuid.h> instead of <unistd.h> for prototype. * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise. 1998-11-30 Ulrich Drepper <drepper@cygnus.com> * misc/err.h: Correct comments and use protected attribute keywords. Reported by Joseph Myers <jsm28@cam.ac.uk>. 1998-11-29 Roland McGrath <roland@baalperazim.frob.com> * malloc/thread-m.h [_LIBC]: Include <bits/libc-tsd.h>, and remove tsd stuff from pthreads/cthreads libc sections. Use __libc_tsd_define for MALLOC key. [_LIBC] (tsd_key_t, tsd_key_create): Define to a zero-size type and a no-op, respectively. [_LIBC] (tsd_setspecific, tsd_getspecific): Use __libc_tsd_get/set. * elf/dl-error.c: Include <bits/libc-tsd.h>. Use __libc_tsd_define for DL_ERROR key. (tsd_setspecific, tsd_getspecific): Rewritten using __libc_tsd_get/set. * sysdeps/mach/hurd/bits/libc-tsd.h: New file. * sysdeps/generic/bits/libc-tsd.h: New file. * Makefile (distribute): Add bits/libc-tsd.h. 1998-10-12 Roland McGrath <roland@baalperazim.frob.com> * elf/dl-error.c: Remove kludge to check for ld.so load address. There is no need if weak undefined symbols are not used in ld.so; see linuxthreads/ChangeLog for changes to files linuxthreads/sysdeps/pthread/bits/libc-lock.h and linuxthreads/sysdeps/pthread/bits/libc-tsd.h. 1998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/i386/bits/string.h (__memset_cc): Fix typo (s->__s). * sysdeps/i386/i486/bits/string.h: Add prototypes for all new inline functions. * sysdeps/i386/bits/string.h: Likewise. 1998-11-30 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Remove ipc_kludge. 1998-11-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * db2/progs/db_load/db_load.c (main): Avoid -Wparentheses warning.
* * sysdeps/mach/hurd/dl-sysdep.c: Do not defineRoland McGrath1998-11-291-34/+35
| | | | | | | | | | | | | | | | __hurd_threadvar_max. Add comment explaining why we define __hurd_threadvar_stack_offset and __hurd_threadvar_stack_mask here. 1998-07-29 Mark Kettenis <kettenis@phys.uva.nl> * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base, __hurd_sigthread_stack_end, __hurd_sigthread_variables): Define to prevent inclusion of Hurd signal handling code. (__libc_write): New function. (_dl_sysdep_output): Removed. The implementation in `elf/dl-misc.c' now also works for the Hurd. 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>
* 1998-11-25 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-11-251-126/+124
| | | | | | | | * sysdeps/mach/hurd/i386/init-first.c (init): Restored as inline fn. Use constant _HURD_THREADVARS_MAX for temporary array size. * Makeconfig ($(common-objpfx)sysd-sorted): Use @ instead of / as sed s separator, since $(..) might contain a /.
* 1998-11-22 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1998-11-221-109/+126
| | | | | | | | | | | | * sysdeps/mach/hurd/i386/init-first.c (init): Provide temporary storage for the per-thread variables of the main user thread to make it possible to use malloc as soon as _hurd_preinit_hook has been run. For cthreads, copy values to new stack from there. For non-cthreads, malloc threadvar array here and copy from temp space. (init1): No longer initialize threadvars here. (doinit1): Made static void at top level. (init): Folded into [PIC] _init or [!PIC] doinit1, since GCC cannot inline a function that uses dynamic auto arrays.
* 1998-10-26 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-10-261-0/+4
| | | | | | | | | | | | | | | | | * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize, _hurd_dtable_lock, _hurd_intern_fd. * sysdeps/mach/hurd/Versions: Add cthread_keycreate, cthread_getspecific, cthread_setspecific, __libc_getspecific. * mach/Versions: Fix typo in last change. __mach_port_insert_right __mutex_trylock, __mutex_lock, __mutex_unlock, __swtch, __switch, __task_create, __task_suspend, __task_set_special_port, __task_terminate, __thread_depress_abort, __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These functions are not used outside libc.
* 1998-10-24 Mark Kettenis <kettenis@phys.uva.nl>Roland McGrath1998-10-252-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mach/Versions: Add evc_wait, mach_error, mach_error_string, mach_error_type, mach_msg_destroy, mig_deallocate_reply_port. Remove __mach_host_self, __mach_reply_port, __mach_setup_thread, __mach_port_allocate, __mach_port_allocate_name, __mach_port_deallocate, __mach_port_insert_right, __mutex_init, __mutex_trylock, __mutex_lock, __mutex_unlock, __swtch, __switch, __task_create, __task_suspend, __task_set_special_port, __task_terminate, __thread_depress_abort, __thread_switch, __vm_allocate, __vm_deallocate, __vm_map. These functions are not used outside libc. * sysdeps/mach/hurd/Versions: New file. [libc, GLIBC_2.0]: Add _cthread_exit_routine and _cthread_init_routine. These are set by the Hurd cthreads library. Add __getcwd, __mmap. If we don't add these, the weak definitions in the dynamic linker will not be replaced by the corresponding shared library routines once they are loaded. 1998-10-21 Mark Kettenis <kettenis@phys.uva.nl> * sysdeps/mach/hurd/i386/init-first.c: Only define __libc_enable_secure if PIC is not defined. 1998-10-25 Roland McGrath <roland@baalperazim.frob.com> * argp/Versions: Add _argp_unlock_xxx. Lock-savvy functions call this to recurse into argp.
* Update.Ulrich Drepper1998-10-241-32/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1998-10-24 H.J. Lu <hjl@gnu.org> * time/tzfile.c (__tzfile_default): Set num_types to 2. 1998-10-23 Andreas Jaeger <aj@arthur.rhein-neckar.de> * rt/aio.h: Move __aio_init to... * include/aio.h: ...here. 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove duplicate definition of O_LARGEFILE. 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Use path as first argument to statfs. 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/generic/setenv.c (setenv): Add braces around ambiguous else. 1998-10-24 Andreas Jaeger <aj@arthur.rhein-neckar.de> * malloc/mtrace.c: Include <string.h> for strlen.
* Description for supported environments for Hurd/i386.Ulrich Drepper1998-10-241-0/+32
|
* 1998-10-24 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1998-10-241-0/+32
| | | | * sysdeps/mach/hurd/bits/environments.h: New file.
* 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-10-241-8/+14
| | | | | | | | | | | * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function. * mach/Versions, hurd/Versions: Add numerous symbols. Remove libmachuser and libhurduser sections, punt versioning for those libraries for now. * misc/Versions: Add reboot here; it exists on all platforms. * sysdeps/unix/sysv/linux/Versions: Remove reboot here.